Ruk-Com PaaS Documentation

Build, deploy and operate applications on the platform.

RUK-COM PAAS / KUBERNETES HOSTING

Cluster Access

This guide is maintained for Ruk-Com PaaS. Screens and options may vary by platform version and account permissions.

Confirm the environment, region and account permissions, and back up current settings before changing a production system.

After the successful installation of a cluster, there are multiple ways to access it to start management:

Kubernetes Dashboard

  1. The after installation pop-up provides all the necessary data to connect to the Kubernetes Dashboard - link and access token.

Image 34: Kubernetes installation success frame The same information is also provided via the appropriate email notification.

  1. Follow the link, select the Token option, and paste the required value.

Image 35: Kubernetes dashboard token access

Tip: It is also possible to log in with the kubeconfig file; however, you’ll need to install kubectl and set the right context (see the section below).

  1. 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):

Copy

kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep fulladmin | awk '{print $1}') | grep 'token:' | sed -e's/token:\| //g'

Image 36: view Kubernetes access token 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:

Copy

kubectl config set-cluster jelastic --server={api-endpoint} && \
kubectl config set-context jelastic --cluster=jelastic && \
kubectl config set-credentials user --token={token} && \
kubectl config set-context jelastic --user=user && \
kubectl config use-context jelastic

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.

Image 38: install remote API for Kubernetes cluster

  1. You can check if kubectl has access to the cluster with the following command:

Copy

kubectl get pods

Image 39: kubectl access to Kubernetes cluster You should see information about pods in the default namespace.