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
afb23afd
Commit
afb23afd
authored
Dec 27, 2017
by
Krishnakumar R
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 'ProviderID' to the output of kubectl describe node....
parent
18758f50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
describe.go
pkg/printers/internalversion/describe.go
+3
-0
No files found.
pkg/printers/internalversion/describe.go
View file @
afb23afd
...
...
@@ -2635,6 +2635,9 @@ func describeNode(node *api.Node, nodeNonTerminatedPodsList *api.PodList, events
if
len
(
node
.
Spec
.
ExternalID
)
>
0
{
w
.
Write
(
LEVEL_0
,
"ExternalID:
\t
%s
\n
"
,
node
.
Spec
.
ExternalID
)
}
if
len
(
node
.
Spec
.
ProviderID
)
>
0
{
w
.
Write
(
LEVEL_0
,
"ProviderID:
\t
%s
\n
"
,
node
.
Spec
.
ProviderID
)
}
if
canViewPods
&&
nodeNonTerminatedPodsList
!=
nil
{
if
err
:=
describeNodeResource
(
nodeNonTerminatedPodsList
,
node
,
w
);
err
!=
nil
{
return
err
...
...
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