Overview - Set up & Configure Kubera

Setup Kubera 

Kubera is a SaaS portal that enables DevOps and Administrators to connect their Kubernetes clusters for centralized monitoring, Data Migration as a Service (DMaaS), ChatOps, and obtaining support from MayaData. This article gives you an overview of how to set up and configure Kubera, connect your cluster, and deploy OpenEBS on it. 

STEP 1:

Click here to get directed to Kubera.

Kubera: Use Kubernetes for data

User can sign up using any of the three options:   

Local Auth

  1. Add your First Name and Last Name.
  2. Add your Email ID
  3. Assign a password,
    Necessary conditions:
    • Minimum 8 characters
    • At least 1 Upper Case character
    • At least one special character(! @ $ ^ & * ., ?)
  4. Next, click on Sign Up for Free

Google Auth

To login using Google, click on the Google icon on your screen, and then add your Google credentials.DirectorGoogleLogin

Github Auth

  1. Add your First Name and Last Name.
  2. Add your Email ID
  3. Assign a password,
    Necessary conditions:
    • Minimum 8 characters
    • At least 1 Upper Case character
    • At least one special character(! @ $ ^ & * ., ?)
  4. Next, click on Sign Up for Free

STEP 2: 

UPDATE YOUR PROFILE:

  1. The Email ID field will be immutable and will contain the registered Email ID.
  2. Add your Phone Number.
  3. Next, add your Company Name.
  4. Next, add your Role.
  5. Click on Submit.

Kubera: Use k8s for data

STEP 3:

ADD YOUR PROJECT NAME

Provide the desired name for the project in the box and click on continue.

Welcome Kubera user to Kubera, Kubernetes

STEP 4:

Connect your K8s cluster or Start with the Demo Project.

Connect your 1st Kubernetes cluster to the project

To connect your cluster, select the cluster location and provide a name for the cluster.

NOTE: The Cluster cannot be renamed later.

Or, you can start a ‘Demo Project.’ The Demo project will help you understand how the pages look like once a cluster is connected. The cluster is handled from the backend by the MayaData team, and hence you get the ability to only view the existing components and features.  Click on the ‘Demo Project’, this redirects you to a new project. You can switch between projects anytime from the drop-down menu on the left-hand side, as shown in the image below.

Kubera project overview

STEP 5:

To connect a cluster, switch to your project and click on the ‘Connect Cluster’ button, copy and execute the lines of code visible in the Pop-Up screen on your command prompt, which is connected to your cluster.

Connecting democluster to directoronline

You will be redirected to Kubera Dashboard. Now, you are all set to monitor your cluster(s).

Kubera multi-cloud dashboard

Installing OpenEBS

OpenEBS provides block volume support through the iSCSI protocol. Therefore, the iSCSI client (initiator) presence on all Kubernetes nodes is required. For Linux platforms, the installation of the iSCSI initiator service and tools depends on your host O/S or the kubelet container. You can follow the below steps for the installation/verification of the required packages. It is mandatory to verify the iSCSI services and ensure that it is running on all the worker nodes. OpenEBS uses the iSCSI protocol to connect to the block volumes. To get the iSCSI initiator installed, please follow the steps at iSCSI-install

Steps for OpenEBS installation

OpenEBS can directly be installed using the Kubera UI. 

The overall installation process is divided into two types:

  1. Basic: Basic Installation is recommended in scenarios where OpenEBS needs to be deployed using the default values.
  2. Advanced: Advanced Installation is recommended in cases where OpenEBS needs to be installed with customized values.

Once the cluster is connected, to install OpenEBS, click on OpenEBS on the left side-bar.

Install openebs

Next, You can choose the installation type as Basic or Advanced based on your requirement. 

If you want to setup OpenEBS with default settings, select Basic Installation else to customize resource limits, node selection, and Node Disk manager before installation, select Advanced Installation.

Basic Installation

The basic installation provides you with an uneditable YAML. All the values have been set to default, and OpenEBS gets deployed in the openebs namespace.

To deploy, click on Deploy OpenEBS.

deploy openebs

The installation might take a few minutes. Once the installation is complete, you'll have the following screen displaying all the Installed OpenEBS components.

openebs installation completed

Click on continue. This redirects you to the page displaying the status of Control Plane Components.

OpenEBS is now successfully installed on your cluster.

Advanced Installation

NOTE:

Scheduling Control Nodes and Data Nodes are the compulsory fields. These need to be selected; otherwise, the pods end up in the pending state as they do not get a node to be scheduled on. All other fields can be customized as per your requirement. In case no values are specified, OpenEBS get installed with default values.

    1. Under Start Installation, specify the Namespace, Default Directory, and Docker registry for OpenEBS Installation.

      Openebs installation

      Note:
  • While specifying the namespace, ensure that it must contain a min of 6 characters without spaces or symbols.
  • While specifying the namespace, you can specify any namespace. In case the specified namespace does not exist, it gets created automatically.
  1. Next, Specify your resource limit. You can choose one of these options available based on the application's size, or you can provide some custom values.

    Kubera setup fig 1
  2. Next, select the nodes where Control Plane components will get scheduled.

    kubera setup fig 2
  3. Similarly, select the nodes where the Data Plane components have to be scheduled.

    kubera setup fig 3
  4. Next, segregate the Disk Filters under Include or Exclude.

  5. OpenEBS now supports MayaStor. To include MayaStor installation, select the slider button, as shown in the image.
    openebs now support mayastor
    To know more about MayaStor, click here.

  6. Once everything is done, the customized YAML gets displayed. Click on Deploy OpenEBS to install OpenEBS.

    kubera setup fig 5

Installation may take a few minutes.

In case the OpenEBS installation fails, you can choose to abort the installation process. Aborting stops installation and removes all the components that may have been installed.

incase openebs installation fails

After aborting, you may retry installation or in case of any further queries, feel free to contact our support.