-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
I'm not sure if you consider this a bug or not - but I was very surprised when I saw the IP range we got by default with a new kops deployed cluster.
kops/upup/pkg/fi/cloudup/defaults.go
Line 70 in 2c93bff
| c.Spec.NonMasqueradeCIDR = "100.64.0.0/10" |
At least as I read https://tools.ietf.org/html/rfc6598#section-4 kops fails per " Because CGN service requires non-overlapping address space on each
side of the home NAT and CGN, entities using Shared Address Space for
purposes other than for CGN service, as described in this document,
are likely to experience problems implementing or connecting to CGN
service at such time as they exhaust their supply of public IPv4
addresses."
It would be better - as well as delivering more IP space - to use RFC1918 addresses such as 10/8. I've been trying to think of a technical reason you might prefer RFC6598 addresses, but I'm drawing a blank :). If this isn't actually a strategic choice, I'd be happy to put forward a patch fixing the default.