Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save samirbehara-zz/ce7bfe7f8fac2c830e64dae04d22f37d to your computer and use it in GitHub Desktop.
Save samirbehara-zz/ce7bfe7f8fac2c830e64dae04d22f37d to your computer and use it in GitHub Desktop.
def test_kubernetes_master_controller_status_is_healthy(k8s_client):
ret = k8s_client.read_component_status('controller-manager')
assert(ret.conditions[0].type == "Healthy" ) # Verify status of Master Controller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment