为了能够应用https://kubernetes.io/blog/2019/03/29/kube-proxy-subtleties-debugging-an-intermittent-connection-reset/中描述的解决方案,我需要找到一种方法,而不是"echo 1> CoreOS上的/proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_be_liberal“,但无法实现这一点。如何将此解决方案应用于CoreOS?
发布于 2019-11-12 22:23:29
这应该能起到作用:
storage:
files:
# remove with update to 1.15 https://github.com/kubernetes/kubernetes/pull/74840
# hotfix for https://kubernetes.io/blog/2019/03/29/kube-proxy-subtleties-debugging-an-intermittent-connection-reset/
- path: /etc/modules-load.d/ip.conf
filesystem: root
mode: 0644
contents:
inline: |
ip_conntrack
- path: /etc/sysctl.d/ip.conf
filesystem: root
mode: 0644
contents:
inline: |
net.netfilter.ip_conntrack_tcp_be_liberal=1可在操作系统核心文档https://coreos.com/os/docs/latest/other-settings.html#tuning-sysctl-parameters中找到
https://stackoverflow.com/questions/58061551
复制相似问题