Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 400 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 400 Bytes

Kubernetes tutorial

kubectl commands

  • kubectl version
  • kubectl get nodes
  • kubectl run hw --image=karthequian/helloworld --port=80
  • kubectl get deployments
  • kubectl rs
  • kubectl get pods
  • kubectl expose deployment hw --type=NodePort
  • kubectl get services
  • kubectl get all
  • kubectl get deploy/hw -o yaml

minikube commands

  • minikube version
  • minikube start
  • minikube service hw