Skip to content

Instantly share code, notes, and snippets.

@gianrubio
Created May 9, 2017 07:21
Show Gist options
  • Select an option

  • Save gianrubio/333e4b435115f97c0159d8ba170c058d to your computer and use it in GitHub Desktop.

Select an option

Save gianrubio/333e4b435115f97c0159d8ba170c058d to your computer and use it in GitHub Desktop.
K8s increase nf_conntrack_max
or i in `kubectl get nodes |grep -v "NAME"| awk '{print $1}'`; do ssh -t core@$i "sudo sysctl net.netfilter.nf_conntrack_max=1000000" ;done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment