mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
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:
parent
b56edd1355
commit
e67f8ae05a
@ -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
|
||||
|
@ -1,7 +1,7 @@
|
||||
description "Kube-Apiserver service"
|
||||
author "@jainvipin"
|
||||
|
||||
# respawn
|
||||
respawn
|
||||
|
||||
# start in conjunction with etcd
|
||||
start on started etcd
|
||||
|
@ -1,7 +1,7 @@
|
||||
description "Kube-Controller-Manager service"
|
||||
author "@jainvipin"
|
||||
|
||||
# respawn
|
||||
respawn
|
||||
|
||||
# start in conjunction with etcd
|
||||
start on started etcd
|
||||
|
@ -1,7 +1,7 @@
|
||||
description "Kube-Scheduler service"
|
||||
author "@jainvipin"
|
||||
|
||||
# respawn
|
||||
respawn
|
||||
|
||||
# start in conjunction with etcd
|
||||
start on started etcd
|
||||
|
@ -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
|
||||
|
@ -1,7 +1,7 @@
|
||||
description "Kube-Proxy service"
|
||||
author "@jainvipin"
|
||||
|
||||
# respawn
|
||||
respawn
|
||||
|
||||
# start in conjunction with etcd
|
||||
start on started etcd
|
||||
|
@ -1,7 +1,7 @@
|
||||
description "Kubelet service"
|
||||
author "@jainvipin"
|
||||
|
||||
# respawn
|
||||
respawn
|
||||
|
||||
# start in conjunction with etcd
|
||||
start on started etcd
|
||||
|
Loading…
Reference in New Issue
Block a user