You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
552 B

  1. WEAVE_DOCKER_ARGS="--memory={{ weave_memory_limit|regex_replace('Mi', 'M') }} --cpu-shares={{ weave_cpu_limit|regex_replace('m', '') }}"
  2. WEAVE_PEERS="{% for host in groups['k8s-cluster'] %}{{ hostvars[host]['access_ip'] | default(hostvars[host]['ip'] | default(hostvars[host]['ansible_default_ipv4']['address'])) }}{% if not loop.last %} {% endif %}{% endfor %}"
  3. WEAVEPROXY_ARGS="--rewrite-inspect --without-dns"
  4. WEAVE_SUBNET="--ipalloc-range {{ kube_pods_subnet }}"
  5. {% if weave_password is defined %}
  6. WEAVE_PASSWORD="{{ weave_password }}"
  7. {% endif %}