CmdID

CmdID / kubectl

kubectl edit

Edit a resource on the server kubectl reference

14 options Its page in the kubectl reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

14 in the kubectl reference
--allow-missing-template-keysIf true, ignore any errors in templates when a field or map key is missing in the template.
--field-managerName of the manager used to track field ownership.
--filename, -fFilename, directory, or URL to files to use to edit the resource
--help, -hhelp for edit
--kustomize, -kProcess the kustomization directory.
--output, -oOutput format.
--output-patchOutput the patch if the resource is edited.
--recursive, -RProcess the directory used in -f, --filename recursively.
--save-configIf true, the configuration of current object will be saved in its annotation.
--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.
--subresourceIf specified, edit will operate on the subresource of the requested object.
--templateTemplate string or path to template file to use when -o=go-template, -o=go-template-file.
--validateMust be one of: strict (or true), warn, ignore (or false).
--windows-line-endingsDefaults to the line ending native to your platform.