You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to disable a number of replicas and NOT set HPA at the same time because I use KEDA, which auto-creates HPAs.
Currently if HPA is not created then replica count is set always to 1 and this setting conflicts with KDEA autoscaler.
With Flux I install it as:
apiVersion: helm.toolkit.fluxcd.io/v2kind: HelmReleasemetadata:
name: podinfospec:
releaseName: podinfochart:
spec:
chart: podinfosourceRef:
kind: HelmRepositoryname: podinforeconcileStrategy: ChartVersionvalues:
hpa:
## It disables static number of replicas for Deployment.## However, we use KEDA then HPA is removed in a patchenabled: truepostRenderers:
- kustomize:
patches:
- patch: |- $patch: delete apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: ANY target: kind: HorizontalPodAutoscaler
but it looks rather like a nice workaround for the initial problem.
The text was updated successfully, but these errors were encountered:
I would like to be able to disable a number of replicas and NOT set HPA at the same time because I use KEDA, which auto-creates HPAs.
Currently if HPA is not created then replica count is set always to 1 and this setting conflicts with KDEA autoscaler.
With Flux I install it as:
but it looks rather like a nice workaround for the initial problem.
The text was updated successfully, but these errors were encountered: