After the successful installation of a cluster, there are multiple ways to access it to start management:
- Kubernetes Dashboard
- kubectl client
Kubernetes Dashboard
1. The after installation pop-up provides all the necessary data to connect to the Kubernetes Dashboard – link and access token.
The same information is also provided via the appropriate email notification.
2. Follow the link, select the Token option, and paste the required value.
3. If you’ve lost an email with the Kubernetes cluster access token, it can be viewed by executing the following command on the master node (e.g. via Web SSH):
|
|
Now, you can access the Kubernetes Dashboard once again.
Kubectl Client
Kubectl is a command-line tool to control a Kubernetes cluster. The platform automatically installs it on all master nodes during the environment creation. You can start working with your cluster using kubectl right away, just connect to the required node over SSH.
1. Follow the installation steps to use a local kubectl. Next, run a command to establish remote connection:
|
|
Replace the {api-endpoint} and {token} placeholders with the Remote API URL and access token respectively.
Tip: If you haven’t enabled Remote API during installation, it can be done via the in-built add-on available for the master nodes in the platform dashboard.
2. You can check if kubectl has access to the cluster with the following command:
|
|
You should see information about pods in the default namespace.