Skip to content

Node Arch info needed in the kubectl get node output #1765

@astraw99

Description

@astraw99

What would you like to be added?

Add Arch column in the kubectl get node -owide output.
Expected output:

kubectl get node -owide

NAME           STATUS   ROLES           AGE   VERSION   INTERNAL-IP   EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION     ARCH    CONTAINER-RUNTIME
controlplane   Ready    control-plane   9d    v1.32.1   172.30.1.2    <none>        Ubuntu 24.04.1 LTS   6.8.0-51-generic   amd64   containerd://1.7.27
node01         Ready    <none>          9d    v1.32.1   172.30.2.2    <none>        Ubuntu 24.04.1 LTS   6.8.0-51-generic   arm64   containerd://1.7.27

Why is this needed?

When we use kubectl get node -owide, there is no arch in the output.
We need to kubectl get node xxx -oyaml to get the arch info (amd64/arm64), it is not convenient, especially in K8s clusters when both amd64 and arm64 nodes are existed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.sig/cliCategorizes an issue or PR as relevant to SIG CLI.

    Type

    No type

    Projects

    Status

    Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions