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 | |
| Release Channel Foundry 1.6+ | The Release Channel whose Kubernetes Bundles the Cluster follows, or manual to pin one | the installation's default | Yes | Yes |
| Version | The Kubernetes minor version. Patch versions are managed automatically | latest | Yes, unless pinned | Yes |
| Pinned Version Foundry 1.6+ | The Kubernetes Bundle to pin. Pin a version to not upgrade it automatically | Only with manual | 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 | Yes, see Configure Add-ons Foundry 1.8+ |
| CoreDNS | Cluster DNS for service discovery. Recommended for most setups | Yes | No | Yes, see Configure Add-ons Foundry 1.8+ |
| High availability | Runs the control plane with multiple replicas, see Enable High Availability. Available once the Nest is scaled out | Off | No | Yes |
- 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"
}