12 lines
325 B
Django/Jinja
12 lines
325 B
Django/Jinja
apiVersion: eventratelimit.admission.k8s.io/v1alpha1
|
|
kind: Configuration
|
|
limits:
|
|
{% for limit in kube_apiserver_admission_event_rate_limits.values() %}
|
|
- type: {{ limit.type }}
|
|
qps: {{ limit.qps }}
|
|
burst: {{ limit.burst }}
|
|
{% if limit.cache_size is defined %}
|
|
cacheSize: {{ limit.cache_size }}
|
|
{% endif %}
|
|
{% endfor %}
|