Mirantis Container Cloud Trial
Signup and Login
Create and verify an account.
Select the “Sign Up” tab
Complete the form to create a Mirantis user account.
You will receive an email from Mirantis with a link to validate your email address, which is also your user name.
After verifying your email, click the same button and log into your account.
A browser window will open where you can start your trial by clicking on LAUNCH TRIAL ENVIRONMENT.
Create a Kubernetes cluster
Click on the Create Cluster button at the top right corner of the interface.
Name your cluster, here we used my-mirantis-container-cloud-cluster, select trial as the Provider Credential, and click Create.
Start Manager and Worker Nodes
For the purpose of this demo, we will create 3 Manager and 2 Worker nodes. Manager nodes are responsible for cluster management functionality and dispatching tasks to worker nodes. Having multiple manager nodes allows your cluster to be highly-available and tolerate node failures. Worker nodes receive and execute your services and applications. Having multiple worker nodes allows you to scale the computing capacity of your cluster.
Click on your cluster.
Click on Create Machine.
Enter 3 for the Count of machines, select Manager as a type, select the available machine type, and click Create.
Repeat the operation with Worker nodes, enter 2 as a Count.
While you wait for the cluster to provision
It will take between 20 to 30 minutes for the cluster to provision the nodes. You can monitor the progress by hovering over the cluster status column. This will provide you with a detailed description of what is happening in the background.
The next step will involve using, Lens, and kubectl to interact with the cluster. If not installed, let’s proceed to the next step while the cluster provision the nodes.
Install Lens and the Mirantis Container Cloud Lens extension
To install Lens, go on the Lens website and download the binary. Lens is compatible with Mac OS, Windows, and Linux.
Once Lens is installed, launch it and switch to the Extension view by going to File (or Lens on macOS) > Extensions
Enter @mirantis/lens-extension-cc in the Name field and press Install.
Use Lens to explore your Kubernetes cluster
Once your cluster is ready, you can use Lens to explore your Kubernetes cluster.
Lens is an open-source IDE to monitor and control any Kubernetes clusters.
To access your cluster with Lens, click on the cluster 3-dots icon and click on Add cluster to Lens.
Click once more on the click on the cluster 3-dots icon and click on Open cluster in Lens.
From here you will be able to see your overall cluster resources consumption.
By clicking on Nodes in the left menu, you can see the list of nodes with their resource consumption, version, age, and condition.
You can access more details by clicking on the three-dots icon for a specific node.
The top blue bar offers to perform a number of actions including obtaining a shell for the node.
Use kubectl to explore your Kubernetes cluster via CLI
If not already installed, follow kubectl documentation to install it on your local machine.
Click on the cluster 3-dots icon and click on Download KubeConfig and click the Download button.
Create a KUBECONFIG environment variable by typing this command in your terminal. Make sure to replace the path to match your cluster name and file path.
To see your cluster status, enter the following command in your terminal. kubectl get nodes -o wide
If you would like to learn more about what’s possible with Mirantis Container Cloud please select from the following;
Docs – docs.mirantis.com
Overview – www.mirantis.com