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 <tnielsen@redhat.com>
This commit is contained in:
Travis Nielsen committed 2020-03-16 15:15:44 -06:00
1 parent a251959061
commit cd4c77fa7d
1 file changed
+10 -20
+10 -20
View File
@@ -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**: