-
-
Save krotkiewicz/cf4ca98077fe1018dc520fff03c430f4 to your computer and use it in GitHub Desktop.
3.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@node $ kubectl scale deploy nginx --replicas=6 | |
root@node $ kubectl get pods -o=wide | |
NAME READY STATUS RESTARTS AGE IP NODE | |
nginx 1/1 Running 0 1h 172.17.0.3 node | |
nginx-31893996-3dnx7 1/1 Running 0 1h 172.17.0.5 node | |
nginx-31893996-5d1ts 1/1 Running 0 1h 172.17.0.6 node | |
nginx-31893996-5xnhc 1/1 Running 0 17s 172.17.0.2 node2 | |
nginx-31893996-9k93w 1/1 Running 0 1h 172.17.0.4 node | |
nginx-31893996-lfrzl 1/1 Running 0 17s 172.17.0.4 node2 | |
nginx-31893996-q99cp 1/1 Running 0 17s 172.17.0.3 node2 | |
nginx2 1/1 Running 0 1h 172.17.0.2 node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment