Sobes.tech
Middle

What are the main Kubernetes commands you know?

sobes.tech AI

Answer from AI

The main Kubernetes commands that are frequently used:

  • kubectl get — view resources (pods, services, deployments, etc.)
  • kubectl describe — detailed information about a resource
  • kubectl apply — apply configurations from manifests
  • kubectl delete — delete resources
  • kubectl logs — view container logs
  • kubectl exec — execute commands inside a container
  • kubectl scale — change the number of replicas
  • kubectl port-forward — port forwarding for accessing services
  • kubectl rollout — manage deployment updates

These commands cover basic operations for managing and debugging applications in Kubernetes.