To use the kubectl edit command, create a KUBE_EDITOR environment variable and specify your preferred text editor as the variable value. When you save the changes, Kubernetes automatically applies the changes and updates the cluster. This command opens the Kubernetes manifest in a text editor of your choice. The most convenient way to update the manifest for a provisioned cluster is to use the kubectl edit command. To perform such tasks you update the cluster manifest.
Typical maintenance tasks include upgrading the Kubernetes version and scaling cluster nodes. PurposeĪfter you provision a Tanzu Kubernetes cluster you need to maintain it.
To help you provision, operate, and maintain Tanzu Kubernetes clusters, specify a default text editor for kubectl.