apiVersion: cluster.x-k8s.io/v1alpha3 kind: Cluster metadata: name: management-plane namespace: default spec: clusterNetwork: pods: cidrBlocks: - 10.244.0.0/16 services: cidrBlocks: - 10.96.0.0/12 controlPlaneRef: apiVersion: controlplane.cluster.x-k8s.io/v1alpha3 kind: TalosControlPlane name: management-plane-cp infrastructureRef: apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3 kind: MetalCluster name: management-plane --- apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3 kind: MetalCluster metadata: name: management-plane namespace: default spec: controlPlaneEndpoint: host: 192.168.1.12 port: 6443 --- apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3 kind: MetalMachineTemplate metadata: name: management-plane-cp namespace: default spec: template: spec: serverClassRef: apiVersion: metal.sidero.dev/v1alpha1 kind: ServerClass name: m5.xlarge --- apiVersion: controlplane.cluster.x-k8s.io/v1alpha3 kind: TalosControlPlane metadata: name: management-plane-cp namespace: default spec: controlPlaneConfig: controlplane: generateType: controlplane talosVersion: v0.11.2 init: generateType: init talosVersion: v0.11.2 infrastructureTemplate: apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3 kind: MetalMachineTemplate name: management-plane-cp replicas: 1 version: v1.20.1 --- apiVersion: bootstrap.cluster.x-k8s.io/v1alpha3 kind: TalosConfigTemplate metadata: name: management-plane-workers namespace: default spec: template: spec: generateType: join talosVersion: v0.11.2 --- apiVersion: cluster.x-k8s.io/v1alpha3 kind: MachineDeployment metadata: name: management-plane-workers namespace: default spec: clusterName: management-plane replicas: 3 selector: matchLabels: null template: spec: bootstrap: configRef: apiVersion: bootstrap.cluster.x-k8s.io/v1alpha3 kind: TalosConfigTemplate name: management-plane-workers clusterName: management-plane infrastructureRef: apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3 kind: MetalMachineTemplate name: management-plane-workers version: v1.20.1 --- apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3 kind: MetalMachineTemplate metadata: name: management-plane-workers namespace: default spec: template: spec: serverClassRef: apiVersion: metal.sidero.dev/v1alpha1 kind: ServerClass name: m5.xlarge