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:
Eddie Simeon 2015-08-01 23:04:35 -04:00
parent b56edd1355
commit e67f8ae05a
7 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
description "Flannel service"
author "@chenxingyu"
# respawn
respawn
# start in conjunction with etcd
start on started etcd
@ -26,4 +26,4 @@ script
. /etc/default/$UPSTART_JOB
fi
exec "$FLANNEL" $FLANNEL_OPTS
end script
end script

View File

@ -1,7 +1,7 @@
description "Kube-Apiserver service"
author "@jainvipin"
# respawn
respawn
# start in conjunction with etcd
start on started etcd

View File

@ -1,7 +1,7 @@
description "Kube-Controller-Manager service"
author "@jainvipin"
# respawn
respawn
# start in conjunction with etcd
start on started etcd

View File

@ -1,7 +1,7 @@
description "Kube-Scheduler service"
author "@jainvipin"
# respawn
respawn
# start in conjunction with etcd
start on started etcd

View File

@ -1,7 +1,7 @@
description "Flannel service"
author "@chenxingyu"
# respawn
respawn
# start in conjunction with etcd
start on started etcd
@ -26,4 +26,4 @@ script
. /etc/default/$UPSTART_JOB
fi
exec "$FLANNEL" $FLANNEL_OPTS
end script
end script

View File

@ -1,7 +1,7 @@
description "Kube-Proxy service"
author "@jainvipin"
# respawn
respawn
# start in conjunction with etcd
start on started etcd

View File

@ -1,7 +1,7 @@
description "Kubelet service"
author "@jainvipin"
# respawn
respawn
# start in conjunction with etcd
start on started etcd