Bug 1949553 - Information on how to run OCS with tainted nodes is incomplete
Summary: Information on how to run OCS with tainted nodes is incomplete
Keywords:
Status: CLOSED DUPLICATE of bug 1992472
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: documentation
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Anjana Suparna Sriram
QA Contact: Raz Tamir
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-14 14:21 UTC by David Juran
Modified: 2021-08-11 11:14 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-11 11:14:26 UTC
Embargoed:


Attachments (Terms of Use)

Description David Juran 2021-04-14 14:21:32 UTC
Describe the issue:
In our product docs, we have some bits[1] and pieces[2] of what is
required to run OCS on tainted OCP nodes, but the information is not complete and spread out over multiple locations. 

[1]
https://access.redhat.com/documentation/en-us/red_hat_openshift_container_storage/4.6/html/managing_and_allocating_storage_resources/how-to-use-dedicated-worker-nodes-for-openshift-container-storage_rhocs#adding_toleration_for_local_storage_operator

[2]
https://access.redhat.com/documentation/en-us/red_hat_openshift_container_storage/4.6/html/managing_and_allocating_storage_resources/managing-container-storage-interface-component-placements_rhocs


Suggestions for improvement:
First and foremost, we should gather it all in one place and not spread the information out over multiple chapters.

Second, the current information focuses on "infra" nodes. And while
infra-nodes is a special-case, the same applies to any kind of taints which are applied.
So we should make this clear that this procedure applies as soon as one want to have a taint on your nodes for any kind of reason. And one such reason might be that you want to define an infra node.

Third, we're entirely missing that toleatrions need to be added to LocalVolumeDiscovery CR for this to work with auto-discovered volumes, see example below:

apiVersion: local.storage.openshift.io/v1alpha1
kind: LocalVolumeDiscovery
metadata:
  name: auto-discover-devices
  namespace: openshift-local-storage
spec:
  tolerations:
  - effect: NoSchedule
    key: myTaint
    value: myValue

Comment 2 David Juran 2021-08-11 11:14:26 UTC

*** This bug has been marked as a duplicate of bug 1992472 ***


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