-
Bug
-
Resolution: Done
-
Major
-
None
-
OpenShift 4.14 Async, OpenShift 4.15 Async, OpenShift 4.16 Async, OpenShift 4.17 Async, OpenShift 4.18 Async
-
0
-
False
-
-
False
-
-
-
Important
- Here is the documentation link:
https://docs.openshift.com/container-platform/4.14/observability/logging/logging-6.0/log6x-loki.html#logging-loki-pod-placement_logging-6x:~:text=Example%20LokiStack%20CR%20with%20node%20selectors%20and%20tolerations - nodeSelector and tolerations are mentioned twice under the distributor field of Lokistack CR.
distributor: nodeSelector: node-role.kubernetes.io/infra: "" tolerations: - effect: NoSchedule key: node-role.kubernetes.io/infra value: reserved - effect: NoExecute key: node-role.kubernetes.io/infra value: reserved nodeSelector: node-role.kubernetes.io/infra: "" tolerations: - effect: NoSchedule key: node-role.kubernetes.io/infra value: reserved - effect: NoExecute key: node-role.kubernetes.io/infra value: reserved
- values for both nodeSelector and tolerations are the same.
- Keeping it twice is not required and it is an unnecessary configuration.
- Hence need to remove additional nodeSelector and tolerations from the documentation.
- Here is the updated look:
distributor: nodeSelector: node-role.kubernetes.io/infra: "" tolerations: - effect: NoSchedule key: node-role.kubernetes.io/infra value: reserved - effect: NoExecute key: node-role.kubernetes.io/infra value: reserved
- I will raise a PR for this documentation bug and work on it.
- links to
(2 links to)