add maxunavailable to kubectl describe
Kubernetes-commit: c352fa514655bd154e69734e365477e753fa3409
This commit is contained in:
parent
13ced3d730
commit
884f866fd0
|
@ -3702,6 +3702,9 @@ func describeStatefulSet(ps *appsv1.StatefulSet, selector labels.Selector, event
|
|||
ru := ps.Spec.UpdateStrategy.RollingUpdate
|
||||
if ru.Partition != nil {
|
||||
w.Write(LEVEL_1, "Partition:\t%d\n", *ru.Partition)
|
||||
if ru.MaxUnavailable != nil {
|
||||
w.Write(LEVEL_1, "MaxUnavailable:\t%s\n", ru.MaxUnavailable.String())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue