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
cd1b9cc9
Commit
cd1b9cc9
authored
Feb 10, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #20880 from janetkuo/fix-describe-deployment
Auto commit by PR queue bot
parents
8d4f5c39
1b305160
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
describe.go
pkg/kubectl/describe.go
+1
-1
No files found.
pkg/kubectl/describe.go
View file @
cd1b9cc9
...
...
@@ -1619,7 +1619,7 @@ func (dd *DeploymentDescriber) Describe(namespace, name string) (string, error)
fmt
.
Fprintf
(
out
,
"Selector:
\t
%s
\n
"
,
selector
)
fmt
.
Fprintf
(
out
,
"Replicas:
\t
%d updated | %d total | %d available | %d unavailable
\n
"
,
d
.
Status
.
UpdatedReplicas
,
d
.
Spec
.
Replicas
,
d
.
Status
.
AvailableReplicas
,
d
.
Status
.
UnavailableReplicas
)
fmt
.
Fprintf
(
out
,
"StrategyType:
\t
%s
\n
"
,
d
.
Spec
.
Strategy
.
Type
)
fmt
.
Fprintf
(
out
,
"MinReadySeconds:
\t
%
s
\n
"
,
d
.
Spec
.
MinReadySeconds
)
fmt
.
Fprintf
(
out
,
"MinReadySeconds:
\t
%
d
\n
"
,
d
.
Spec
.
MinReadySeconds
)
if
d
.
Spec
.
Strategy
.
RollingUpdate
!=
nil
{
ru
:=
d
.
Spec
.
Strategy
.
RollingUpdate
fmt
.
Fprintf
(
out
,
"RollingUpdateStrategy:
\t
%s max unavailable, %s max surge
\n
"
,
ru
.
MaxUnavailable
.
String
(),
ru
.
MaxSurge
.
String
())
...
...
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