Kubernetes Server

1 minute read
On this page

1. Goal

Ensure the Kubernetes server is properly configured.

2. Tests

2.1. Kubernetes server is accessible

Verify that the Kubernetes server targeted by the cbsupport CLI can be reached.

In case this test fails, you will need to make sure you have access to the server. 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).

2.2. Client and Server run the same major version

Verify that the Kubernetes server and the Kubernetes client (kubectl) are running the same major version.

In case this test fails, please review the output of kubectl version --short and adjust the configuration to match this requirement.

2.3. Client and server have less than 1 minor version difference

Verify that the Kubernetes server and the Kubernetes client (kubectl) have at most one minor version difference.

In case this test fails, please review the output of kubectl version --short and adjust the configuration to match this requirement.