Skip to content

Commit 775bf32

Browse files
Added comments for HPA related configuration (#425)
* Added comments for HPA related configuration Co-authored-by: nitzanzuler <[email protected]>
1 parent 07eee58 commit 775bf32

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

wiz-admission-controller/values.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ httpProxyConfiguration:
3939
httpsProxy: "" # URL to use as a proxy for outbound HTTPS traffic.
4040
noProxyAddress: # Comma or space-separated list of machine or domain names.
4141

42+
# When Horizontal Pod Autoscaling (`hpa.enabled`) is enabled (`true`),
43+
# this field is discarded and set to an empty value.
4244
replicaCount: 2
4345

4446
# Use PodDisruptionBudget for the admission controller enforcer deployment.
@@ -390,7 +392,11 @@ tlsCertificate:
390392
tlsCertificate: ""
391393
tlsKey: ""
392394

393-
# Remove the comment below to provide custom requests and limits to the Wiz pods.
395+
# Uncomment the `resources` section below to specify custom resource requests and limits.
396+
# If left blank, and Horizontal Pod Autoscaling (`hpa.enabled`) is enabled, the following defaults will be applied:
397+
# requests:
398+
# cpu: 500m
399+
# memory: 300Mi
394400
#
395401
# resources:
396402
## The recommended values should vary depending on the load in each cluster, the number of replicas, and more.
@@ -428,7 +434,10 @@ probes: # Probes config for the container
428434
timeoutSeconds: 30
429435
failureThreshold: 3
430436

431-
# Horizontal Pod Autoscaling support.
437+
# Horizontal Pod Autoscaling.
438+
# Prerequisites: metrics-server installed on the cluster:
439+
# https://github.com/kubernetes-sigs/metrics-server
440+
#
432441
hpa:
433442
enabled: false
434443
minReplicas: 2

0 commit comments

Comments
 (0)