mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 00:34:10 -04:00
set k8s master charm state to blocked if the services appear to be failing
This commit is contained in:
parent
3a0d8f8fea
commit
809a0abb31
1 changed files with 1 additions and 1 deletions
|
|
@ -329,7 +329,7 @@ def idle_status(kube_api, kube_control):
|
|||
hookenv.status_set('active', 'Kubernetes master running.')
|
||||
else:
|
||||
msg = 'Stopped services: {}'.format(','.join(failing_services))
|
||||
hookenv.status_set('waiting', msg)
|
||||
hookenv.status_set('blocked', msg)
|
||||
|
||||
|
||||
def master_services_down():
|
||||
|
|
|
|||
Loading…
Reference in a new issue