def test_worker_services(self):
     '''Test if the worker services are running.'''
     for worker in self.workers:
         services = [
             'docker', 'snap.kubelet.daemon', 'snap.kube-proxy.daemon'
         ]
         for service in services:
             self.assertTrue(check_systemd_service(worker, service))
Пример #2
0
 def test_master_services(self):
     '''Test if the master services are running.'''
     for master in self.masters:
         services = [
             'kube-apiserver', 'kube-controller-manager', 'kube-scheduler'
         ]
         for service in services:
             self.assertTrue(check_systemd_service(master, service))
 def test_worker_services(self):
     '''Test if the worker services are running.'''
     for worker in self.workers:
         services = [
             'docker',
             'snap.kubelet.daemon',
             'snap.kube-proxy.daemon'
         ]
         for service in services:
             self.assertTrue(check_systemd_service(worker, service))
 def test_master_services(self):
     '''Test if the master services are running.'''
     for master in self.masters:
         services = [
             'snap.kube-apiserver.daemon',
             'snap.kube-controller-manager.daemon',
             'snap.kube-scheduler.daemon'
         ]
         for service in services:
             self.assertTrue(check_systemd_service(master, service))