Created
June 4, 2015 15:20
-
-
Save detiber/93496bc657362fac31a2 to your computer and use it in GitHub Desktop.
demo env troubleshooting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#aws block device mapping | |
curl http://169.254.169.254/latest/meta-data/block-device-mapping/ | |
#pod counts: | |
project=demo | |
app=sketchpod | |
watch "echo -n 'Running: '; osc get pods -n ${project} | grep Running | grep deployment | grep -v 'not ready' | grep ${app} | wc -l; echo -n 'Pending: '; osc get pods -n ${project} | grep Pending | grep deployment | grep -v 'not ready' | grep ${app} | wc -l; osc get pods -n ${project} | grep -v Running | grep -v Pending" | |
#sdn subnets: | |
curl -E /etc/openshift/master/master.etcd-client.crt --cacert /etc/openshift/master/ca.crt --key /etc/openshift/master/master.etcd-client.key https://`hostname -f`:4001/v2/keys/openshift.io/registry/sdnsubnets | python -mjson.tool | |
#sdn networks: | |
curl -E /etc/openshift/master/master.etcd-client.crt --cacert /etc/openshift/master/ca.crt --key /etc/openshift/master/master.etcd-client.key https://`hostname -f`:4001/v2/keys/openshift.io/registry/sdnnetworks | python -mjson.tool | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment