File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 41
41
. Get RC: `kubectl.sh get rc`
42
42
. Get pods: `kubectl.sh get pods`
43
43
.. Show pod names
44
+ .. Show image id downloaded on the second host
44
45
. Get pods created by RC: `kubectl.sh describe pods wildfly-rc`
45
46
. Get pods with a specified label: `kubectl.sh get pods -l name=wildfly`
47
+ . Delete RC: `kubectl.sh delete rc wildfly-rc`
46
48
47
49
=== Service
48
50
@@ -60,10 +62,13 @@ All the code is in `maven` directory:
60
62
. Check status: `kubectl.sh get -w pods`
61
63
. Run application: `kubectl.sh create -f bootiful-couchbase.yml`
62
64
. Check status: `kubectl.sh get -w pods`
65
+ .. Show `ContainerCreating`
63
66
. Check logs: `kubectl.sh logs -f bootiful-couchbase` to show the output `Book{isbn=978-1-4919-1889-0, name=Minecraft Modding with Forge, cost=29.99}`
64
67
65
68
== Rolling Updates
66
69
70
+ All code in `rolling-update` directory:
71
+
67
72
https://github.com/arun-gupta/kubernetes-java-sample/tree/master/rolling-update
68
73
69
74
== Namespaces
@@ -88,7 +93,7 @@ https://github.com/arun-gupta/kubernetes-java-sample/tree/master/rolling-update
88
93
. Create a job: `kubectl.sh create -f runonce-job.yaml`
89
94
. Check jobs: `kubectl.sh get jobs`
90
95
. More details about job: `kubectl.sh describe jobs wait`
91
- . Check pods: `kubectl.get pods`
96
+ . Check pods: `kubectl.sh get pods`
92
97
. Show all completed pods: `kubectl.sh get pods --show-all`
93
98
94
99
== Couchbase Cluster
You can’t perform that action at this time.
0 commit comments