Replies: 1 comment
-
Honestly, I have no idea. An external operator could be good, although this could be done also by KEDA but I'm worried you have to write your own scaler (the one that would update the Tenant)
Absolutely, all the changes applied to the Tenant definition are reflected in all the children resources, ResourceQuota and LimitRange for the given case.
The Tenant resource quota management is delegated to the dynamic admission controller
I know @MaxFedotov implemented at WarGaming their own auto scaler, maybe his perspective can help you nail your goal. |
Beta Was this translation helpful? Give feedback.
-
Hey, I was thinking about to configure the some
Tenant.spec.
values using an external API to fetch corresponding values of the desired resources.Imagine I developed an
QuotaAPI
that running in the cluster as a service. It returns some bulk data in JSON format:Use-case: this API is needed because cluster has auto-scale enabled. All values is calculated automatically according to resources we have.
For example, I'd like to set
resourceQuotas
andlimitRanges
for each Tenant differently by using myQuotaAPI
.Obviously, this would break Capsule's declarative manner, but I can not see any problem in imperative way.
Q/As:
Beta Was this translation helpful? Give feedback.
All reactions