Skip to content

Create Clusters ​

INFO

To learn about Clusters and the shared responsibility model, see Clusters.

Create a Cluster ​

  1. Go to Clusters → Create Cluster
  2. Configure the properties as desired:
PropertyDescriptionDefaultRequiredCan be changed after creation
NameA unique name for this Kubernetes clusterYesNo
VersionThe Kubernetes minor version. Patch versions are managed automaticallylatestYesYes
Pod CIDRCIDR range for pod IPs. Leave empty for auto-assignment10.36.0.0/16NoNo
Service CIDRCIDR range for cluster service IPs. Leave empty for auto-assignment10.96.0.0/16NoNo
DNS Service IPIP address for the cluster DNS service. Derived from the Service CIDR if not set.10 of the Service CIDRNoNo
kube-proxyProvides network routing rules on each node. Required unless using a CNI that replaces itYesNoNo
CoreDNSCluster DNS for service discovery. Recommended for most setupsYesNoNo
  1. Click Roll out

Wait some minutes for your cluster to become ready.

Connect to the Cluster ​

Once your cluster is ready, grab the .kubeconfig (Admin) file from the Info page, which will grant you full access to the cluster.

shell
$ export KUBECONFIG=/path/to/my/cluster.kubeconfig
$ kubectl cluster-info
Kubernetes control plane is running at ...

$ kubectl get nodes
# no nodes created yet

Before starting to deploy workloads, Machine Pools and Machines must be created and assigned.

INFO

meltcloud Clusters do not come with any CNI preinstalled. To put your Nodes into ready state, a CNI must be configured and deployed first!

Terraform ​

Reference

terraform
# create cluster
resource "meltcloud_cluster" "example" {
  name           = "melt02"
  version        = "1.35"
  pod_cidr       = "10.36.0.0/16"
  service_cidr   = "10.96.0.0/16"
  dns_service_ip = "10.96.0.10"
}
terraform
# create cluster with explicit network configuration
resource "meltcloud_cluster" "example_custom_network" {
  name    = "melt03"
  version = "1.33"

  pod_cidr       = "10.36.0.0/16"
  service_cidr   = "10.96.0.0/16"
  dns_service_ip = "10.96.0.10"
}