Manage Cluster Access
In Cloud Orbiter, cluster access is managed by creating and managing users and service accounts.
Service Accounts
Service accounts act as user accounts created explicitly to provide security context mappings for supporting Kubernetes Role-Based Access Control (RBAC) to Cloud Orbiter users. By mapping a user to a target cluster service account, the user can only perform actions on the target cluster that are allowed to that service account.
To map a user to a service account, you can follow the below steps:
- Click the Map User button in the Cloud Orbiter Management Console.
- Enter the Namespace and Service Account to map users to the desired service account.
With this feature, Cloud Orbiter makes it easy for organizations to manage their service accounts and provide secure access to the Kubernetes clusters.
Cluster Terminal
Cloud Orbiter also provides a cluster terminal that allows you to access the command line interface (CLI) of your Kubernetes clusters directly from the Cloud Orbiter Management Console. To access the cluster terminal, click the Terminal tab in the Clusters section of the Cloud Orbiter Management Console. You can then enter commands and interact with your clusters just as you would from the command line on your local machine.
Procedure for cluster terminal:
- Go to a cluster dashboard.
- Select the connected cluster.
- Click on the Terminal button from the right corner of the dashboard.
- Perform commands over the terminal to fetch the details of Kubernetes resources (e.g., pods, namespaces, config maps, secret, etc.).
Kubeconfig
KubeConfig is a file that contains all the necessary information to access a Kubernetes cluster, including authentication details, server information, and cluster configuration. You can use KubeConfig to access your cluster from a local command line interface (CLI) or from within another application.
To download the kubeconfig file for a cluster, follow these steps:
- Log in to the Cloud Orbiter Management Console and select the project that contains the cluster you want to access.
- Click Clusters in the left-hand navigation menu and select the cluster you want to access.
- Click on Download Kubeconfig in the top navigation menu.
- Save the kubeconfig file to your local machine.
Get a shell to a running container
You can use the below commands mentioned in Terminal to get a shell to a running container. Get a shell to a running container reference to kubectl exec command, this is available as an option to the dashboard which Cloud Orbiter is supporting. You can perform all actions as you would on any Ubuntu prompt. If you type "ls," you'll see a list of files on the screen.