Add ContainerResource scaling to spire-server HPA (#746)
* Add ContainerResource scaling to spire-server HPA Signed-off-by: Jayme Howard <[email protected]> * Amend flag name to address feedback Signed-off-by: Jayme Howard <[email protected]> --------- Signed-off-by: Jayme Howard <[email protected]> Co-authored-by: kfox1111 <[email protected]>
This commit is contained in:
@@ -103,12 +103,14 @@ resources: {}
|
||||
## @param autoscaling.enabled Flag to enable autoscaling
|
||||
## @param autoscaling.minReplicas Minimum replicas for autoscaling
|
||||
## @param autoscaling.maxReplicas Maximum replicas for autoscaling
|
||||
## @param autoscaling.scaleOnSPIREServerOnly Flag to only consider the main SPIRE container for autoscaling purposes
|
||||
## @param autoscaling.targetCPUUtilizationPercentage Target CPU utilization that triggers autoscaling
|
||||
##
|
||||
autoscaling:
|
||||
enabled: false
|
||||
minReplicas: 1
|
||||
maxReplicas: 100
|
||||
scaleOnSPIREServerOnly: false
|
||||
targetCPUUtilizationPercentage: 80
|
||||
# targetMemoryUtilizationPercentage: 80
|
||||
|
||||
|
||||
Reference in New Issue
Block a user