Skip to content

Commit

Permalink
Bump restart timer to 60s
Browse files Browse the repository at this point in the history
Signed-off-by: Atanas Dinov <[email protected]>
  • Loading branch information
atanasdinov committed Jun 27, 2024
1 parent ea018de commit 2c10708
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/combustion/templates/k3s-multi-node-installer.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ WantedBy=multi-user.target
[Service]
Type=oneshot
Restart=on-failure
RestartSec=30
RestartSec=60
ExecStart=/opt/bin/kubectl apply -f /opt/k8s/manifests --kubeconfig=/etc/rancher/k3s/k3s.yaml
# Disable the service and clean up
ExecStartPost=/bin/sh -c "systemctl disable kubernetes-resources-install.service"
Expand Down
2 changes: 1 addition & 1 deletion pkg/combustion/templates/k3s-single-node-installer.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ WantedBy=multi-user.target
[Service]
Type=oneshot
Restart=on-failure
RestartSec=30
RestartSec=60
ExecStart=/opt/bin/kubectl apply -f /opt/k8s/manifests --kubeconfig=/etc/rancher/k3s/k3s.yaml
# Disable the service and clean up
ExecStartPost=/bin/sh -c "systemctl disable kubernetes-resources-install.service"
Expand Down
2 changes: 1 addition & 1 deletion pkg/combustion/templates/rke2-multi-node-installer.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ WantedBy=multi-user.target
[Service]
Type=oneshot
Restart=on-failure
RestartSec=30
RestartSec=60
# Copy kubectl in order to avoid SELinux permission issues
ExecStartPre=cp /var/lib/rancher/rke2/bin/kubectl /opt/k8s/kubectl
ExecStart=/opt/k8s/kubectl apply -f /opt/k8s/manifests --kubeconfig /etc/rancher/rke2/rke2.yaml
Expand Down
2 changes: 1 addition & 1 deletion pkg/combustion/templates/rke2-single-node-installer.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ WantedBy=multi-user.target
[Service]
Type=oneshot
Restart=on-failure
RestartSec=30
RestartSec=60
# Copy kubectl in order to avoid SELinux permission issues
ExecStartPre=cp /var/lib/rancher/rke2/bin/kubectl /opt/k8s/kubectl
ExecStart=/opt/k8s/kubectl apply -f /opt/k8s/manifests --kubeconfig /etc/rancher/rke2/rke2.yaml
Expand Down

0 comments on commit 2c10708

Please sign in to comment.