Skip to main content
Skip table of contents

dkp delete cluster

Delete a Kubernetes cluster

CODE
dkp delete cluster [flags]

Options

CODE
      --aws-service-endpoints string     Custom AWS service endpoints in a semi-colon separated format: ${SigningRegion1}:${ServiceID1}=${URL},${ServiceID2}=${URL};${SigningRegion2}...
  -c, --cluster-name name                Name used to prefix the cluster and all the created resources.
      --delete-kubernetes-resources      Delete Kubernetes resources on the cluster before deleting that cluster (Services with type LoadBalancer) (default true)
  -h, --help                             help for cluster
      --http-proxy string                HTTP proxy for CAPI controllers
      --https-proxy string               HTTPS proxy for CAPI controllers
      --kind-cluster-image string        Kind node image for the bootstrap cluster (default "mesosphere/konvoy-bootstrap:v2.3.3")
      --kubeconfig string                Path to the kubeconfig for the management cluster. If unspecified, default discovery rules apply.
  -n, --namespace string                 If present, the namespace scope for this CLI request. (default "default")
      --no-proxy strings                 No Proxy list for CAPI controllers (default [])
      --self-managed                     When set to true, the required prerequisites and resources are moved from the self managed cluster before deleting. When set to false, the resources are assumed installed in a management cluster.(default false)
      --timeout duration                 The length of time to wait before giving up. Zero means wait forever. (default 15m0s)
      --wait                             If true, wait for operations to complete before returning. (default true)
      --with-aws-bootstrap-credentials   Set true to use AWS bootstrap credentials from your environment. When false, the instance profile of the EC2 instance where the CAPA controller is scheduled on will be used instead.
      --with-gcp-bootstrap-credentials   Set true to use GCP bootstrap credentials from your environment. When false, the service account of the VM instance where the CAPG controller is scheduled on will be used instead.

Options inherited from parent commands

CODE
  -v, --verbose int   Output verbosity

SEE ALSO

  • dkp delete - Delete one of [bootstrap, capi-components, chart, cluster, nodepool]
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.