2016-12-23 22:44:44 +08:00
---
# Limits
2018-03-24 10:52:21 +08:00
weave_memory_limits : 400M
weave_cpu_limits : 30m
2017-02-28 00:53:43 +08:00
weave_memory_requests : 64M
2017-02-01 00:09:22 +08:00
weave_cpu_requests : 10m
2017-07-27 00:09:34 +08:00
# This two variable are automatically changed by the weave's role, do not manually change these values
# To reset values :
# weave_seed: unset
# weave_peers: unset
weave_seed : uninitialized
weave_peers : uninitialized
2018-02-06 21:25:07 +08:00
# weave's network password for encryption
# if null then no network encryption
# you can use --extra-vars to pass the password in command line
weave_password : EnterPasswordHere
# Weave uses consensus mode by default
# Enabling seed mode allow to dynamically add or remove hosts
# https://www.weave.works/docs/net/latest/ipam/
weave_mode_seed : false
2018-02-05 17:17:21 +08:00
# Set the MTU of Weave (default 1376, Jumbo Frames: 8916)
weave_mtu : 1376
2017-07-27 00:09:34 +08:00
# this variable is use in seed mode
2018-02-05 17:17:21 +08:00
weave_ip_current_cluster : "{% for host in groups['k8s-cluster'] %}{{ hostvars[host]['ip'] | default(hostvars[host]['ansible_default_ipv4']['address']) }}{% if not loop.last %} {% endif %}{% endfor %}"