@@ -637,7 +637,7 @@ Creating and using a persistent volume is a three step process:
637637
638638. Create persistent volume:
639639+
640- ```
640+ `` `console
641641./cluster/kubectl.sh create -f ~/workspaces/docker-java/attendees/kubernetes/couchbase-pv.yaml
642642persistentvolume "pv001" created
643643```
@@ -685,7 +685,7 @@ vagrant ssh minion-1
685685. Get container id of the Couchbase server:
686686+
687687`` `console
688- [vagrant@kubernetes-minion-1 ~]$ sudo docker ps | grep couchbase/server | awk '{ print $1 }'
688+ sudo docker ps | grep couchbase/server | awk '{ print $1 }'
689689a9ce3308b43f
690690```
691691+
@@ -706,9 +706,48 @@ SUCCESS: init/edit localhost
706706. Install travel-sample bucket:
707707+
708708`` `console
709+ curl -v -u Administrator:password -X POST http://localhost:8091/sampleBuckets/install -d '["travel-sample"]'
710+ * Trying ::1...
711+ * connect to ::1 port 8091 failed: Connection refused
712+ * Trying 127.0.0.1...
713+ * Connected to localhost (127.0.0.1) port 8091 (#0)
714+ * Server auth using Basic with user 'Administrator'
715+ > POST /sampleBuckets/install HTTP/1.1
716+ > Authorization: Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==
717+ > User-Agent: curl/7.40.0-DEV
718+ > Host: localhost:8091
719+ > Accept: */*
720+ > Content-Length: 17
721+ > Content-Type: application/x-www-form-urlencoded
722+ >
723+ * upload completely sent off: 17 out of 17 bytes
724+ < HTTP/1.1 202 Accepted
725+ < Server: Couchbase Server
726+ < Pragma: no-cache
727+ < Date: Mon, 23 Nov 2015 04:31:22 GMT
728+ < Content-Type: application/json
729+ < Content-Length: 2
730+ < Cache-Control: no-cache
731+ <
732+ * Connection #0 to host localhost left intact
733+ ```
734+ +
735+ . Querying using `cbq` gives error:
736+ +
737+ `` `console
738+ {
739+ "code": 4000,
740+ "msg": "No primary index on keyspace travel-sample. Use CREATE PRIMARY INDEX to create one."
741+ }
742+ ```
743+ +
744+ Create an index on `travel-sample` bucket:
745+ +
746+ `` `console
709747TBD
710748```
711749
750+
712751#### Add a new Couchbase server to the cluster
713752
714753. Scale using RC
0 commit comments