Getting Started with Civo Kubernetes: Create Your First Cluster

Learn how to create a Kubernetes cluster on Civo using the dashboard or CLI. Clusters are ready in under 90 seconds. Free trial available with $250 in credit.

4 lessons · 9 min · Beginner

3 minutes reading time

Written by

Civo Team
Civo Team

Marketing Team at Civo

Civo creates a fully managed Kubernetes cluster in under 90 seconds. You get a production-ready k3s cluster with high availability, multi-region support, and a simple interface for managing nodes and networking. This guide covers two ways to create your first cluster: the dashboard and the Civo CLI.

New to Civo? Create a free account and get $250 in credit to get started.

Method 1: Create a cluster using the dashboard

Step 1: Select your region

Log in to the Civo dashboard. Select your preferred region from the lower left of the screen. Choose the region closest to you or your users.

Civo regions

Step 2: Navigate to Kubernetes

From the left navigation, select Kubernetes, then click Create cluster.

Create a Kubernetes cluster

Step 3: Configure your cluster

Fill in the cluster details:

  • Name: give your cluster a memorable name
  • Number of nodes: start with 3 for a production setup, 1 for testing
  • Node size: g4s.kube.medium is a good starting point for most workloads
  • Kubernetes version: select the latest stable version
  • Network: use the default network unless you have an existing network to use
  • Firewall: select Create new firewall or choose an existing one
Create a Kubernetes cluster options

Step 4: Create the cluster

Click Create cluster. Civo will provision your cluster. You will see a progress indicator and the cluster typically becomes active within 90 seconds.

Step 5: Connect with kubectl

Once the cluster status shows Active, download the kubeconfig file from the Cluster information section and connect:

export KUBECONFIG=~/Downloads/civo-cluster-kubeconfig
kubectl get nodes

Expected output:

NAME STATUS ROLES AGE VERSION
k3s-civo-cluster-a1b2c3-node-pool-xyz-1 Ready <none> 2m v1.28.2+k3s1
k3s-civo-cluster-a1b2c3-node-pool-xyz-2 Ready <none> 2m v1.28.2+k3s1
k3s-civo-cluster-a1b2c3-node-pool-xyz-3 Ready <none> 2m v1.28.2+k3s1

Method 2: Create a cluster using the Civo CLI

The Civo CLI is the fastest way to create and manage clusters from your terminal, and works well in scripts and automation.

Install the CLI

macOS

brew tap civo/tools
brew install civo

Linux

curl -sL https://civo.com/get | sh

Verify the installation:

civo version

Add your API key

Find your API key in the Civo dashboard under your account name in the top right, then Security. Generate a new key if needed.

civo apikey add my-key <your-api-key>

Create a cluster

The following command creates a 4-node k3s cluster in the LON1 region, waits for it to be ready, and automatically saves and switches to the new kubeconfig context:

civo kubernetes create civo-cluster \
-n 4 \
-s g4s.kube.medium \
--cluster-type k3s \
--create-firewall \
--firewall-rules "6443" \
--region LON1 \
--wait \
--save \
--merge \
--switch

Expected output:

Building new Kubernetes cluster: civo-cluster
Created Kubernetes cluster civo-cluster in 01 min 12 sec

Verify the cluster

civo kubernetes show civo-cluster

Expected output:

ID : a1b2c3d4-e5f6-7890-abcd-ef1234567890
Name : civo-cluster
Version : 1.28.2+k3s1
Status : ACTIVE
Region : LON1
Network Name : Default
Num Nodes : 4
Size : g4s.kube.medium

Connect with kubectl:

kubectl get nodes

Download kubeconfig separately

If you did not use --save when creating the cluster, download the kubeconfig at any time:

civo kubernetes config civo-cluster --save --merge

Use --merge to add the cluster to your existing kubeconfig without overwriting it.

Ready to try it?

Create a free Civo account and get $250 in credit. No credit card required to start.

Frequently asked questions

Civo Team
Civo Team

Marketing Team at Civo

Civo is the Sovereign Cloud and AI platform designed to help developers and enterprises build without limits. We bridge the gap between the openness of the public cloud and the rigorous security of private environments, delivering full cloud parity across every deployment. As a team, we are dedicated to providing scalable compute, lightning-fast Kubernetes, and managed services that are ready in minutes. Through CivoStack Enterprise and our FlexCore appliance, we empower organizations to maintain total data sovereignty on their own hardware.

Our mission is to make the cloud faster, simpler, and fairer. By providing enterprise-grade NVIDIA GPUs and streamlined model management, we ensure that high-performance AI and machine learning are accessible to everyone. Built for transparency and performance, the Civo Team is here to give you total control over your infrastructure, your data, and your spend.

View author profile