Petr Ospalý | fe49ee9 | 2019-04-20 00:53:01 +0200 | [diff] [blame] | 1 | --- |
Tomáš Levora | f6bd937 | 2019-06-14 10:54:39 +0200 | [diff] [blame] | 2 | rke_binary: rke_linux-amd64 |
Petr Ospalý | fe49ee9 | 2019-04-20 00:53:01 +0200 | [diff] [blame] | 3 | rke_username: rke |
| 4 | rke_bin_dir: /usr/local/bin |
Michal Zegan | 119f760 | 2019-04-23 16:34:58 +0200 | [diff] [blame] | 5 | kube_config_dir: "{{ ansible_env.HOME }}/.kube" |
Petr Ospalý | 04d95d4 | 2019-11-11 15:33:20 +0100 | [diff] [blame] | 6 | kubernetes_config_dir: "/etc/kubernetes" |
| 7 | kubelet: |
| 8 | static_config: "kubelet-static-config.yml" |
| 9 | runtime_request_timeout: "2m0s" |
Petr Ospalý | fe49ee9 | 2019-04-20 00:53:01 +0200 | [diff] [blame] | 10 | cluster_config_dir: "{{ app_data_path }}/cluster" |
Petr Ospalý | 67acfb5 | 2019-04-20 05:25:23 +0200 | [diff] [blame] | 11 | # Whether dashboard is exposed. |
| 12 | rke_dashboard_exposed: true |
Tomáš Levora | 3950556 | 2019-10-03 13:31:54 +0200 | [diff] [blame] | 13 | rke_dns: {} |
Petr Ospalý | 8f83455 | 2019-08-22 17:33:07 +0200 | [diff] [blame] | 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 |