Replies: 5 comments 3 replies
-
Added |
Beta Was this translation helpful? Give feedback.
-
I think it could also be nice to provide an option to control the |
Beta Was this translation helpful? Give feedback.
-
I changed the setting names according to the latest deprecation warnings (see https://docs.cilium.io/en/latest/operations/upgrade/#deprecated-options). This also gave me the idea that maybe we should control the Cilium version (e.g. |
Beta Was this translation helpful? Give feedback.
-
It seems |
Beta Was this translation helpful? Give feedback.
-
Super interesting! Go for it @M4t7e, this should be a huge improvement. @kube-hetzner/core @ifeulner FYI. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys, I have the idea to introduce a fully integrated network model (aka flat model) for Cilium. The current Cilium integration doesn't take advantage of many of the most popular benefits, which is why people usually go for it. I would like to change that and try to achieve a best practice configuration, comparable to the big public clouds (e.g. GKE, EKS). See: https://cloud.google.com/kubernetes-engine/docs/concepts/gke-compare-network-models#fully-integrated-model
There is also a problem currently with a decoupled K3s/Hetzner CCM IPAM and the Cilium IPAM (possibly also with Calico, but I would leave Calico aside for now). Cilium completely ignores the K3s/CCM IPAM and uses its own IPAM instead. This can cause routing issues if the Cilium overlay is disabled or you want to natively route from pods to the outside of the cluster without maquerading. -> The back routes for various pod CIDRs pointing to the nodes (configured by Hetzner CCM) may differ from what Cilium assigned to them.
Goals:
Current Draft:
Remarks:
devices
is removed, because Cilium needs full control over all interfaces. Onlyeth1
would not work for most of these settings.ipv4NativeRoutingCIDR
freely configurable (defaultnetwork_ipv4_cidr
), so that bigger routed network setups are possible (e.g. connect K3s Hetzner Network via VPN to other Projects, Clouds, DCs, etc.)Cilium Status Output
What do you guys think? Does it make sense to go in this direction? Did I miss something or do you already see problems with the current draft? Also, if you see other points to consider here, please do not hesitate to mention them 🙂
PS: I'm not a Cilium expert, so a critical review would be more than welcome! I tried my best to create something good based on many docs, examples and tutorials.
Beta Was this translation helpful? Give feedback.
All reactions