Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
2c2dba67
Commit
2c2dba67
authored
Jan 04, 2017
by
tianshapjq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify the specifications
parent
a153f6f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
top.go
pkg/kubectl/cmd/top.go
+2
-2
No files found.
pkg/kubectl/cmd/top.go
View file @
2c2dba67
...
@@ -34,13 +34,13 @@ var (
...
@@ -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
),
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment