Skip to content

Instantly share code, notes, and snippets.

@shearluck
Created April 30, 2019 02:40
Show Gist options
  • Save shearluck/8ee087345ce67472252483292c00182f to your computer and use it in GitHub Desktop.
Save shearluck/8ee087345ce67472252483292c00182f to your computer and use it in GitHub Desktop.
K3s Centos 7 setup
echo 'net.netfilter.nf_conntrack_max=65528
net.ipv4.netfilter.ip_conntrack_max=65535' >> /etc/sysctl.conf
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
sysctl -p /etc/sysctl.conf
curl -sfL https://get.k3s.io | sh -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment