Skip to content

Commit 3dd874d

Browse files
committed
fixup! docs: Add default taints doc
1 parent af7637a commit 3dd874d

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

docs/content/addons/serviceloadbalancer.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
+++
22
title = "Service LoadBalancer"
3+
icon = "fa-solid fa-arrows-turn-to-dots"
34
+++
45

56
When an application running in a cluster needs to be exposed outside of the cluster, one option is

docs/content/customization/generic/taints.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,20 @@ spec:
2929
value: some-value
3030
```
3131
32+
{{% alert title="Default control plane taints" color="warning" %}}
33+
When using this customization, the default taint added by kubeadm to the control plane nodes will not be added unless
34+
explicitly specified as well.
35+
36+
To add the default taint to the control-plane, add the following taint along with any custom taints you wish to add to
37+
the control-plane taints:
38+
39+
```yaml
40+
- key: node-role.kubernetes.io/control-plane
41+
effect: NoSchedule
42+
```
43+
44+
{{% /alert %}}
45+
3246
Taints for individual nodepools can be configured similarly:
3347
3448
```yaml

pkg/handlers/generic/mutation/taints/inject_suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
. "github.com/onsi/gomega"
1111
)
1212

13-
func TestInstanceTypePatch(t *testing.T) {
13+
func TestTaintsPatch(t *testing.T) {
1414
RegisterFailHandler(Fail)
1515
RunSpecs(t, "Taints patches for ControlPlane and Workers suite")
1616
}

0 commit comments

Comments
 (0)