diff --git a/contrib/ansible/roles/k3s/master/templates/k3s.service.j2 b/contrib/ansible/roles/k3s/master/templates/k3s.service.j2 index 32d1a3a880..d8b9c18c14 100644 --- a/contrib/ansible/roles/k3s/master/templates/k3s.service.j2 +++ b/contrib/ansible/roles/k3s/master/templates/k3s.service.j2 @@ -13,6 +13,7 @@ LimitNPROC=infinity LimitCORE=infinity TasksMax=infinity Restart=always +RestartSec=5s [Install] WantedBy=multi-user.target diff --git a/contrib/ansible/roles/k3s/node/templates/k3s.service.j2 b/contrib/ansible/roles/k3s/node/templates/k3s.service.j2 index fffd727044..d66d4722fd 100644 --- a/contrib/ansible/roles/k3s/node/templates/k3s.service.j2 +++ b/contrib/ansible/roles/k3s/node/templates/k3s.service.j2 @@ -11,5 +11,7 @@ LimitNPROC=infinity LimitCORE=infinity TasksMax=infinity Restart=always +RestartSec=5s + [Install] WantedBy=multi-user.target