Skip to content
Snippets Groups Projects
Unverified Commit 3acacc61 authored by Samuel Liu's avatar Samuel Liu Committed by GitHub
Browse files

add kube_apiserver_etcd_compaction_interval (#10644)

parent d583d331
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,9 @@ kube_apiserver_node_port_range: "30000-32767"
# ETCD backend for k8s data
kube_apiserver_storage_backend: etcd3
# The interval of compaction requests. If 0, the compaction request from apiserver is disabled.
kube_apiserver_etcd_compaction_interval: "5m0s"
# CIS 1.2.26
# Validate that the service account token
# in the request is actually present in etcd.
......
......@@ -114,6 +114,9 @@ certificatesDir: {{ kube_cert_dir }}
imageRepository: {{ kube_image_repo }}
apiServer:
extraArgs:
{% if kube_apiserver_etcd_compaction_interval is defined %}
etcd-compaction-interval: "{{ kube_apiserver_etcd_compaction_interval }}"
{% endif %}
{% if kube_apiserver_pod_eviction_not_ready_timeout_seconds is defined %}
default-not-ready-toleration-seconds: "{{ kube_apiserver_pod_eviction_not_ready_timeout_seconds }}"
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment