Last active
March 24, 2016 01:22
-
-
Save ramr/3b5a6db1c89c5646d7c5 to your computer and use it in GitHub Desktop.
router flake debug
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
| [ramr@localhost origin (cached:reload-fixes:c-0:s-0+0:o-114)]$ echo $(oc get endpoints router --output-version=v1beta3 --template='{{ if .subsets }}{{ len .subsets }}{{ else }}0{{ end }}') | |
| 1 | |
| [ramr@localhost origin (cached:reload-fixes:c-0:s-0+0:o-114)]$ oc get endpoints router | |
| NAME ENDPOINTS AGE | |
| router 33s | |
| ... wait for the router pod to come up ... | |
| [ramr@localhost origin (cached:reload-fixes:c-0:s-0+0:o-114)]$ oc get endpoints router | |
| NAME ENDPOINTS AGE | |
| router 10.0.2.15:80,10.0.2.15:443,10.0.2.15:1936 1m | |
| [ramr@localhost origin (cached:reload-fixes:c-0:s-0+0:o-114)]$ echo $(oc get endpoints router --output-version=v1beta3 --template='{{ if .subsets }}{{ len .subsets }}{{ else }}0{{ end }}') | |
| 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment