Skip to content
Snippets Groups Projects
Unverified Commit 22bb0976 authored by Max Gautier's avatar Max Gautier Committed by GitHub
Browse files

Adjust kubelet_event_record_qps to K8S default (#10826)

Also remove redundant check in the kubelet config template (we define a
default, so the setting will always be "true")
parent a2ed5fcd
No related branches found
No related tags found
No related merge requests found
...@@ -135,9 +135,7 @@ tlsCipherSuites: ...@@ -135,9 +135,7 @@ tlsCipherSuites:
- {{ tls }} - {{ tls }}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if kubelet_event_record_qps %}
eventRecordQPS: {{ kubelet_event_record_qps }} eventRecordQPS: {{ kubelet_event_record_qps }}
{% endif %}
shutdownGracePeriod: {{ kubelet_shutdown_grace_period }} shutdownGracePeriod: {{ kubelet_shutdown_grace_period }}
shutdownGracePeriodCriticalPods: {{ kubelet_shutdown_grace_period_critical_pods }} shutdownGracePeriodCriticalPods: {{ kubelet_shutdown_grace_period_critical_pods }}
{% if not kubelet_fail_swap_on %} {% if not kubelet_fail_swap_on %}
......
...@@ -645,9 +645,9 @@ host_os: >- ...@@ -645,9 +645,9 @@ host_os: >-
{{ ansible_system }} {{ ansible_system }}
{%- endif -%} {%- endif -%}
# Sets the eventRecordQPS parameter in kubelet-config.yaml. The default value is 5 (see types.go) # Sets the eventRecordQPS parameter in kubelet-config.yaml.
# Setting it to 0 allows unlimited requests per second. # Setting it to 0 allows unlimited requests per second.
kubelet_event_record_qps: 5 kubelet_event_record_qps: 50
proxy_env_defaults: proxy_env_defaults:
http_proxy: "{{ http_proxy | default('') }}" http_proxy: "{{ http_proxy | default('') }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment