Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[root@master-1 centos]# kubectl create -f nginx.yaml
deployment.apps "nginx-deployment" created
[root@master-1 centos]# kubectl get pods -o wide
NAME READY STATUS RESTARTS AGE IP NODE
nginx-deployment-75675f5897-884kc 1/1 Running 0 10s 10.117.113.98 master-2
nginx-deployment-75675f5897-crgxt 1/1 Running 0 10s 10.117.113.2 master-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.