docs-v2/content/en/docs/deployers/kubectl.md
kubectl is Kubernetes
command-line tool
for deploying and managing
applications on Kubernetes clusters.
Skaffold can work with kubectl to
deploy artifacts on any Kubernetes cluster, including
Google Kubernetes Engine
clusters and local Minikube clusters.
To use kubectl, add deploy type kubectl to the deploy section of
skaffold.yaml.
The kubectl type offers the following options:
{{< schema root="KubectlDeploy" >}}
flags section offers the following options:
{{< schema root="KubectlFlags" >}}
The following deploy section instructs Skaffold to deploy
artifacts using kubectl:
{{% readfile file="samples/deployers/kubectl.yaml" %}}
{{< alert title="Note" >}} kubectl CLI must be installed on your machine. Skaffold will not install it. Also, it has to be installed in a version that's compatible with your cluster. {{< /alert >}}