--- apiVersion: cluster.x-k8s.io/v1alpha3 kind: Cluster metadata: name: target-cluster spec: clusterNetwork: services: cidrBlocks: ["10.96.0.0/12"] pods: cidrBlocks: ["192.168.0.0/18"] serviceDomain: "cluster.local" infrastructureRef: apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3 kind: Metal3Cluster name: target-cluster controlPlaneRef: kind: KubeadmControlPlane apiVersion: controlplane.cluster.x-k8s.io/v1alpha3 name: cluster-controlplane --- apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3 kind: Metal3Cluster metadata: name: target-cluster spec: controlPlaneEndpoint: host: 10.23.25.102 port: 6443 noCloudProvider: true