Forked from FreedomBen/query-health-check-endpoint.bash
Created
July 16, 2022 13:06
-
-
Save hemanth22/8f68e6a4925b66ab74b8605f1dc01d7d to your computer and use it in GitHub Desktop.
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
curl -k "https://basic-ocp-demo-basic-ocp-demo-project.apps.cluster1.example.com/healthz" | |
# or build the curl URL programmatically! | |
curl -k "https://$(oc get route basic-ocp-demo -o jsonpath="{.spec.host}")/healthz" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment