def master_services_down():
    'Ensure master services are up and running.\n\n    Return: list of failing services'
    services = ['kube-apiserver', 'kube-controller-manager', 'kube-scheduler']
    failing_services = []
    for service in services:
        daemon = 'snap.{}.daemon'.format(service)
        if (not host.service_running(daemon)):
            failing_services.append(service)
    return failing_services
Ensure master services are up and running.

Return: list of failing services
def master_services_down():
    'Ensure master services are up and running.\n\n    Return: list of failing services'
    services = ['kube-apiserver', 'kube-controller-manager', 'kube-scheduler']
    failing_services = []
    for service in services:
        daemon = 'snap.{}.daemon'.format(service)
        if (not host.service_running(daemon)):
            failing_services.append(service)
    return failing_services