Kubeadm ClusterClass
Specification
Control Plane | CNI | Default OS | Installs ClusterClass | IPv4 | IPv6 |
---|---|---|---|---|---|
Kubeadm | Cilium | Ubuntu 22.04 | Yes | Yes | No |
Prerequisites
Quickstart completed
Usage
Create clusterClass and first cluster
- Generate the ClusterClass and cluster manifests
clusterctl generate cluster test-cluster \ --kubernetes-version v1.29.1 \ --infrastructure linode-linode \ --flavor clusterclass-kubeadm > test-cluster.yaml
- Apply cluster manifests
kubectl apply -f test-cluster.yaml
(Optional) Create a second cluster using the existing ClusterClass
- Generate cluster manifests
clusterctl generate cluster test-cluster-2 \ --kubernetes-version v1.29.1 \ --flavor clusterclass-kubeadm > test-cluster-2.yaml
apiVersion: cluster.x-k8s.io/v1beta1 kind: Cluster metadata: labels: ccm: test-cluster-2-linode cni: test-cluster-2-cilium crs: test-cluster-2-crs name: test-cluster-2 namespace: default spec: clusterNetwork: pods: cidrBlocks: - 10.192.0.0/10 topology: class: kubeadm controlPlane: replicas: 1 variables: - name: region value: us-ord - name: controlPlaneMachineType value: g6-standard-2 - name: workerMachineType value: g6-standard-2 version: v1.29.1 workers: machineDeployments: - class: default-worker name: md-0 replicas: 1
- Apply cluster manifests
kubectl apply -f test-cluster-2.yaml