Swimminginthought

A place for all things technical and my mind..

Menu
  • About Me / Hire Me
Menu

Kubernetes install gotcha on CentOS-7.x

Posted on September 11, 2019September 11, 2019 by Percy Kwong

Hey for all of you hand-rolling a Kubernetes / Docker cluster, I thought I’d mention a bug with Centos 7.x that is still yet to be fixed.  The error is:

/proc/sys/net/bridge/bridge-nf-call-iptables: No such file or directory.

The fix is simple.  Just execute the following command (as root).

$ modprobe -v br_netfilter

Problem solved.  If you don’t fix this problem and just ignore it, you won’t be able to resolve dns between your nodes.  (There are probably a couple of other issues that can be associated with ignoring the error, but I wouldn’t know.  I just noticed this problem during my build-out of the cluster and just **fixed** it.

To ensure that the module loads every time you reboot, run the following command:

echo "br_netfilter" > /etc/modules-load.d/00-br_netfilter.conf

Problem solved.  Buy me a cookie 🙂

If you’re interested in discussing what the Cloud and Infrastructure as Code can do for you or you’re looking for an Architect / Solution provider, consider hiring me.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • Kubernetes install gotcha on CentOS-7.x
  • Infrastructure as Code using AWS Cloudformation
  • Does SSL matter? It does and it’s not just web encryption.
  • Apache can’t serve the .well-known directory
  • Cloudy with a chance of Meatballs
  • Resurrection of the Blog
  • Encryption type Matters with Deep Packet Inspection – solved
  • Completely off topic.. Just a personal note.
©2023 Swimminginthought | Built using WordPress and Responsive Blogily theme by Superb