mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Display pod node selectors with kubectl describe.
This commit is contained in:
parent
aa8a03ef07
commit
588ad30d10
@ -540,6 +540,7 @@ func describePod(pod *api.Pod, events *api.EventList) (string, error) {
|
||||
}
|
||||
describeVolumes(pod.Spec.Volumes, w, "")
|
||||
w.Write(LEVEL_0, "QoS Class:\t%s\n", qos.InternalGetPodQOS(pod))
|
||||
printLabelsMultiline(w, "Node-Selectors", pod.Spec.NodeSelector)
|
||||
printTolerationsInAnnotationMultiline(w, "Tolerations", pod.Annotations)
|
||||
if events != nil {
|
||||
DescribeEvents(events, w)
|
||||
|
Loading…
Reference in New Issue
Block a user