File tree 5 files changed +27
-17
lines changed
5 files changed +27
-17
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,6 @@ metadata:
42
42
name : ${CLUSTER_NAME}-control-plane
43
43
namespace : default
44
44
spec :
45
- infrastructureTemplate :
46
- apiVersion : infrastructure.cluster.x-k8s.io/v1alpha4
47
- kind : AzureMachineTemplate
48
- name : ${CLUSTER_NAME}-control-plane
49
45
kubeadmConfigSpec :
50
46
clusterConfiguration :
51
47
apiServer :
@@ -198,6 +194,11 @@ spec:
198
194
preKubeadmCommands :
199
195
- bash -c /tmp/kubeadm-bootstrap.sh
200
196
useExperimentalRetryJoin : true
197
+ machineTemplate :
198
+ infrastructureRef :
199
+ apiVersion : infrastructure.cluster.x-k8s.io/v1alpha4
200
+ kind : AzureMachineTemplate
201
+ name : ${CLUSTER_NAME}-control-plane
201
202
replicas : ${CONTROL_PLANE_MACHINE_COUNT}
202
203
version : ${KUBERNETES_VERSION}
203
204
---
@@ -232,9 +233,8 @@ metadata:
232
233
namespace : default
233
234
spec :
234
235
clusterName : ${CLUSTER_NAME}
235
- replicas : ${WORKER_MACHINE_COUNT}
236
- selector :
237
- matchLabels : null
236
+ replicas : " 0"
237
+ selector : {}
238
238
template :
239
239
spec :
240
240
bootstrap :
Original file line number Diff line number Diff line change @@ -161,9 +161,8 @@ metadata:
161
161
namespace : default
162
162
spec :
163
163
clusterName : ${CLUSTER_NAME}
164
- replicas : ${WORKER_MACHINE_COUNT}
165
- selector :
166
- matchLabels : null
164
+ replicas : " 0"
165
+ selector : {}
167
166
template :
168
167
spec :
169
168
bootstrap :
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ patchesStrategicMerge:
8
8
- ../patches/tags.yaml
9
9
- ../patches/cluster-cni-windows.yaml
10
10
- ../patches/controller-manager.yaml
11
+ - patches/drop-linux-pool.yaml
11
12
patchesJson6902 :
12
13
- target :
13
14
group : bootstrap.cluster.x-k8s.io
Original file line number Diff line number Diff line change
1
+ apiVersion : cluster.x-k8s.io/v1alpha4
2
+ kind : MachineDeployment
3
+ metadata :
4
+ name : ${CLUSTER_NAME}-md-0
5
+ namespace : default
6
+ spec :
7
+ # For upstream prow jobs we don't need Linux pools
8
+ # the templates are based off the base windows template
9
+ # and kustomize doesn't allow remove resources.
10
+ replicas : 0
Original file line number Diff line number Diff line change @@ -44,10 +44,6 @@ metadata:
44
44
name : ${CLUSTER_NAME}-control-plane
45
45
namespace : default
46
46
spec :
47
- infrastructureTemplate :
48
- apiVersion : infrastructure.cluster.x-k8s.io/v1alpha4
49
- kind : AzureMachineTemplate
50
- name : ${CLUSTER_NAME}-control-plane
51
47
kubeadmConfigSpec :
52
48
clusterConfiguration :
53
49
apiServer :
@@ -173,6 +169,11 @@ spec:
173
169
preKubeadmCommands :
174
170
- bash -c /tmp/replace-k8s-binaries.sh
175
171
useExperimentalRetryJoin : true
172
+ machineTemplate :
173
+ infrastructureRef :
174
+ apiVersion : infrastructure.cluster.x-k8s.io/v1alpha4
175
+ kind : AzureMachineTemplate
176
+ name : ${CLUSTER_NAME}-control-plane
176
177
replicas : ${CONTROL_PLANE_MACHINE_COUNT}
177
178
version : ${KUBERNETES_VERSION}
178
179
---
@@ -207,9 +208,8 @@ metadata:
207
208
namespace : default
208
209
spec :
209
210
clusterName : ${CLUSTER_NAME}
210
- replicas : ${WORKER_MACHINE_COUNT}
211
- selector :
212
- matchLabels : null
211
+ replicas : " 0"
212
+ selector : {}
213
213
template :
214
214
spec :
215
215
bootstrap :
You can’t perform that action at this time.
0 commit comments