Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
454 B
4
Indexable
$ for i in `oc get nodes --no-headers | awk '{print $1}'` ; do echo " " ; echo "----------$i description---------" ;  echo " " ;oc describe node  $i ; done > nodes_desc.txt
$ oc project openshift-etcd
$ oc get pods -n openshift-etcd
$ oc rsh <etcd-name>
# etcdctl member list -w table
# etcdctl endpoint health -w table
# etcdctl endpoint status -w table
# etcdctl get / --prefix --keys-only | sed '/^$/d' | cut -d/ -f3 | sort | uniq -c | sort -rn