• Kubernetes Submit Queue's avatar
    Merge pull request #45572 from xiangpengzhao/fix-node-none · debced74
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 45685, 45572, 45624, 45723, 45733)
    
    Display <none> for "kubectl get pods -o wide" when node is empty.
    
    **What this PR does / why we need it**:
    If pods are pending due to no matched node to be scheduled, `Spec.NodeName` would be empty. In this case, "kubectl get pods -o wide" displays `<none>` instead of empty.
    
    **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    debced74
printers.go 60.7 KB