From 33fc9a013ada14565fda4515f9f22abdfca1b066 Mon Sep 17 00:00:00 2001 From: Umanga Chapagain Date: Mon, 8 Jul 2019 11:57:29 +0530 Subject: [PATCH] updates helm-operator documentation + added new nodeAffinity options Signed-off-by: Umanga Chapagain --- Documentation/helm-operator.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/helm-operator.md b/Documentation/helm-operator.md index 8ac316a33..c7ff7f732 100644 --- a/Documentation/helm-operator.md +++ b/Documentation/helm-operator.md @@ -104,19 +104,24 @@ The following tables lists the configurable parameters of the rook-operator char | `hostpathRequiresPrivileged` | Runs Ceph Pods as privileged to be able to write to `hostPath`s in OpenShift with SELinux restrictions. | `false` | | `agent.flexVolumeDirPath` | Path where the Rook agent discovers the flex volume plugins (*) | `/usr/libexec/kubernetes/kubelet-plugins/volume/exec/` | | `agent.libModulesDirPath` | Path where the Rook agent should look for kernel modules (*) | `/lib/modules` | -| `agent.mounts` | Additional paths to be mounted in the agent container | | +| `agent.mounts` | Additional paths to be mounted in the agent container (**) | | | `agent.mountSecurityMode` | Mount Security Mode for the agent. | `Any` | | `agent.toleration` | Toleration for the agent pods | | | `agent.tolerationKey` | The specific key of the taint to tolerate | | | `agent.tolerations` | Array of tolerations in YAML format which will be added to agent deployment | | +| `agent.nodeAffinity` | The node labels for affinity of `rook-agent` (***) | | | `discover.toleration` | Toleration for the discover pods | | | `discover.tolerationKey` | The specific key of the taint to tolerate | | | `discover.tolerations` | Array of tolerations in YAML format which will be added to discover deployment | | +| `discover.nodeAffinity` | The node labels for affinity of `discover-agent` (***) | | | `mon.healthCheckInterval` | The frequency for the operator to check the mon health | `45s` | | `mon.monOutTimeout` | The time to wait before failing over an unhealthy mon | `600s` | * For information on what to set `agent.flexVolumeDirPath` to, please refer to the [Rook flexvolume documentation](flexvolume.md) -* `agent.mounts` should have this format `mountname1=/host/path:/container/path,mountname2=/host/path2:/container/path2` + +* * `agent.mounts` should have this format `mountname1=/host/path:/container/path,mountname2=/host/path2:/container/path2` + +* * * `agent.nodeAffinity` and `discover.nodeAffinity` should have the format `"role=storage,rook; storage=ceph"` or `storage=;role=rook-example` or `storage=;` (_checks only for presence of key_) ### Command Line You can pass the settings with helm command line parameters. Specify each parameter using the