"Docs: Fix OSD Information script

This commit is contained in:
bzub committed 2017-06-23 23:48:40 -05:00
1 parent cad66cff7c
commit d87ff5b3e4
1 file changed
+2 -1
+2 -1
View File
@@ -41,8 +41,9 @@ done|sort -V|column -t
```bash
# Get OSD Pods
# This uses the example/default cluster name "rook"
OSD_PODS=$(kubectl get pods --all-namespaces -l \
app=osd,rook_cluster=cluster -o jsonpath='{.items[*].metadata.name}')
app=rook-ceph-osd,rook_cluster=rook -o jsonpath='{.items[*].metadata.name}')
# Find node and drive associations from OSD pods
for pod in $(echo ${OSD_PODS})