cldkctl edit
The edit command modifies an existing Kubernetes resource directly from the command line. This allows users to update configuration fields of pods, services, deployments, daemonsets, and other supported resources. When executed, this command typically opens the resource manifest in the default text editor (for example, vim), allowing live editing and saving changes back to the cluster.
Usage
cldkctl edit [flags]cldkctl edit [subcommand] [flags]
Available command
clusterrole
Modify an existing ClusterRole
clusterrolebinding
Modify an existing ClusterRoleBinding
configmap
Modify a ConfigMap’s configuration
daemonset
Modify a DaemonSet’s configuration
datavolume
Modify a Data Volume’s configuration
deployment
Modify a Deployment’s configuration
ingress
Modify an Ingress resource’s configuration
ingressclass
Modify an Ingress Class’s configuration
persistentvolume
Modify a Persistent Volume’s configuration
persistentvolumeclaim
Modify a Persistent Volume Claim’s configuration
pod
Modify a Pod’s configuration
role
Modify an existing Role’s configuration
secret
Modify a Secret’s data
service
Modify a Service’s configuration
serviceaccount
Modify a Service Account’s configuration
statefulset
Modify a StatefulSet’s configuration
Flags
-h, --help
Help for the edit command.
-n, --namespace string
Specify the Kubernetes namespace for the resource.
-p, --project string
Specify the project ID.
Last updated
