mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-09 19:40:50 +00:00
add ipvs sync period parameters
This commit is contained in:
@@ -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 {
|
|||||||
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 @@
|
|||||||
{% 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' -%}
|
||||||
|
|||||||
Reference in New Issue
Block a user