Skip to content
tcloud kubernetes nodepools delete

kubernetes nodepools delete

tcloud kubernetes nodepools delete

Delete a Kubernetes node pool

Synopsis

Delete a node pool from a Kubernetes cluster.

This command will delete the node pool and all nodes associated with it. The cluster must be in a ready state to delete node pools.

Examples:

Delete a node pool

tcloud kubernetes nodepools delete –cluster my-cluster –nodepool worker-pool

Delete a node pool and wait for completion

tcloud kubernetes nodepools delete –cluster my-cluster –nodepool worker-pool –wait

Delete a node pool and wait up to 45 minutes

tcloud kubernetes nodepools delete –cluster my-cluster –nodepool worker-pool –wait –wait-timeout 45m

Delete a node pool without confirmation

tcloud kubernetes nodepools delete –cluster my-cluster –nodepool worker-pool –force

tcloud kubernetes nodepools delete [flags]

Options

      --cluster string          Cluster identity, name, or slug (defaults to kubernetes.cluster in .thalassa)
      --force                   Skip confirmation prompt
  -h, --help                    help for delete
      --nodepool string         Node pool name, identity, or slug (required)
      --wait                    Wait for the node pool to be deleted before returning
      --wait-timeout duration   Maximum time to wait for the node pool to be deleted (default 20m0s)

Options inherited from parent commands

      --access-token string    Access Token authentication (overrides context)
      --api string             API endpoint (overrides context)
      --client-id string       OIDC client ID for OIDC authentication (overrides context)
      --client-secret string   OIDC client secret for OIDC authentication (overrides context)
  -c, --context string         Context name
      --debug                  Debug mode
      --ignore-dir-config      Ignore directory-local .thalassa defaults
  -O, --organisation string    Organisation slug or identity (overrides context)
  -P, --project string         Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
      --token string           Personal access token (overrides context)

SEE ALSO