1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-16 15:10:12 +00:00

add multiple role labels to nodes

This commit is contained in:
moelsayed
2017-11-30 03:41:17 +02:00
parent e8a611f12a
commit 7b405446bb
2 changed files with 14 additions and 7 deletions

View File

@@ -10,7 +10,7 @@ func RunWorkerPlane(controlHosts []hosts.Host, workerHosts []hosts.Host, workerS
logrus.Infof("[%s] Building up Worker Plane..", WorkerRole)
for _, host := range controlHosts {
// only one master for now
if err := runKubelet(host, workerServices.Kubelet, true); err != nil {
if err := runKubelet(host, workerServices.Kubelet); err != nil {
return err
}
if err := runKubeproxy(host, workerServices.Kubeproxy); err != nil {
@@ -32,7 +32,7 @@ func RunWorkerPlane(controlHosts []hosts.Host, workerHosts []hosts.Host, workerS
}
}
// run kubelet
if err := runKubelet(host, workerServices.Kubelet, false); err != nil {
if err := runKubelet(host, workerServices.Kubelet); err != nil {
return err
}
// run kubeproxy