For the ubuntu cluster, master and minion services should respawn.
This will allow more successful kube-up.sh executions. Since kube-apiserver doesn't start on the first try after etcd first starts up possibly due to the lack of resources on my server.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
description "Flannel service"
|
description "Flannel service"
|
||||||
author "@chenxingyu"
|
author "@chenxingyu"
|
||||||
|
|
||||||
# respawn
|
respawn
|
||||||
|
|
||||||
# start in conjunction with etcd
|
# start in conjunction with etcd
|
||||||
start on started etcd
|
start on started etcd
|
||||||
@@ -26,4 +26,4 @@ script
|
|||||||
. /etc/default/$UPSTART_JOB
|
. /etc/default/$UPSTART_JOB
|
||||||
fi
|
fi
|
||||||
exec "$FLANNEL" $FLANNEL_OPTS
|
exec "$FLANNEL" $FLANNEL_OPTS
|
||||||
end script
|
end script
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
description "Kube-Apiserver service"
|
description "Kube-Apiserver service"
|
||||||
author "@jainvipin"
|
author "@jainvipin"
|
||||||
|
|
||||||
# respawn
|
respawn
|
||||||
|
|
||||||
# start in conjunction with etcd
|
# start in conjunction with etcd
|
||||||
start on started etcd
|
start on started etcd
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
description "Kube-Controller-Manager service"
|
description "Kube-Controller-Manager service"
|
||||||
author "@jainvipin"
|
author "@jainvipin"
|
||||||
|
|
||||||
# respawn
|
respawn
|
||||||
|
|
||||||
# start in conjunction with etcd
|
# start in conjunction with etcd
|
||||||
start on started etcd
|
start on started etcd
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
description "Kube-Scheduler service"
|
description "Kube-Scheduler service"
|
||||||
author "@jainvipin"
|
author "@jainvipin"
|
||||||
|
|
||||||
# respawn
|
respawn
|
||||||
|
|
||||||
# start in conjunction with etcd
|
# start in conjunction with etcd
|
||||||
start on started etcd
|
start on started etcd
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
description "Flannel service"
|
description "Flannel service"
|
||||||
author "@chenxingyu"
|
author "@chenxingyu"
|
||||||
|
|
||||||
# respawn
|
respawn
|
||||||
|
|
||||||
# start in conjunction with etcd
|
# start in conjunction with etcd
|
||||||
start on started etcd
|
start on started etcd
|
||||||
@@ -26,4 +26,4 @@ script
|
|||||||
. /etc/default/$UPSTART_JOB
|
. /etc/default/$UPSTART_JOB
|
||||||
fi
|
fi
|
||||||
exec "$FLANNEL" $FLANNEL_OPTS
|
exec "$FLANNEL" $FLANNEL_OPTS
|
||||||
end script
|
end script
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
description "Kube-Proxy service"
|
description "Kube-Proxy service"
|
||||||
author "@jainvipin"
|
author "@jainvipin"
|
||||||
|
|
||||||
# respawn
|
respawn
|
||||||
|
|
||||||
# start in conjunction with etcd
|
# start in conjunction with etcd
|
||||||
start on started etcd
|
start on started etcd
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
description "Kubelet service"
|
description "Kubelet service"
|
||||||
author "@jainvipin"
|
author "@jainvipin"
|
||||||
|
|
||||||
# respawn
|
respawn
|
||||||
|
|
||||||
# start in conjunction with etcd
|
# start in conjunction with etcd
|
||||||
start on started etcd
|
start on started etcd
|
||||||
|
Reference in New Issue
Block a user