diff --git a/staging/src/k8s.io/kubectl/pkg/cmd/top/top.go b/staging/src/k8s.io/kubectl/pkg/cmd/top/top.go index 93a6d36c079..051c7fb3c88 100644 --- a/staging/src/k8s.io/kubectl/pkg/cmd/top/top.go +++ b/staging/src/k8s.io/kubectl/pkg/cmd/top/top.go @@ -37,7 +37,7 @@ var ( "v1beta1", } topLong = templates.LongDesc(i18n.T(` - Display Resource (CPU/Memory/Storage) usage. + Display Resource (CPU/Memory) usage. The top command allows you to see the resource consumption for nodes or pods. @@ -47,7 +47,7 @@ var ( func NewCmdTop(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command { cmd := &cobra.Command{ Use: "top", - Short: i18n.T("Display Resource (CPU/Memory/Storage) usage."), + Short: i18n.T("Display Resource (CPU/Memory) usage."), Long: topLong, Run: cmdutil.DefaultSubCommandRun(streams.ErrOut), } diff --git a/staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go b/staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go index 8f47fd08f9f..e9cc1bc14e1 100644 --- a/staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go +++ b/staging/src/k8s.io/kubectl/pkg/cmd/top/top_node.go @@ -55,7 +55,7 @@ type TopNodeOptions struct { var ( topNodeLong = templates.LongDesc(i18n.T(` - Display Resource (CPU/Memory/Storage) usage of nodes. + Display Resource (CPU/Memory) usage of nodes. The top-node command allows you to see the resource consumption of nodes.`)) @@ -77,7 +77,7 @@ func NewCmdTopNode(f cmdutil.Factory, o *TopNodeOptions, streams genericclioptio cmd := &cobra.Command{ Use: "node [NAME | -l label]", DisableFlagsInUseLine: true, - Short: i18n.T("Display Resource (CPU/Memory/Storage) usage of nodes"), + Short: i18n.T("Display Resource (CPU/Memory) usage of nodes"), Long: topNodeLong, Example: topNodeExample, Run: func(cmd *cobra.Command, args []string) { diff --git a/staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go b/staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go index 57c5fcc3a14..34bbb286a76 100644 --- a/staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go +++ b/staging/src/k8s.io/kubectl/pkg/cmd/top/top_pod.go @@ -62,7 +62,7 @@ const metricsCreationDelay = 2 * time.Minute var ( topPodLong = templates.LongDesc(i18n.T(` - Display Resource (CPU/Memory/Storage) usage of pods. + Display Resource (CPU/Memory) usage of pods. The 'top pod' command allows you to see the resource consumption of pods. @@ -93,7 +93,7 @@ func NewCmdTopPod(f cmdutil.Factory, o *TopPodOptions, streams genericclioptions cmd := &cobra.Command{ Use: "pod [NAME | -l label]", DisableFlagsInUseLine: true, - Short: i18n.T("Display Resource (CPU/Memory/Storage) usage of pods"), + Short: i18n.T("Display Resource (CPU/Memory) usage of pods"), Long: topPodLong, Example: topPodExample, Run: func(cmd *cobra.Command, args []string) {