kubeslice / worker-operator

Kubeslice Worker Operator Opensource Repository: The KubeSlice Worker Operator is a Kubernetes operator that manages the lifecycle of KubeSlice worker clusters.
Apache License 2.0
60 stars 19 forks source link

fix(): fix gateway rebalancing #271

Closed gourishkb closed 1 year ago

gourishkb commented 1 year ago

Use nodeCount by making kubernetes API call, find count of all the nodes with kubeslice.io/node-type=gateway. Instead of relying on the node reconciler to update the NodeExternalIPList (and using that as the nodeCount)