Kubernetes Cluster

Last updated

Kubernetes targets are used by the Kubernetes steps to define the context in which deployments and scripts are run.

Conceptually, a Kubernetes target represent a permission boundary and an endpoint. Kubernetes permissions and quotas are defined against a namespace, and both the account and namespace are captured as a Kubernetes target, along with the cluster endpoint URL.

Add a Kubernetes Target

  1. Navigate to Infrastructure ➜ Deployment Targets, and click ADD DEPLOYMENT TARGET.
  2. Select KUBERNETES CLUSTER and click ADD on the Kubernetes Cluster card.
  3. Enter a display name for the Kubernetes Cluster.
  4. Select at least one environment for the target.
  5. Select at least one target role for the target.
  6. Select the authentication method for Kubernetes:
  1. Enter the Kubernetes cluster URL.
  2. Optionally, select the certificate authority if you've added one. If you need to add a certificate see Kubernetes Certificate. If you are not providing a certificate, tick the Slip TLS verification.
  3. Enter the Kubernetes Namespace. For more information see, Kubernetes Namespace.
  4. Select a default worker pool for the target.
  5. Click SAVE.

Learn more about Kubernetes Deployment with Octopus.