Skip to content

Commit

Permalink
Increase number of watches
Browse files Browse the repository at this point in the history
Temporal workaround for kubernetes/kubernetes#69015

(cherry picked from commit 6d32980)
  • Loading branch information
hectorhuertas committed Dec 19, 2018
1 parent c99b027 commit c2ede5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/worker-kubelet.service
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ ExecStartPre=/usr/bin/mkdir -p /var/lib/calico
# This is a partial workaround to this upstream Kubernetes issue:
# https://github.com/kubernetes/kubernetes/issues/41916#issuecomment-312428731
ExecStartPre=/sbin/sysctl -w net.ipv4.tcp_retries2=8
# This is a temporal workaround this upstream Kubernetes issue:
# https://github.com/kubernetes/kubernetes/issues/69015
ExecStartPre=/sbin/sysctl -w fs.inotify.max_user_watches=524288
ExecStartPre=/opt/bin/cfssl-new-cert
ExecStart=/usr/bin/docker \
run \
Expand Down

0 comments on commit c2ede5d

Please sign in to comment.