Octopus Deploy Documentation

kubectl

Last updated

The kubectl command-line tool is required by Octopus Deploy's Kubernetes features.

kubectl is not bundled with Octopus, and must be pre-installed on the worker or Octopus Server which will execute steps and health checks against a Kubernetes target. Alternatively, execution containers may be used.

By default, Octopus assumes kubectl is available in the PATH environment variable. A specific location for kubectl can be supplied by setting a Octopus.Action.Kubernetes.CustomKubectlExecutable variable in the Octopus project (an example value is c:\tools\kubectl\version\kubectl.exe).

Need support? We're here to help.