CmdID

CmdID / kubectl

kubectl replace

Replace a resource by file name or stdin kubectl reference

19 options Its page in the kubectl reference

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

Options

19 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.
--cascadeMust be "background", "orphan", or "foreground".
--dry-runMust be "none", "server", or "client".
--field-managerName of the manager used to track field ownership.
--filename, -fThe files, directories or URLs that contain the configurations to replace.
--forceIf true, immediately remove resources from API and bypass graceful deletion.
--grace-periodPeriod of time in seconds given to the resource to terminate gracefully.
--help, -hhelp for replace
--kustomize, -kProcess a kustomization directory.
--output, -oOutput format.
--rawRaw URI to PUT to the server.
--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, replace 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.
--timeoutThe length of time to wait before giving up on a delete, zero means determine a timeout from the size of the object
--validateMust be one of: strict (or true), warn, ignore (or false).
--waitIf true, wait for resources to be gone before returning.