File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -463,7 +463,7 @@ Notes:
463463## Test feed and query endpoints
464464Feed 5 documents, using the document-API endpoint in the _feed_ container cluster, here mapped to 8080/8081:
465465<pre data-test="exec">
466- $ i=0; (for doc in $(ls ../../../album-recommendation/ext /*.json); \
466+ $ i=0; (for doc in $(ls ../../../album-recommendation/dataset /*.json); \
467467 do \
468468 curl -H Content-Type:application/json -d @$doc \
469469 http://localhost:8080/document/v1/mynamespace/music/docid/$i; \
@@ -745,7 +745,7 @@ export VESPA_CLI_DATA_PLANE_KEY_FILE=pki/client/client.key
745745```
746746Feed documents:
747747```
748- vespa feed -t https://localhost:8443 ../../../album-recommendation/ext /documents.jsonl
748+ vespa feed -t https://localhost:8443 ../../../album-recommendation/dataset /documents.jsonl
749749```
750750Visit documents:
751751```
@@ -762,7 +762,7 @@ Note that the _feed_ and _query_ container cluster nodes are mapped to 8443 and
762762## Test feed and query endpoints using curl
763763Feed 5 documents, using the document-API endpoint in the _feed_ container cluster, here mapped to 8080/8081:
764764<pre data-test="exec">
765- $ i=0; (for doc in $(ls ../../../album-recommendation/ext /*.json); do \
765+ $ i=0; (for doc in $(ls ../../../album-recommendation/dataset /*.json); do \
766766 curl -s --key pki/client/client.key --cert pki/client/client.pem --cacert pki/vespa/ca-vespa.pem \
767767 -H Content-Type:application/json -d @$doc \
768768 https://localhost:8443/document/v1/mynamespace/music/docid/$i; \
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ gcloud container clusters create vespa \
4848 --num-nodes=3 \
4949 --machine-type=n1-standard-2 \
5050 --disk-size=20
51-
51+
5252gcloud container clusters get-credentials vespa
5353```
5454This is a minimum-configuration to start the multinode-HA application on GKE.
@@ -207,7 +207,7 @@ Feed data to the feed endpoint:
207207kubectl port-forward svc/vespa-feed 8080
208208```
209209```
210- i=0; (for doc in $(ls ../../../../album-recommendation/ext /*.json); \
210+ i=0; (for doc in $(ls ../../../../album-recommendation/dataset /*.json); \
211211 do \
212212 curl -H Content-Type:application/json -d @$doc \
213213 http://localhost:8080/document/v1/mynamespace/music/docid/$i; \
Original file line number Diff line number Diff line change @@ -148,9 +148,9 @@ Check that this works:
148148$ curl http://localhost:19050/clustercontroller-status/v1/music
149149</pre >
150150Then open these in a browser:
151- * http://localhost:19050/clustercontroller-status/v1/music
152- * http://localhost:19051/clustercontroller-status/v1/music
153- * http://localhost:19052/clustercontroller-status/v1/music
151+ * http://localhost:19050/clustercontroller-status/v1/music
152+ * http://localhost:19051/clustercontroller-status/v1/music
153+ * http://localhost:19052/clustercontroller-status/v1/music
154154
1551550 is normally master, 1 is next (and hence has an overview table), 2 is cold.
156156
@@ -246,7 +246,7 @@ see [troubleshooting](/examples/operations/README.md#troubleshooting).
246246## Feed data, check distribution
247247Make sure the three nodes are started and up - then feed 5 documents:
248248<pre data-test =" exec " data-test-wait-for =" id:mynamespace:music::4 " >
249- $ i=0; (for doc in $(ls ../../../album-recommendation/ext /*.json); \
249+ $ i=0; (for doc in $(ls ../../../album-recommendation/dataset /*.json); \
250250 do \
251251 curl -H Content-Type:application/json -d @$doc \
252252 http://localhost:8080/document/v1/mynamespace/music/docid/$i; \
You can’t perform that action at this time.
0 commit comments