spidernet-io / spiderpool

Underlay and RDMA network solution of the Kubernetes, for bare metal, VM and any public cloud
https://spidernet-io.github.io/spiderpool/
Apache License 2.0
505 stars 72 forks source link

Cleanup jobs should use the host network #3693

Open ty-dc opened 3 days ago

ty-dc commented 3 days ago

Which tests are failing?

If the cleanup job does not use the host network in underlay mode, once the cleanup job fails, the crd, nad, ip pool, etc. may be cleaned up. If the helm command is executed again, the cleanup job will not run because there is no available network configuration.

Because of the helm hook principle, spiderpool-controller and spiderpool-agent must be deleted after the cleanup job is completed. They are interdependent and cannot be uninstalled.

The user experience is very poor.

Job's Link

No response

Reason for failure (if possible)

No response

Anything else we need to know?

No response