aenix-io / cozystack

Free and Open Source PaaS-platform for seamless management of virtual machines, managed Kubernetes, and Databases-as-a-Service
https://cozystack.io
Apache License 2.0
795 stars 45 forks source link

cilium: enforce device detection and enable image building #151

Closed kvaps closed 4 months ago

kvaps commented 4 months ago

This PR enables support forexternalTrafficPolicy: Cluster

Since cilium has no native method for dynamicaly configure the devices, we use bash script instead. For two reasons:

1) to dynamicly find the device contains nodeIP 2) to wait until ovn0 device start up

This PR includes the upstream fix:

https://github.com/aenix-io/cozystack/blob/750fe3a34afc5203dfec432684fa510210d5fd51/packages/system/cilium/patches/startup-script.patch

for more details see:

kvaps commented 4 months ago

TODO: should also handle cases when user specified devices explicitly

themoriarti commented 4 months ago

Awesome patch.