1. Goal
Ensure the Kubernetes client is properly configured on the machine running the cbsupport CLI.
2. Tests
2.1. kubectl can run
Verify that the kubectl
binary can be called from the machine running the cbsupport CLI.
In case this test fails, you will need to make sure kubectl
is properly set up.
You should be able to run kubectl version --short
and observe an output similar to:
Client Version: v1.21.1 Server Version: v1.20.6-gke.1000
(note: the actual versions can be different).
If you wrap To troubleshoot such issue, executes This one should return something like this: kubectl is a bash script
It shouldn’t return: kubectl is a text file
|