CmdID / kubectl / kubectl apply
kubectl apply edit-last-applied
Edit latest last-applied-configuration annotations of a resource/object kubectl reference
11 options Its page in the kubectl reference
Options
--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-last-applied--kustomize, -kProcess the kustomization directory.--output, -oOutput format.--recursive, -RProcess the directory used in -f, --filename recursively.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--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.