Skip to content

MetaKube Core Quickstart Guide

This guide will help you quickly set up and start using a Kubernetes cluster with MetaKube Core. It assumes you're already familiar with Kubernetes concepts.

Prerequisites

  • A SysEleven account with access to MetaKube Core
  • kubectl installed on your local machine
  • Basic knowledge of Kubernetes

Step 1: Create a Cluster

  1. Log in to the SysEleven Dashboard.
  2. Navigate to MetaKube Core and click "Create Cluster".
  3. Choose your desired configuration: - Kubernetes version - Region - Initial node pool size
  4. Click "Create" to provision your cluster.

For detailed cluster creation options, see Create Cluster.

Step 2: Connect to Your Cluster

Once your cluster is ready:

  1. In the cluster details page, click "Download Kubeconfig".
  2. Save the kubeconfig file and set your KUBECONFIG environment variable:

    export KUBECONFIG=/path/to/your/kubeconfig
    

  3. Verify the connection:

    kubectl get nodes
    

Step 3: Deploy a Sample Application

Let's deploy a simple nginx application:

kubectl create deployment nginx --image=nginx
kubectl expose deployment nginx --port=80 --type=LoadBalancer

This creates a deployment and exposes it via a LoadBalancer. For more on networking, see Load Balancers.

Step 4: Access Your Application

Check the external IP of your service:

kubectl get services nginx

Once an external IP is assigned, you can access your nginx server at http://<EXTERNAL-IP>.

Tip

Make sure that OpenStack Security Groups allow access to the ports you want to use.

Step 5: Scale Your Application

Scale the deployment to 3 replicas:

kubectl scale deployment nginx --replicas=3