Skip to content

Commit 6413bbc

Browse files
committed
replicaset
1 parent 182f968 commit 6413bbc

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

documentation/modules/ROOT/pages/kubectl.adoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,22 @@ REVISION CHANGE-CAUSE
268268
2 Restoring to old SpringBoot version
269269
----
270270

271+
List the ReplicaSets for the deployment:
272+
273+
[.console-input]
274+
[source,bash,subs="+macros,+attributes"]
275+
----
276+
kubectl get rs
277+
----
278+
279+
[.console-output]
280+
[source,bash,subs="+macros,+attributes"]
281+
----
282+
NAME DESIRED CURRENT READY AGE
283+
myapp-65c9d96df4 3 3 3 2m
284+
myapp-67fc4b6f94 0 0 0 8m
285+
----
286+
271287
Revert to the most recent successful version (e.g., from Revision 2 back to Revision 1), use the undo command:
272288

273289
[.console-input]

0 commit comments

Comments
 (0)