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 am currently using HPA to configure autoscaling as explained in official docs.
My question is whether it is possible to increase the values of minReplicas and max Replicas at scheduled time like CronJob so that the server can withstand an expected CPU spike. According to the discussion, Rollouts supports external metrics but I simply want to upscale pods based on the time.
I am new to k8s and Argo Rollouts so any help would be much appreciated.
Example HPA Setting
apiVersion: autoscaling/v1kind: HorizontalPodAutoscalermetadata:
name: hpa-rollout-examplespec:
maxReplicas: 6# I want to configure this value at scheduled timeminReplicas: 2# I want to configure this value at scheduled timescaleTargetRef:
apiVersion: argoproj.io/v1alpha1kind: Rolloutname: example-rollouttargetCPUUtilizationPercentage: 80
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am currently using HPA to configure autoscaling as explained in official docs.
My question is whether it is possible to increase the values of
minReplicas
andmax Replicas
at scheduled time like CronJob so that the server can withstand an expected CPU spike. According to the discussion, Rollouts supports external metrics but I simply want to upscale pods based on the time.I am new to k8s and Argo Rollouts so any help would be much appreciated.
Example HPA Setting
Beta Was this translation helpful? Give feedback.
All reactions