Kubernetes Basic Commands for your Playground

Kubernetes Basic Commands for your Playground


Kubernetes is a open source platform mainly helps us on managing and scaling of containerization applications.

These are the most Kubernetes commands for handy which are should be handy for our most of the projects.

  • kubectl get pods
  • kubectl get pods -o wide -A
  • kubectl get services
  • kubectl get nodes
  • kubectl get namespace
  • kubectl delete
  • kubectl delete namespaces
  • kubectl delete -f
  • kubectl delete pod
  • kubectl config view
  • kubectl config use-context contextName
  • kubectl get-config
  • kubectl rollout status deploymentName
  • kubectl port-forward podname port1:port2
  • kubectl expose deployment
  • kubectl scale deployment deploymentName
  • kubectl -exec podname –shellname
  • kubectl logs -c
  • kubectl apply -f
  • kubectl describe service
  • kubectl describe pod



Source link
lol

By stp2y

Leave a Reply

Your email address will not be published. Required fields are marked *

No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.