Bug 1814325 - [Docs] Required key name for NoSchedule taints on master nodes.
Summary: [Docs] Required key name for NoSchedule taints on master nodes.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.3.z
Assignee: Michael Burke
QA Contact: Sunil Choudhary
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-17 16:31 UTC by Ryan Howe
Modified: 2024-02-04 04:25 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-03 03:33:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ryan Howe 2020-03-17 16:31:30 UTC
Document URL: 

https://docs.openshift.com/container-platform/4.3/nodes/scheduling/nodes-scheduler-taints-tolerations.html

Describe the issue: 

We need to add documentation that states any taints added to the master node must contain have the key "node-role.kubernetes.io/master" set. 

Since some critical cluster components required to run in the cluster contain the toleration:  

```
  - key: node-role.kubernetes.io/master
    operator: Exists
```

If any taint is set on a worker node the dns pod will not run on the nodes. I guess this is ok since it will always run on the masters. 

If any taint is set on the masters though that does not have the key "node-role.kubernetes.io/master" set, then it will not run on the masters. 


Suggestions for improvement: 

Add documentation as to what taints can be set on master nodes as to not break the cluster components. 

Additional information: 

https://github.com/openshift/cluster-dns-operator/commit/6be3d017118b89203f00b9a915ffdfdb9975f145

https://github.com/openshift/cluster-dns-operator/blob/release-4.2/assets/dns/daemonset.yaml#L141

Comment 1 Wolfgang Kulhanek 2020-03-17 17:07:41 UTC
Is that actually true (DNS only needs to run on master nodes)? I thought we introduced a change (in 3.10?) to make DNS run on all nodes to reduce the load on masters...

Comment 8 Michael Burke 2020-08-17 18:36:11 UTC
Ryan --

Is the request here to document "If a NoSchedule taint is added to the master it must have the key   node-role.kubernetes.io/master" and nothing further? 

If so, this appears to be default in 4.5. I would like to mention this also.

See: https://github.com/openshift/openshift-docs/pull/24846

Michael

Comment 9 Michael Burke 2020-09-29 15:08:07 UTC
Sunil -- Please take a look.

Michael

Comment 10 Sunil Choudhary 2020-11-26 09:45:31 UTC
Hi, yeah that is correct. lgtm

Comment 12 Red Hat Bugzilla 2024-02-04 04:25:51 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


Note You need to log in before you can comment on or make changes to this bug.