CmdID

CmdID / kubectl / kubectl apply

kubectl apply set-last-applied

Set the last-applied-configuration annotation on a live object to match the contents of a file kubectl reference

8 options Its page in the kubectl reference

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

Options

8 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.
--create-annotationWill create 'last-applied-configuration' annotations if current objects doesn't have one
--dry-runMust be "none", "server", or "client".
--filename, -fFilename, directory, or URL to files that contains the last-applied-configuration annotations
--help, -hhelp for set-last-applied
--output, -oOutput format.
--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.