kubectl skew
A simple kubectl plugin to show if your kubernetes/kubectl version is "skewed"
What's this?
With kubectl skew
, you can check if your kubernetes usage meets the version skew policy.
In kubernetes, version skew policy is a bit confusing, especially for beginners.
However, it is important to make sure you are always following the policy because using unsupported cluster/kubectl is problematic and even dangerous.
In order to know if your kubernetes usage is met with it, you need to know the cluster version, client version, and current latest version. Of course, you have to understand the detail of the policy.
kubectl ver skew
command helps this situation. When you run it, it automatically fetches the cluster, client, and latest version and judges if it's following the policy.
By using kubectl skew
, it will be easy for you to understand if your kubernetes usage meets the policy.
Installation
You can install kubectl-skew
by krew (kubectl plugin manager).
Run below to install on your machine.
kubectl krew install skew
To use krew
, first you need to install it. Follow the krew installation guide.
Usage
You simply need to run kubectl skew
, which shows if there is the kubernetes cluster and kubectl versions skew.
- cluster version problem
- kubectl version problem
- following version skew policy
Upcoming releases
- Support output option (e.g.
-o json
)
Contributions
Always welcome. Just opening an issue should be also greatful.
LICENSE
MIT