Skip to content

Commit

Permalink
Update kubelet.service (#526)
Browse files Browse the repository at this point in the history
* Update kubelet.service

If kubelet wins the systemd startup race against iptables, then the 
`ExecStartPre=/sbin/iptables -P FORWARD ACCEPT -w 5` may be clobbered by existing rules.

* Correction that the requested change is that this runs after iptables-restore
  • Loading branch information
rfox-godaddy authored Nov 2, 2020
1 parent 5c5a5c5 commit a4a1402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/kubelet.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Unit]
Description=Kubernetes Kubelet
Documentation=https://github.com/kubernetes/kubernetes
After=docker.service
After=docker.service iptables-restore.service
Requires=docker.service

[Service]
Expand Down

0 comments on commit a4a1402

Please sign in to comment.