Page cover

cldkctl delete

Remove (delete) an existing Kubernetes resource from the cluster. You can delete objects such as pods, services, deployments, daemonsets, roles, secrets, dan resource lain di dalam project.

Usage

cldkctl delete [flags]
cldkctl delete [subcommand] [flags]

Available commands

Command
Description

clusterrole

Delete a ClusterRole from the cluster

clusterrolebinding

Delete a ClusterRoleBinding from the cluster

configmap

Delete a ConfigMap from the cluster

daemonset

Delete a DaemonSet from the cluster

datavolume

Delete a Data Volume from the cluster

deployment

Delete a Deployment from the cluster

ingress

Delete an Ingress resource from the cluster

ingressclass

Delete an Ingress Class from the cluster

persistentvolume

Delete a Persistent Volume from the cluster

persistentvolumeclaim

Delete a Persistent Volume Claim from the cluster

pod

Delete a Pod from the cluster

role

Delete a Role from the cluster

secret

Delete a Secret from the cluster

service

Delete a Service from the cluster

serviceaccount

Delete a Service Account from the cluster

statefulset

Delete a StatefulSet from the cluster

Flags

This command supports global flags. Refer to the Global Flags section for details.

Flag
Description

-h, --help

Help for the delete command.

-n, --namespace string

Specify the Kubernetes namespace to scope the operation.

-p, --project string

Specify the project ID.

Last updated