API Reference

Prerequisite

  • A fully functional Kubernetes cluster.
  • An Ingress controller installed in the cluster with SSL passthrough enabled.
  • A domain with wildcard entry and SSL certificate.

Creation of data center

Login to Klusternetes

Login to klusternetes using your Gmail or GitHub account. You will see the following screen:

klusternetes login page

klusternetes login page

Datacenter Creation

Go to the Home page of the Klusternetes UI, and in the left navigation bar, click on the Data center option.

Navigation bar

Navigation bar

You will be redirected to a data center page that looks something like this:

Datacenter page

Datacenter page

Adding Datacenter

Click on the Add Datacenter option at the top left, and enter the details of your Kubernetes cluster and the domain. Then click on Submit.

Add datacenter page

Add datacenter page

Datacenter name= Name of your choice
Sub-domain Name= Name of the domain with wild card entry
Apps Sub-domain Name= Name of the domain with wild card entry
External IP Address= External IP address of the Cluster.

Configuring

Once the details are submitted, a Helm chart reference will be displayed on the same page.

helm instructions after database creation

helm instructions after database creation

Follow the instructions given there to configure your cluster as a data center.

Verification

Verify the operator is up and running by using the following command:

kubectl get po -n knts-operator

You can create an account once the knts-operator pod is up and running.

Account Creation

Go to the Home page. You will be directed to the account creation page. Name the account with the desired name and click Submit.

Account creation page

Account creation page

Select a Plan and data center

You will be prompted to select a plan for the account. At the top, you will see an option for Data Center. Choose the data center that you created in the above step and continue with the steps from Getting Started.