From cd4c77fa7d366f1cde535786c9a7de22b30f3c26 Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Mon, 9 Mar 2020 18:28:20 -0600 Subject: [PATCH] docs: update ceph toolbox to match example yaml The ceph toolbox no longer needs mounts to /dev and /udev. The docs had not previously been updated with this change. Signed-off-by: Travis Nielsen --- Documentation/ceph-toolbox.md | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/Documentation/ceph-toolbox.md b/Documentation/ceph-toolbox.md index ab5db2745..8330f10a2 100644 --- a/Documentation/ceph-toolbox.md +++ b/Documentation/ceph-toolbox.md @@ -47,35 +47,25 @@ spec: secretKeyRef: name: rook-ceph-mon key: admin-secret - securityContext: - privileged: true volumeMounts: - - mountPath: /dev - name: dev - - mountPath: /sys/bus - name: sysbus - - mountPath: /lib/modules - name: libmodules + - mountPath: /etc/ceph + name: ceph-config - name: mon-endpoint-volume mountPath: /etc/rook - # if hostNetwork: false, the "rbd map" command hangs, see https://github.com/rook/rook/issues/2021 - hostNetwork: true volumes: - - name: dev - hostPath: - path: /dev - - name: sysbus - hostPath: - path: /sys/bus - - name: libmodules - hostPath: - path: /lib/modules - name: mon-endpoint-volume configMap: name: rook-ceph-mon-endpoints items: - key: data path: mon-endpoints + - name: ceph-config + emptyDir: {} + tolerations: + - key: "node.kubernetes.io/unreachable" + operator: "Exists" + effect: "NoExecute" + tolerationSeconds: 5 ``` Launch the rook-ceph-tools pod: @@ -96,7 +86,7 @@ Once the rook-ceph-tools pod is running, you can connect to it with: kubectl -n rook-ceph exec -it $(kubectl -n rook-ceph get pod -l "app=rook-ceph-tools" -o jsonpath='{.items[0].metadata.name}') bash ``` -All available tools in the toolbox are ready for your troubleshooting needs. +All available tools in the toolbox are ready for your troubleshooting needs. **Example**: