Kubernetes kubectl get -o custom-columns-file Ignores --no-headers
Is it fixed? Not yet.
Ongoing since Nov 18, 07:29 UTC. First reported Nov 18, 07:29 UTC.
What happened
The kubectl CLI tool in Kubernetes fails to suppress header rows when using the -o custom-columns-file option combined with the --no-headers flag. While inline custom columns correctly honor the flag, file-based column definitions still print the header row.
What caused it?
Under active investigation. No report has identified a root cause yet.
No verified workaround yet
None of the linked reports describe a mitigation. This page updates when one appears.
Timeline
- Investigating(current)
- Workaround available(upcoming)
- Resolved(upcoming)
- First report on GitHub issue
kubectl get -o custom-columns-file ignores --no-headers
Source
Evidence
1 report · 1 GitHubShow
- [1]GitHub First reportkubectl get -o custom-columns-file ignores --no-headers(opens GitHub issue in a new tab)
What happened? --no-headers has no effect when columns come from a file. Inline custom columns honor the flag; the file form still prints the header row. $ printf 'NAME\n.metadata.name\n' > cols.txt $ kubectl get namespace default -o custom-columns=NAME:.metadata.name --no-headers default $ kubectl get namespace default -o custom-columns-file=cols.txt --no-headers NAME default The -o custom-columns-file --template=cols.txt spelling behaves the same way. What did you expect to happen? No header…
by DevaanshPathak 0upvotes 2comments
FAQ
What happened in the Kubernetes issue?
The kubectl CLI tool in Kubernetes fails to suppress header rows when using the -o custom-columns-file option combined with the --no-headers flag. While inline custom columns correctly honor the flag, file-based column definitions still print the header row.
What is affected by the Kubernetes issue?
Kubernetes.
When did the Kubernetes issue start and end?
It started Nov 18, 07:29 UTC and is still ongoing (21 h 14 min so far). This page updates as it develops.
How do I get alerts for Kubernetes?
Subscribe to the Kubernetes RSS feed for every new Kubernetes incident, or connect an AI assistant to WhatBrokeToday over MCP and ask whether Kubernetes is down. Kubernetes feed
Where does this information come from?
WhatBrokeToday collects public status pages, developer community reports and security advisories, groups the ones about the same problem, and links every report under Evidence on this page. This one has 1 report from 1 independent source.