CmdID

CmdID / kubectl / kubectl set

kubectl set resources

Update resource requests/limits on objects with pod templates kubectl reference

15 options Its page in the kubectl reference

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

Options

15 in the kubectl reference
--allSelect all resources, in the namespace of the specified resource types
--allow-missing-template-keysIf true, ignore any errors in templates when a field or map key is missing in the template.
--containers, -cThe names of containers in the selected pod templates to change, all containers are selected by default - may use wildcards
--dry-runMust be "none", "server", or "client".
--field-managerName of the manager used to track field ownership.
--filename, -fFilename, directory, or URL to files identifying the resource to get from a server.
--help, -hhelp for resources
--kustomize, -kProcess the kustomization directory.
--localIf true, set resources will NOT contact api-server but run locally.
--output, -oOutput format.
--recursive, -RProcess the directory used in -f, --filename recursively.
--requests, --limitsThe resource requirement requests for this container.
--selector, -lSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)).
--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.