tkestack/galaxy

Support immutable/never release policy for all workloads

Closed this issue · 1 comments

client-go has a generic scale API which makes this possible to implement.

Scale API doesn't support list and watch, but we can watch all custom resources by dynamicFactory. Here is an example kubernetes/autoscaler@b9dd030 . And we can get custom resources' scales from SpecReplicasPath based on their custom resource definitions to implement immutable policy.