kubectl
Table of contents
Kubernetes provides a command line tool for communicating with a Kubernetes cluster’s control plane, using the Kubernetes API.
This tool is named kubectl.
For configuration, kubectl looks for a file named config in the $HOME/.kube directory. You can specify other kubeconfig files by setting the KUBECONFIG environment variable or by setting the --kubeconfig flag.
Information
Source | Tracker | VCS | QA | Bugs
- Version: 1.32.3
- Architecture: any
- Standards-Version: 4.7.2
- Maintainer: Debian Kubernetes Packaging Team (DMD)
Releases
- 1.31.4+ds-2 (sid | unstable )
If you are using an unlisted debian version probably that means this package it’s not available.
Installation
apt install kubectl
Completion
Completions will be installed for bash, zsh and fish shells.
Usage
For a quick guide, see the cheat sheet
If you’re used to using the docker command-line tool, kubectl for Docker Users explains some equivalent commands for Kubernetes.