Kubectl

Frequently asked questions on Kubectl

This document serves as a knowledge bank of SIG-Cli’s stance on certain recurring issues and historical decisions.

Enhancing kubectl create/run

TODO: Condense PR#914

kubectl get all

kubectl get all is a legacy command and is actually implemented with a hardcoded server side list that is not easy to maintain. There is potential that it will be removed in the future and therefore will not be expanded upon or improved.

Associated issue: ISSUE#151

We recommend using ketall which can be installed standalone or via krew.

Confirmation when using --all

Introducing --all would be a breaking change. We’ve made an attempt in the past (see PR#62167) and we’ve decided that the suggested approach is to encourage cluster owners to implement something like PR#17740 or currently using validating webhooks (check here) but no such effort will be undertaken in kubectl itself.

Supported versions

The Kubernetes project maintains release branches for the most recent three minor releases (1.19, 1.18, 1.17 as of this writing). Kubernetes Version Skew Policy



Last modified October 5, 2020: site refactor (53154e4)