Enhance Kyverno configuration in values.yaml by adding support for two replicas and enabling API priority and fairness. This update aims to improve resilience during rolling restarts and manage API traffic more effectively under load.

This commit is contained in:
Nikholas Pcenicni
2026-03-28 02:55:47 -04:00
parent bf185b71a9
commit 207cdca0cf

View File

@@ -10,7 +10,12 @@
#
# Raise Kubernetes client QPS/burst so under API/etcd load Kyverno does not hit
# "client rate limiter Wait" / flaky kyverno-health lease (defaults are very low).
# Two replicas: webhook Service keeps endpoints during rolling restarts (avoids
# apiserver "connection refused" to kyverno-svc:443 while a single pod cycles).
admissionController:
replicas: 2
# Insulate Kyverno API traffic via APF (helps when etcd/apiserver are busy).
apiPriorityAndFairness: true
container:
extraArgs:
clientRateLimitQPS: 30