Create Clusters
INFO
To learn about Clusters and the shared responsibility model, see Clusters.
Create a Cluster
- Go to Clusters → Create Cluster
- Configure the properties as desired:
| Property | Description | Default | Required | Can be changed after creation |
|---|---|---|---|---|
| Name | A unique name for this Kubernetes cluster | Yes | No | |
| Version | The Kubernetes minor version. Patch versions are managed automatically | latest | Yes | Yes |
| Pod CIDR | CIDR range for pod IPs. Leave empty for auto-assignment | 10.36.0.0/16 | No | No |
| Service CIDR | CIDR range for cluster service IPs. Leave empty for auto-assignment | 10.96.0.0/16 | No | No |
| DNS Service IP | IP address for the cluster DNS service. Derived from the Service CIDR if not set | .10 of the Service CIDR | No | No |
| kube-proxy | Provides network routing rules on each node. Required unless using a CNI that replaces it | Yes | No | No |
| CoreDNS | Cluster DNS for service discovery. Recommended for most setups | Yes | No | No |
- 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 yetBefore 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
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"
}