Skip to content

Commit 2916e65

Browse files
committed
adding steps to run service
1 parent 3a5c9b1 commit 2916e65

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

chapters/docker-kubernetes.adoc

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ persistentvolume "pv0001" created
646646
+
647647
```console
648648
./cluster/kubectl.sh create -f ~/workspaces/docker-java/attendees/kubernetes/couchbase-pvc.yaml
649-
persistentvolumeclaim "myclaim-1" created
649+
persistentvolumeclaim "pvc001" created
650650
```
651651
+
652652
. Start the Couchbase Replication Controller (claim is used in Pod's definition):
@@ -655,6 +655,23 @@ persistentvolumeclaim "myclaim-1" created
655655
./cluster/kubectl.sh create -f ~/workspaces/docker-java/attendees/kubernetes/couchbase-rc.yaml
656656
replicationcontroller "couchbase-rc" created
657657
```
658+
+
659+
Check status of Replication Controller:
660+
+
661+
```console
662+
./cluster/kubectl.sh get -w po
663+
NAME READY STATUS RESTARTS AGE
664+
couchbase-rc-8d9cn 0/1 ImageNotReady 0 5m
665+
```
666+
+
667+
Wait for the status to change from "`ImageNotReady`" to "`TBD`".
668+
+
669+
. Start Couchbase Service:
670+
+
671+
```console
672+
./cluster/kubectl.sh create -f ~/workspaces/docker-java/attendees/kubernetes/couchbase-service.yaml
673+
service "couchbase-service" created
674+
```
658675

659676
### Application Logs
660677

0 commit comments

Comments
 (0)