mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-04-04 17:55:12 -02:30
updated all instances of restart always to restart on-failure with a max of 5 times
This commit is contained in:
@@ -6,7 +6,7 @@ After=docker.service
|
||||
[Service]
|
||||
User=root
|
||||
PermissionsStartOnly=true
|
||||
ExecStart={{ docker_bin_dir | default("/usr/bin") }}/docker run --restart=always \
|
||||
ExecStart={{ docker_bin_dir | default("/usr/bin") }}/docker run --restart=on-failure:5 \
|
||||
--env-file=/etc/etcd.env \
|
||||
{# TODO(mattymo): Allow docker IP binding and disable in envfile
|
||||
-p 2380:2380 -p 2379:2379 #}
|
||||
|
||||
Reference in New Issue
Block a user