Commit f4333f0a authored by m1093782566's avatar m1093782566

add ipvs sync period parameters

parent d7fc98f5
...@@ -693,7 +693,7 @@ function prepare-kube-proxy-manifest-variables { ...@@ -693,7 +693,7 @@ function prepare-kube-proxy-manifest-variables {
if [[ -n "${FEATURE_GATES:-}" ]]; then if [[ -n "${FEATURE_GATES:-}" ]]; then
params+=" --feature-gates=${FEATURE_GATES}" params+=" --feature-gates=${FEATURE_GATES}"
fi fi
params+=" --iptables-sync-period=1m --iptables-min-sync-period=10s" params+=" --iptables-sync-period=1m --iptables-min-sync-period=10s --ipvs-sync-period=1m --ipvs-min-sync-period=10s"
if [[ -n "${KUBEPROXY_TEST_ARGS:-}" ]]; then if [[ -n "${KUBEPROXY_TEST_ARGS:-}" ]]; then
params+=" ${KUBEPROXY_TEST_ARGS}" params+=" ${KUBEPROXY_TEST_ARGS}"
fi fi
......
...@@ -1062,7 +1062,7 @@ function prepare-kube-proxy-manifest-variables { ...@@ -1062,7 +1062,7 @@ function prepare-kube-proxy-manifest-variables {
if [[ -n "${FEATURE_GATES:-}" ]]; then if [[ -n "${FEATURE_GATES:-}" ]]; then
params+=" --feature-gates=${FEATURE_GATES}" params+=" --feature-gates=${FEATURE_GATES}"
fi fi
params+=" --iptables-sync-period=1m --iptables-min-sync-period=10s" params+=" --iptables-sync-period=1m --iptables-min-sync-period=10s --ipvs-sync-period=1m --ipvs-min-sync-period=10s"
if [[ -n "${KUBEPROXY_TEST_ARGS:-}" ]]; then if [[ -n "${KUBEPROXY_TEST_ARGS:-}" ]]; then
params+=" ${KUBEPROXY_TEST_ARGS}" params+=" ${KUBEPROXY_TEST_ARGS}"
fi fi
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
{% set feature_gates = "--feature-gates=" + grains.feature_gates -%} {% set feature_gates = "--feature-gates=" + grains.feature_gates -%}
{% endif -%} {% endif -%}
{% set throttles = "--iptables-sync-period=1m --iptables-min-sync-period=10s" -%} {% set throttles = "--iptables-sync-period=1m --iptables-min-sync-period=10s --ipvs-sync-period=1m --ipvs-min-sync-period=10s" -%}
{% set pod_priority = "" -%} {% set pod_priority = "" -%}
{% if pillar.get('enable_pod_priority', '').lower() == 'true' -%} {% if pillar.get('enable_pod_priority', '').lower() == 'true' -%}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment