c0bd5ef858ad7323d5d0e9c6346feae326fd304c
[oom/offline-installer.git] / ansible / roles / rke / defaults / main.yml
1 ---
2 rke_binary: rke_linux-amd64
3 rke_username: rke
4 rke_bin_dir: /usr/local/bin
5 kube_config_dir: "{{ ansible_env.HOME }}/.kube"
6 kubernetes_config_dir: "/etc/kubernetes"
7 kubelet:
8   static_config: "kubelet-static-config.yml"
9   runtime_request_timeout: "2m0s"
10 cluster_config_dir: "{{ app_data_path }}/cluster"
11 # Whether dashboard is exposed.
12 rke_dashboard_exposed: true
13 rke_dns: {}
14 rke_etcd:
15   # By default rke creates bind mount:
16   # /var/lib/etcd -> /var/lib/rancher/etcd
17   # These parameters provide means of modifying it:
18   #   - custom bind mount
19   #   - option to use volatile storage
20
21   # Custom bind mount
22   #
23   # I did not find a proper way (in the docs) how to override the
24   # defaults so I just abuse the extra_* args for the rke etcd
25   # service. It means that it will create another mount point in the
26   # container and you should use different pathnames than default...
27   #
28   # The custom bind mount is by default disabled.
29   enabled_custom_etcd_storage: false
30
31   # Applicated only if custom mount is enabled.
32   # Paths must be absolute (start with '/')
33   #
34   # Path on the kubernetes/etcd node
35   storage_path: /var/lib/etcd-custom
36   # Path inside the container where it is mounted.
37   storage_mountpoint: /var/lib/rancher/etcd-custom
38
39   # On top of it (with or without custom mount) you can use tmpfs
40   # as a volatile storage.
41   #
42   # CAUTION: This will create temporary filesystem (in the memory)
43   # so if an etcd node will be poweroff then all etcd data will be
44   # lost!!!
45   #
46   # Don't use unless you don't care about your cluster!
47   #
48   # This is intended as an attempt to make deployment little bit
49   # more faster...by default it is disabled.
50   enabled_unsafe_volatile_storage: false
51   # Size of the volatile storage - tmpfs (this will eat your RAM)
52   tmpfs_size: 5G