Kubernetes commands

kubectl get all --all-namespaces
kubectl get nodes
kubectl get pods
kubectl get deployments
kubectl get services
kubectl delete service,deployment NAME

Follow instructions here :

Then, you have a VM with Kubernetes installed :

minikube start # to start the VM
minikube stop # to stop the VM
minikube dashboard # to see the K8S Dashboard
minikube ssh # to connect to the VM with SSH, to see your docker images, etc.
  • k8s.txt
  • Last modified: 2019/06/02 17:50
  • by jdx