Last active
February 4, 2020 06:06
-
-
Save ihcsim/3b4af1d43906feb734013c3e2492a1bf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| $ kubectl version --short | |
| Client Version: v1.15.0 | |
| Server Version: v1.15.3 | |
| $ kubectl run nginx --image=nginx --port=80 --generator=run-pod/v1 | |
| pod/nginx created | |
| $ kubectl get po | |
| NAME READY STATUS RESTARTS AGE | |
| nginx 1/1 Running 0 6s | |
| $ kubectl exec nginx -- date | |
| Sat Jan 25 18:47:52 UTC 2020 | |
| $ kubectl exec -it nginx -- /bin/bash | |
| root@nginx:/# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment