mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
add maxunavailable to kubectl describe
This commit is contained in:
parent
3024ddcfe2
commit
c352fa5146
@ -3761,6 +3761,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
Block a user