‹ Back to Glossary

Kubectl

What is Kubectl?

Kubectl is the command line interface that developers and operators use to interact with the Kubernetes API. Kubectl connects to the kubernetes API server running on the master node, and uses the API to pass configuration files, issue commands, and manipulate different resources running in the cluster.

Learn More

  • Kubectl Cheat Sheet
  • There are many extensions to enhance the Kubernetes command line interface, including:
    • kubectx for switching easily between clusters and namespaces
    • kube-ps1 for customizing your command-line prompt to show the current Kubernetes context
    • k9s, an enhanced terminal interface to Kubernetes
    • Lens, a Kubernetes IDe