From 0895cd0fa2e3fd0b41437a9509ed4fbe7d464a76 Mon Sep 17 00:00:00 2001 From: Huamin Chen Date: Wed, 13 Feb 2019 11:34:13 -0500 Subject: [PATCH] follow up #2580 and add endpoints to rook operator Signed-off-by: Huamin Chen --- Documentation/ceph-csi-drivers.md | 2 +- cluster/examples/kubernetes/ceph/operator-with-csi.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/ceph-csi-drivers.md b/Documentation/ceph-csi-drivers.md index 105a68244..e38e4f5e8 100644 --- a/Documentation/ceph-csi-drivers.md +++ b/Documentation/ceph-csi-drivers.md @@ -89,7 +89,7 @@ Once the plugin is successfully deployed, test it by running the following examp This [storageclass](../cluster/examples/kubernetes/ceph/csi/example/rbd/storageclass.yaml) expect a pool named `rbd` in your Ceph cluster. You can create this pool using [rook pool CRD](https://github.com/rook/rook/blob/master/Documentation/ceph-pool-crd.md). -Please update `monitors` to reflect the Ceph mointors. +Please update `monitors` to reflect the Ceph monitors. ### Create the Secret diff --git a/cluster/examples/kubernetes/ceph/operator-with-csi.yaml b/cluster/examples/kubernetes/ceph/operator-with-csi.yaml index a56667913..affe24e1f 100755 --- a/cluster/examples/kubernetes/ceph/operator-with-csi.yaml +++ b/cluster/examples/kubernetes/ceph/operator-with-csi.yaml @@ -294,6 +294,7 @@ rules: # PVs and PVCs are managed by the Rook provisioner - persistentvolumes - persistentvolumeclaims + - endpoints verbs: - get - list @@ -479,7 +480,7 @@ spec: # The duration to wait before trying to failover or remove/replace the # current mon with a new mon (useful for compensating flapping network). - name: ROOK_MON_OUT_TIMEOUT - value: "300s" + value: "600s" # The duration between discovering devices in the rook-discover daemonset. - name: ROOK_DISCOVER_DEVICES_INTERVAL value: "60m"