mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #40189 from xilabao/patch-5
Automatic merge from submit-queue (batch tested with PRs 37228, 40146, 40075, 38789, 40189) update short help message in set resource To keep the help message well-formed. ``` #kubectl set -h Configure application resources These commands help you make changes to existing application resources. Available Commands: image Update image of a pod template resources update resource requests/limits on objects with pod templates selector Set the selector on a resource Usage: kubectl set SUBCOMMAND [options] ``` ```release-note NONE ```
This commit is contained in:
commit
85d328f8da
@ -98,7 +98,7 @@ func NewCmdResources(f cmdutil.Factory, out io.Writer, errOut io.Writer) *cobra.
|
||||
|
||||
cmd := &cobra.Command{
|
||||
Use: "resources (-f FILENAME | TYPE NAME) ([--limits=LIMITS & --requests=REQUESTS]",
|
||||
Short: "update resource requests/limits on objects with pod templates",
|
||||
Short: "Update resource requests/limits on objects with pod templates",
|
||||
Long: fmt.Sprintf(resources_long, strings.Join(resourceTypesWithPodTemplate, ", ")),
|
||||
Example: resources_example,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
|
Loading…
Reference in New Issue
Block a user