Skip to content

Instantly share code, notes, and snippets.

Embed
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 "https://github.com/microservices-demo/microservices-demo/blob/master/deploy/kubernetes/complete-demo.yaml?raw=true"
# 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 "https://github.com/microservices-demo/microservices-demo/blob/master/deploy/kubernetes/complete-demo.yaml?raw=true"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment