Mirantis Container Cloud Trial

Detailed Instructions

Signup and Login

Create and verify an account.

  1. Select the “Sign Up” tab

  2. Complete the form to create a Mirantis user account.

  3. You will receive an email from Mirantis with a link to validate your email address, which is also your user name.

  4. After verifying your email, click the same button and log into your account.

image thumbnail

A browser window will open where you can start your trial by clicking on LAUNCH TRIAL ENVIRONMENT.

image thumbnail

Create a Kubernetes cluster

Click on the Create Cluster button at the top right corner of the interface.

image thumbnail

Name your cluster, here we used my-mirantis-container-cloud-cluster, select trial as the Provider Credential, and click Create.

image thumbnail

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.

image thumbnail

Click on Create Machine.

image thumbnail

Enter 3 for the Count of machines, select Manager as a type, select the available machine type, and click Create.

image thumbnail

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.

image thumbnail

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.

image thumbnail

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.

image thumbnail

Use Lens to explore your Kubernetes cluster

Once your cluster is ready, you can use Lens to explore your Kubernetes cluster.

image thumbnail

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.

image thumbnail

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.

image thumbnail

By clicking on Nodes in the left menu, you can see the list of nodes with their resource consumption, version, age, and condition.

image thumbnail

You can access more details by clicking on the three-dots icon for a specific node.

image thumbnail

The top blue bar offers to perform a number of actions including obtaining a shell for the node.

image thumbnail

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.

image thumbnail

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.

export KUBECONFIG=~/Downloads/my-mirantis-container-cloud-cluster.yml

To see your cluster status, enter the following command in your terminal. kubectl get nodes -o wide

image thumbnail

Wrapping Up

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