-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.yml
44 lines (37 loc) · 944 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
flannel_user: flannel
flannel_group: flannel
flannel_conf_dir: /etc/flannel
flannel_data_dir: /var/lib/flanneld
flannel_run_dir: /run/flannel
flannel_etcdctl: /usr/local/bin/etcdctl
flannel_secure: True
flannel_pki_dir: ~/pki-dir
flannel_pki_key_suffix: -key.pem
flannel_pki_cert_suffix: .pem
flannel_network_iface : eth0
flannel_cluster_name : test-cluster-name
#option to set flannel cidr at startup as a separate manual step
flannel_cidr:
Network: '10.255.0.0/16'
SubnetLen: 24
Backend:
Type: vxlan
VNI: 1
flannel_launch: True
# example statically discovering etcd...
#flannel_etcd_discover:
# ty: static
# port: 2379
# hosts:
# - etcd-01.example.org
# - etcd-02.example.org
# - etcd-03.example.org
# discovering etcd through an inventory group
flannel_etcd_discover:
ty: inventory
port: 2379
group: etcd-master
# to lookup IPs from host facts
# interface: eth0
flannel_etcd_prefix: /k8s/network