20
20
name : quick-start-control-plane
21
21
machineHealthCheck :
22
22
maxUnhealthy : 100%
23
- unhealthyConditions :
23
+ unhealthyNodeConditions :
24
24
- type : e2e.remediation.condition
25
25
status : " False"
26
26
timeoutSeconds : 20
50
50
name : quick-start-default-worker-machinetemplate
51
51
machineHealthCheck :
52
52
maxUnhealthy : 100%
53
- # We are intentionally not setting the 'unhealthyConditions ' here to test that the field is optional.
53
+ # We are intentionally not setting the 'unhealthyNodeConditions ' here to test that the field is optional.
54
54
machinePools :
55
55
- class : default-worker
56
56
template :
@@ -324,11 +324,15 @@ spec:
324
324
controlPlane : true
325
325
jsonPatches :
326
326
- op : add
327
- path : " /spec/template/spec/kubeadmConfigSpec/joinConfiguration/nodeRegistration/kubeletExtraArgs/cloud-provider"
328
- value : " external"
327
+ path : " /spec/template/spec/kubeadmConfigSpec/joinConfiguration/nodeRegistration/kubeletExtraArgs"
328
+ value :
329
+ name : " cloud-provider"
330
+ value : " external"
329
331
- op : add
330
- path : " /spec/template/spec/kubeadmConfigSpec/initConfiguration/nodeRegistration/kubeletExtraArgs/cloud-provider"
331
- value : " external"
332
+ path : " /spec/template/spec/kubeadmConfigSpec/initConfiguration/nodeRegistration/kubeletExtraArgs"
333
+ value :
334
+ name : " cloud-provider"
335
+ value : " external"
332
336
- name : machineDeploymentExternalCloudProvider
333
337
enabledIf : " {{ .externalCloudProvider }}"
334
338
description : " Configures kubelet to run with an external cloud provider for machineDeployment nodes."
@@ -342,8 +346,10 @@ spec:
342
346
- ' *-worker'
343
347
jsonPatches :
344
348
- op : add
345
- path : " /spec/template/spec/joinConfiguration/nodeRegistration/kubeletExtraArgs/cloud-provider"
346
- value : " external"
349
+ path : " /spec/template/spec/joinConfiguration/nodeRegistration/kubeletExtraArgs"
350
+ value :
351
+ name : " cloud-provider"
352
+ value : " external"
347
353
- selector :
348
354
apiVersion : bootstrap.cluster.x-k8s.io/v1beta2
349
355
kind : KubeadmConfigTemplate
@@ -353,8 +359,10 @@ spec:
353
359
- ' *-worker'
354
360
jsonPatches :
355
361
- op : add
356
- path : " /spec/template/spec/joinConfiguration/nodeRegistration/kubeletExtraArgs/cloud-provider"
357
- value : " external"
362
+ path : " /spec/template/spec/joinConfiguration/nodeRegistration/kubeletExtraArgs"
363
+ value :
364
+ name : " cloud-provider"
365
+ value : " external"
358
366
- name : localEndpointIPv6
359
367
enabledIf : " {{ .ipv6Primary }}"
360
368
description : " Configures KCP to use IPv6 for its localAPIEndpoint."
@@ -447,13 +455,17 @@ spec:
447
455
controlPlane : true
448
456
jsonPatches :
449
457
- op : add
450
- path : " /spec/template/spec/kubeadmConfigSpec/joinConfiguration/nodeRegistration/kubeletExtraArgs/v"
451
- valueFrom :
452
- variable : kubeletLogLevel
458
+ path : " /spec/template/spec/kubeadmConfigSpec/joinConfiguration/nodeRegistration/kubeletExtraArgs"
459
+ value :
460
+ name : v
461
+ valueFrom :
462
+ value : kubeletLogLevel
453
463
- op : add
454
- path : " /spec/template/spec/kubeadmConfigSpec/initConfiguration/nodeRegistration/kubeletExtraArgs/v"
455
- valueFrom :
456
- variable : kubeletLogLevel
464
+ path : " /spec/template/spec/kubeadmConfigSpec/initConfiguration/nodeRegistration/kubeletExtraArgs"
465
+ value :
466
+ name : v
467
+ valueFrom :
468
+ value : kubeletLogLevel
457
469
- name : workerKubeletLogLevel
458
470
enabledIf : " {{ if .kubeletLogLevel }}true{{end}}"
459
471
description : " Configures worker kubelets to log at the level set in the variable `kubeletLogLevel`."
@@ -559,11 +571,13 @@ spec:
559
571
initConfiguration :
560
572
nodeRegistration : # node registration parameters are automatically injected by CAPD according to the kindest/node image in use.
561
573
kubeletExtraArgs : # having a not empty kubeletExtraArgs is required for the externalCloudProvider patch to work
562
- eviction-hard : ' nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'
574
+ name : eviction-hard
575
+ value : ' nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'
563
576
joinConfiguration :
564
577
nodeRegistration : # node registration parameters are automatically injected by CAPD according to the kindest/node image in use.
565
578
kubeletExtraArgs : # having a not empty kubeletExtraArgs is required for the externalCloudProvider patch to work
566
- eviction-hard : ' nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'
579
+ name : eviction-hard
580
+ value : ' nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'
567
581
---
568
582
apiVersion : infrastructure.cluster.x-k8s.io/v1beta2
569
583
kind : DockerMachineTemplate
@@ -648,7 +662,8 @@ spec:
648
662
joinConfiguration :
649
663
nodeRegistration : # node registration parameters are automatically injected by CAPD according to the kindest/node image in use.
650
664
kubeletExtraArgs : # having a not empty kubeletExtraArgs is required for the externalCloudProvider to work
651
- eviction-hard : ' nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'
665
+ name : eviction-hard
666
+ value : ' nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'
652
667
---
653
668
apiVersion : bootstrap.cluster.x-k8s.io/v1beta2
654
669
kind : KubeadmConfigTemplate
@@ -669,4 +684,5 @@ spec:
669
684
joinConfiguration :
670
685
nodeRegistration : # node registration parameters are automatically injected by CAPD according to the kindest/node image in use.
671
686
kubeletExtraArgs : # having a not empty kubeletExtraArgs is required for the externalCloudProvider to work
672
- eviction-hard : ' nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'
687
+ name : eviction-hard
688
+ value : ' nodefs.available<0%,nodefs.inodesFree<0%,imagefs.available<0%'
0 commit comments