--- apiVersion: cluster.x-k8s.io/v1beta1 kind: Cluster metadata: name: "${CLUSTER_NAME}" spec: clusterNetwork: pods: cidrBlocks: ["192.168.0.0/16"] infrastructureRef: apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: GCPManagedCluster name: "${CLUSTER_NAME}" controlPlaneRef: kind: GCPManagedControlPlane apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 name: "${CLUSTER_NAME}-control-plane" --- apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: GCPManagedCluster metadata: name: "${CLUSTER_NAME}" spec: project: "${GCP_PROJECT}" region: "${GCP_REGION}" network: name: "${GCP_NETWORK_NAME}" --- kind: GCPManagedControlPlane apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 metadata: name: "${CLUSTER_NAME}-control-plane" spec: project: "${GCP_PROJECT}" location: "${GCP_REGION}" --- apiVersion: cluster.x-k8s.io/v1beta1 kind: MachinePool metadata: name: "${CLUSTER_NAME}-mp-0" spec: clusterName: "${CLUSTER_NAME}" replicas: ${WORKER_MACHINE_COUNT} template: spec: bootstrap: dataSecretName: "" clusterName: "${CLUSTER_NAME}" infrastructureRef: apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: GCPManagedMachinePool name: "${CLUSTER_NAME}-mp-0" --- apiVersion: infrastructure.cluster.x-k8s.io/v1beta1 kind: GCPManagedMachinePool metadata: name: "${CLUSTER_NAME}-mp-0" spec: {}