Bug 2305180 - [GSS][DOC] Adding tolerations for cm rook-ceph-operator-config for csi pods
Summary: [GSS][DOC] Adding tolerations for cm rook-ceph-operator-config for csi pods
Keywords:
Status: NEW
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: documentation
Version: 4.15
Hardware: All
OS: All
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Kusuma
QA Contact: Neha Berry
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-08-15 17:31 UTC by kelwhite
Modified: 2024-11-04 06:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OCSBZM-9481 0 None None None 2024-11-04 06:25:22 UTC

Description kelwhite 2024-08-15 17:31:49 UTC
Describe the issue:
In the docs [1] we have the following exmaple of the CM:

apiVersion: v1
data:
[...]
  CSI_PLUGIN_TOLERATIONS: |
    - key: nodetype
      operator: Equal
      value: infra
      effect: NoSchedule
    - key: node.ocs.openshift.io/storage
      operator: Equal
      value: "true"
      effect: NoSchedule
[...]
kind: ConfigMap
metadata:
[...]

Below it, we make a note saying:

Ensure that all non-string values in the Tolerations value field has double quotation marks. For example, the values true which is of type boolean, and 1 which is of type int must be input as "true" and "1".
Describe the task you were trying to accomplish:

We don't follow our own guidelines and add " " around the value of true. This doc BZ bug is opened as urgent as this is will cause issues with this working if quotes are not placed around the 'value' 

Suggestions for improvement:
Change the example to this:
apiVersion: v1
data:
[...]
  CSI_PLUGIN_TOLERATIONS: |
    - key: nodetype
      operator: Equal
      value: "infra"
      effect: NoSchedule
    - key: node.ocs.openshift.io/storage
      operator: Equal
      value: "true"
      effect: NoSchedule
[...]
kind: ConfigMap
metadata:
[...]

Document URL:
https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.16/html/managing_and_allocating_storage_resources/managing-container-storage-interface-component-placements_rhodf#managing-container-storage-interface-component-placements_rhodf
Chapter/Section Number and Title:

Product Version:
4.16 and all lower versions of our documentation:
4.15
4.14 
4.13
4.12
4.11
4.10
4.9
Environment Details:

Any other versions of this document that also needs this update:
All

Additional information:
N/a

[1] https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.15/html/managing_and_allocating_storage_resources/managing-container-storage-interface-component-placements_rhodf#managing-container-storage-interface-component-placements_rhodf


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