Last active
August 10, 2017 01:05
-
-
Save portante/b312d0090847109ec9c36460a81d46aa to your computer and use it in GitHub Desktop.
How to tell which host is the active controller in OpenShift
This file contains hidden or 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
| #!/bin/bash | |
| # The actively running controller returns 200 for /controllers on port 8444. | |
| oc get --raw /controllers --server https://localhost:8444 | |
| # You'll get 201 accepted if the controller is waiting |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment