Skip to content

Commit 67bae1e

Browse files
committed
fixup! docs: Update for apply config
1 parent 78740a2 commit 67bae1e

File tree

1 file changed

+21
-19
lines changed

1 file changed

+21
-19
lines changed

docs/content/customization/generic/taints.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,27 @@ spec:
3131
value: some-value
3232
```
3333
34+
Applying this configuration will result in the following value being set:
35+
36+
- `KubeadmControlPlaneTemplate`:
37+
38+
- ```yaml
39+
spec:
40+
kubeadmConfigSpec:
41+
initConfiguration:
42+
nodeRegistration:
43+
taints:
44+
- key: some-key
45+
effect: NoSchedule
46+
value: some-value
47+
joinConfiguration:
48+
nodeRegistration:
49+
taints:
50+
- key: some-key
51+
effect: NoSchedule
52+
value: some-value
53+
```
54+
3455
#### Default control-plane taint applied by kubeadm
3556

3657
When using this customization, the default taint added by kubeadm to the control plane nodes will not be added unless
@@ -90,25 +111,6 @@ spec:
90111

91112
Applying this configuration will result in the following value being set:
92113

93-
- `KubeadmControlPlaneTemplate`:
94-
95-
- ```yaml
96-
spec:
97-
kubeadmConfigSpec:
98-
initConfiguration:
99-
nodeRegistration:
100-
taints:
101-
- key: some-key
102-
effect: NoSchedule
103-
value: some-value
104-
joinConfiguration:
105-
nodeRegistration:
106-
taints:
107-
- key: some-key
108-
effect: NoSchedule
109-
value: some-value
110-
```
111-
112114
- `KubeadmConfigTemplate`:
113115

114116
- ```yaml

0 commit comments

Comments
 (0)