change target cluster name (capd)
Change target cluster name for capd provider from "dtc" to "target-cluster" target cluster name changed at below entrypoints: - manifests/function/k8scontrol-capd - manifests/function/workers-capd - manifests/site/docker-test-site Change-Id: I72adeaf80a0d098d18e4334b02511d9917fe77b2
This commit is contained in:
parent
6a4e23b6a8
commit
012a4f27de
@ -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"
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user