Adapting Kubernetes to Constrained IP Address Environments
When it comes to IP addresses, Kubernetes has a demand and supply issue.On the Demand side, Kubernetes treats Pods as first class citizens with their own IPs. This makes port mappings and usage from a …
Talk Title | Adapting Kubernetes to Constrained IP Address Environments |
Speakers | Mahesh Narayanan (Product Manager, Google), Satyadeep Musuvathy (Software Engineer, Google) |
Conference | KubeCon + CloudNativeCon North America |
Conf Tag | |
Location | San Diego, CA, USA |
Date | Nov 15-21, 2019 |
URL | Talk Page |
Slides | Talk Slides |
Video | |
When it comes to IP addresses, Kubernetes has a demand and supply issue.On the Demand side, Kubernetes treats Pods as first class citizens with their own IPs. This makes port mappings and usage from a developer’s point of view much much simpler. But from an infrastructure perspective, this makes the whole cluster use IP addresses liberally.On the Supply side, Kubernetes deployments generally run alongside incumbent networks. Therefore there are not enough IPs to allocate and have a production grade deployment.Based on real world experience by our customers so far, we have found that there are a few ways to design your clusters to address these concerns:– Optimize the per node allocation so that the overall consumption can be optimized– re-use IP addresses for Infrastructure but have unique Services IPs.– Leverage a new IP addressing scheme through non-RFC 1918 ranges