From 61c84baceb44fa174fbcbb8ab9785e8d34cb7fed Mon Sep 17 00:00:00 2001 From: Bob Furu Date: Tue, 12 May 2020 16:04:48 -0400 Subject: [PATCH] BZ1832115 - Update optional step for LSO node selector --- modules/persistent-storage-local-install.adoc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/modules/persistent-storage-local-install.adoc b/modules/persistent-storage-local-install.adoc index edea36f360..2a66fed58f 100644 --- a/modules/persistent-storage-local-install.adoc +++ b/modules/persistent-storage-local-install.adoc @@ -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