kubernetes/cli-runtime(opens in a new tab)
Language: Go
Set of helpers for creating kubectl commands and plugins.
- stars
- 307
- watchers
- 9
- forks
- 105
- open issues
- 2
- Last updated
- 10/31/2026
Language: Go
Set of helpers for creating kubectl commands and plugins.
⚠️ This is an automatically published staged repository for Kubernetes.
Contributions, including issues and pull requests, should be made to the main Kubernetes repository: https://github.com/kubernetes/kubernetes.
This repository is read-only for importing, and not used for direct contributions.
See CONTRIBUTING.md for more details.
Set of helpers for creating kubectl commands, as well as kubectl plugins.
This library is a shared dependency for clients to work with Kubernetes API infrastructure which allows
to maintain kubectl compatible behavior. Its first consumer is k8s.io/kubectl.
There are NO compatibility guarantees for this repository. It is in direct support of Kubernetes, so branches will track Kubernetes and be compatible with that repo. As we more cleanly separate the layers, we will review the compatibility guarantee.
cli-runtime is synced from https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/cli-runtime.
Code changes are made in that location, merged into k8s.io/kubernetes and later synced here.
pkg in this repo. Those are driven from k8s.io/kubernetes/staging/src/k8s.io/cli-runtime.kubectl.