630464bb8d
Change target cluster name from gtc to target-cluster for CAPG provider Relates-To: #426 Change-Id: I0e694cfae1957a84b668cd36f344dd7c2d00db3d
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
kind: KubeadmControlPlane
|
|
apiVersion: controlplane.cluster.x-k8s.io/v1alpha3
|
|
metadata:
|
|
name: "target-cluster-control-plane"
|
|
namespace: default
|
|
spec:
|
|
replicas: "${CONTROL_PLANE_MACHINE_COUNT}"
|
|
infrastructureTemplate:
|
|
kind: GCPMachineTemplate
|
|
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
|
|
name: "target-cluster-control-plane"
|
|
kubeadmConfigSpec:
|
|
initConfiguration:
|
|
nodeRegistration:
|
|
name: '{{ ds.meta_data.local_hostname.split(".")[0] }}'
|
|
kubeletExtraArgs:
|
|
cloud-provider: gce
|
|
clusterConfiguration:
|
|
apiServer:
|
|
timeoutForControlPlane: 20m
|
|
extraArgs:
|
|
cloud-provider: gce
|
|
controllerManager:
|
|
extraArgs:
|
|
cloud-provider: gce
|
|
allocate-node-cidrs: "false"
|
|
joinConfiguration:
|
|
nodeRegistration:
|
|
name: '{{ ds.meta_data.local_hostname.split(".")[0] }}'
|
|
kubeletExtraArgs:
|
|
cloud-provider: gce
|
|
version: "v1.17.14"
|
|
---
|
|
kind: GCPMachineTemplate
|
|
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
|
|
metadata:
|
|
name: "target-cluster-control-plane"
|
|
namespace: default
|
|
spec:
|
|
template:
|
|
spec:
|
|
instanceType: "${GCP_CONTROL_PLANE_MACHINE_TYPE}"
|