Merge "change target cluster name (capd)"

This commit is contained in:
Zuul 2020-11-03 01:56:31 +00:00 committed by Gerrit Code Review
commit 931800e43f
5 changed files with 18 additions and 18 deletions

View File

@ -1,12 +1,12 @@
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: DockerCluster
metadata:
name: "dtc"
name: "target-cluster"
---
apiVersion: cluster.x-k8s.io/v1alpha3
kind: Cluster
metadata:
name: "dtc"
name: "target-cluster"
spec:
clusterNetwork:
pods:
@ -19,8 +19,8 @@ spec:
infrastructureRef:
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: DockerCluster
name: "dtc"
name: "target-cluster"
controlPlaneRef:
kind: KubeadmControlPlane
apiVersion: controlplane.cluster.x-k8s.io/v1alpha3
name: "dtc-control-plane"
name: "target-cluster-control-plane"

View File

@ -2,7 +2,7 @@
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: DockerMachineTemplate
metadata:
name: "dtc-control-plane"
name: "target-cluster-control-plane"
spec:
template:
spec:
@ -13,13 +13,13 @@ spec:
kind: KubeadmControlPlane
apiVersion: controlplane.cluster.x-k8s.io/v1alpha3
metadata:
name: "dtc-control-plane"
name: "target-cluster-control-plane"
spec:
replicas: ${ CONTROL_PLANE_MACHINE_COUNT }
infrastructureTemplate:
kind: DockerMachineTemplate
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
name: "dtc-control-plane"
name: "target-cluster-control-plane"
kubeadmConfigSpec:
clusterConfiguration:
apiServer:
@ -53,9 +53,9 @@ spec:
apiVersion: cluster.x-k8s.io/v1alpha3
kind: MachineHealthCheck
metadata:
name: "dtc-mhc-0"
name: "target-cluster-mhc-0"
spec:
clusterName: "dtc"
clusterName: "target-cluster"
maxUnhealthy: 100%
selector:
matchLabels:

View File

@ -2,7 +2,7 @@
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: DockerMachineTemplate
metadata:
name: "dtc-md-0"
name: "target-cluster-md-0"
spec:
template:
spec:
@ -13,7 +13,7 @@ spec:
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha3
kind: KubeadmConfigTemplate
metadata:
name: "dtc-md-0"
name: "target-cluster-md-0"
spec:
template:
spec:
@ -25,9 +25,9 @@ spec:
apiVersion: cluster.x-k8s.io/v1alpha3
kind: MachineDeployment
metadata:
name: "dtc-md-0"
name: "target-cluster-md-0"
spec:
clusterName: "dtc"
clusterName: "target-cluster"
replicas: ${ WORKER_MACHINE_COUNT }
selector:
matchLabels:
@ -36,14 +36,14 @@ spec:
labels:
"nodepool": "pool1"
spec:
clusterName: "dtc"
clusterName: "target-cluster"
version: "v1.18.6"
bootstrap:
configRef:
name: "dtc-md-0"
name: "target-cluster-md-0"
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha3
kind: KubeadmConfigTemplate
infrastructureRef:
name: "dtc-md-0"
name: "target-cluster-md-0"
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: DockerMachineTemplate

View File

@ -8,5 +8,5 @@ patchesJson6902:
group: controlplane.cluster.x-k8s.io
version: v1alpha3
kind: KubeadmControlPlane
name: "dtc-control-plane"
name: "target-cluster-control-plane"
path: machine_count.json

View File

@ -8,5 +8,5 @@ patchesJson6902:
group: cluster.x-k8s.io
version: v1alpha3
kind: MachineDeployment
name: "dtc-md-0"
name: "target-cluster-md-0"
path: machine_count.json