1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00

BZ1832115 - Update optional step for LSO node selector

This commit is contained in:
Bob Furu
2020-05-12 16:04:48 -04:00
committed by openshift-cherrypick-robot
parent 662382bf7b
commit 61c84baceb

View File

@@ -19,16 +19,18 @@ The Local Storage Operator is not installed in {product-title} by default. Use t
$ oc new-project local-storage
----
. Optional: Allow local storage creation on infrastructure nodes.
. Optional: Allow local storage creation on master and infrastructure nodes.
+
You might want to use the Local Storage Operator to create volumes on infrastructure nodes in support of components such as logging and monitoring.
You might want to use the Local Storage Operator to create volumes on master and infrastructure nodes, and not just worker nodes, to support components such as logging and monitoring.
+
You must adjust the default node selector so that the Local Storage Operator includes the infrastructure nodes, and not just worker nodes.
+
To block the Local Storage Operator from inheriting the cluster-wide default selector, enter the following command:
To allow local storage creation on master and infrastructure nodes, add a toleration to the DaemonSet by entering the following commands:
+
----
$ oc annotate project local-storage openshift.io/node-selector=''
$ oc patch ds local-storage-local-diskmaker -n local-storage -p '{"spec": {"template": {"spec": {"tolerations":[{"operator": "Exists"}]}}}}'
----
+
----
$ oc patch ds local-storage-local-provisioner -n local-storage -p '{"spec": {"template": {"spec": {"tolerations":[{"operator": "Exists"}]}}}}'
----
.From the UI