Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 11, 2020 05:49
Show Gist options
  • Save velotiotech/bfc23cf2f6101851ad6a6e05de2b567a to your computer and use it in GitHub Desktop.
Save velotiotech/bfc23cf2f6101851ad6a6e05de2b567a to your computer and use it in GitHub Desktop.
[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