Raise typha max connections to 300 (#5527)

Raises limit from 100 to 300 because the default is far too low
and the pod can handle 300 with the given resources.

Change-Id: Ib1eec10da3d09d198933fcfe87291587e58d7cdb
pull/5528/head
Matthew Mosesohn 2020-01-10 11:24:33 +03:00 committed by Kubernetes Prow Robot
parent bf15d06568
commit b35b816287
3 changed files with 12 additions and 0 deletions

View File

@ -40,5 +40,9 @@
# Generate TLS certs for secure typha<->calico-node communication # Generate TLS certs for secure typha<->calico-node communication
# typha_secure: false # typha_secure: false
# Scaling typha: 1 replica per 100 nodes is adequate
# Number of typha replicas # Number of typha replicas
# typha_replicas: 1 # typha_replicas: 1
# Set max typha connections
# typha_max_connections_lower_limit: 300

View File

@ -74,9 +74,15 @@ kube_etcd_key_file: node-{{ inventory_hostname }}-key.pem
# Use typha (only with kdd) # Use typha (only with kdd)
typha_enabled: false typha_enabled: false
# Scaling typha: 1 replica per 100 nodes is adequate
# Number of typha replicas # Number of typha replicas
typha_replicas: 1 typha_replicas: 1
# Set max typha connections
typha_max_connections_lower_limit: 300
# Generate certifcates for typha<->calico-node communication # Generate certifcates for typha<->calico-node communication
typha_secure: false typha_secure: false

View File

@ -82,6 +82,8 @@ spec:
value: "kubernetes" value: "kubernetes"
- name: TYPHA_HEALTHENABLED - name: TYPHA_HEALTHENABLED
value: "true" value: "true"
- name: TYPHA_MAXCONNECTIONSLOWERLIMIT
value: "{{ typha_max_connections_lower_limit }}"
{% if typha_secure %} {% if typha_secure %}
- name: TYPHA_CAFILE - name: TYPHA_CAFILE
value: /etc/ca/ca.crt value: /etc/ca/ca.crt