Skip to content
Snippets Groups Projects
Unverified Commit fefcb8c9 authored by David Medinets's avatar David Medinets Committed by GitHub
Browse files

Allow the eventRecordQPS setting to be set. (#6880)

* Allow the eventRecordQPS setting to be set.

The eventRecordQPS parameter controls rate limiting for event recording. When zero, unlimited events can cause denial-of-service situations. For my situation, I don't need more than a setting of "5". This change allows me to configure the setting before creating the cluster.

* Allow the eventRecordQPS setting to be set.

The default settings (see types.go) is five. So, this change does not affect the cluster provisioning. However, it does allow for the setting to be changed.
parent 9cf5dd02
No related branches found
No related tags found
No related merge requests found
......@@ -91,3 +91,6 @@ tlsCipherSuites:
- {{ tls }}
{% endfor %}
{% endif %}
{% if kubelet_event_record_qps %}
eventRecordQPS: {{ kubelet_event_record_qps }}
{% endif %}
......@@ -534,3 +534,7 @@ host_architecture: >-
{%- else -%}
{{ ansible_architecture }}
{%- endif -%}
# Sets the eventRecordQPS parameter in kubelet-config.yaml. The default value is 5 (see types.go)
# Setting it to 0 allows unlimited requests per second.
kubelet_event_record_qps: 5
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