Skip to content

Instantly share code, notes, and snippets.

Created May 26, 2017 22:31
What would you like to do?
Useful Kubernetes Commands for Fujitsu K5 Kubernetes Deployment Stack
# check version
kubectl version
# list kube nodes
kubectl get nodes
# list pods
kubectl get pods --all-namespaces
# check docker
sudo docker ps
# deploy demo application
kubectl create -f ""
# check application status
kubectl get pod --namespace=sock-shop
# view the application service
kubectl describe svc front-end -n sock-shop
# delete demo application
kubectl delete -f ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment