mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
modify the specifications
This commit is contained in:
parent
a153f6f885
commit
2c2dba67fd
@ -34,13 +34,13 @@ var (
|
|||||||
|
|
||||||
The top command allows you to see the resource consumption for nodes or pods.
|
The top command allows you to see the resource consumption for nodes or pods.
|
||||||
|
|
||||||
This command is available only if the Heapster works fine on the server. `)
|
This command requires Heapster to be correctly configured and working on the server. `)
|
||||||
)
|
)
|
||||||
|
|
||||||
func NewCmdTop(f cmdutil.Factory, out, errOut io.Writer) *cobra.Command {
|
func NewCmdTop(f cmdutil.Factory, out, errOut io.Writer) *cobra.Command {
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "top",
|
Use: "top",
|
||||||
Short: "Display Resource (CPU/Memory/Storage) usage, available only if Heapster works fine on the server.",
|
Short: "Display Resource (CPU/Memory/Storage) usage.",
|
||||||
Long: topLong,
|
Long: topLong,
|
||||||
Run: cmdutil.DefaultSubCommandRun(errOut),
|
Run: cmdutil.DefaultSubCommandRun(errOut),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user