blob: c0bd5ef858ad7323d5d0e9c6346feae326fd304c [file] [log] [blame]
Petr Ospalýfe49ee92019-04-20 00:53:01 +02001---
Tomáš Levoraf6bd9372019-06-14 10:54:39 +02002rke_binary: rke_linux-amd64
Petr Ospalýfe49ee92019-04-20 00:53:01 +02003rke_username: rke
4rke_bin_dir: /usr/local/bin
Michal Zegan119f7602019-04-23 16:34:58 +02005kube_config_dir: "{{ ansible_env.HOME }}/.kube"
Petr Ospalý04d95d42019-11-11 15:33:20 +01006kubernetes_config_dir: "/etc/kubernetes"
7kubelet:
8 static_config: "kubelet-static-config.yml"
9 runtime_request_timeout: "2m0s"
Petr Ospalýfe49ee92019-04-20 00:53:01 +020010cluster_config_dir: "{{ app_data_path }}/cluster"
Petr Ospalý67acfb52019-04-20 05:25:23 +020011# Whether dashboard is exposed.
12rke_dashboard_exposed: true
Tomáš Levora39505562019-10-03 13:31:54 +020013rke_dns: {}
Petr Ospalý8f834552019-08-22 17:33:07 +020014rke_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