Skip to content

kubectl cannot set --no-headers with --outputs #24133

Closed
@wernight

Description

There is no documentation and no visible way to have custom columns without header:

$ kubectl get pods --no-headers --output=custom-columns=PHASE:.status.phase

Having no header name also doesn't work:

$ kubectl get pods --output=custom-columns=:.status.phase

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions