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 |
| 53 | |
Petr Ospalý | fe49ee9 | 2019-04-20 00:53:01 +0200 | [diff] [blame] | 54 | rke: |
Michal Zegan | 119f760 | 2019-04-23 16:34:58 +0200 | [diff] [blame] | 55 | # rke (rancher) images |
Tomáš Levora | 3950556 | 2019-10-03 13:31:54 +0200 | [diff] [blame] | 56 | etcd: "rancher/coreos-etcd:v3.3.10-rancher1" |
| 57 | alpine: "rancher/rke-tools:v0.1.50" |
| 58 | nginx_proxy: "rancher/rke-tools:v0.1.50" |
| 59 | cert_downloader: "rancher/rke-tools:v0.1.50" |
| 60 | kubernetes_services_sidecar: "rancher/rke-tools:v0.1.50" |
| 61 | kubedns: "rancher/k8s-dns-kube-dns:1.15.0" |
| 62 | dnsmasq: "rancher/k8s-dns-dnsmasq-nanny:1.15.0" |
| 63 | kubedns_sidecar: "rancher/k8s-dns-sidecar:1.15.0" |
| 64 | kubedns_autoscaler: "rancher/cluster-proportional-autoscaler:1.3.0" |
| 65 | coredns: "rancher/coredns-coredns:1.3.1" |
| 66 | coredns_autoscaler: "rancher/cluster-proportional-autoscaler:1.3.0" |
| 67 | kubernetes: "rancher/hyperkube:v1.15.4-rancher1" |
| 68 | flannel: "rancher/coreos-flannel:v0.11.0-rancher1" |
| 69 | flannel_cni: "rancher/flannel-cni:v0.3.0-rancher5" |
| 70 | calico_node: "rancher/calico-node:v3.7.4" |
| 71 | calico_cni: "rancher/calico-cni:v3.7.4" |
| 72 | calico_controllers: "rancher/calico-kube-controllers:v3.7.4" |
| 73 | calico_ctl: "rancher/calico-ctl:v2.0.0" |
| 74 | canal_node: "rancher/calico-node:v3.7.4" |
| 75 | canal_cni: "rancher/calico-cni:v3.7.4" |
| 76 | canal_flannel: "rancher/coreos-flannel:v0.11.0" |
| 77 | weave_node: "weaveworks/weave-kube:2.5.2" |
| 78 | weave_cni: "weaveworks/weave-npc:2.5.2" |
| 79 | pod_infra_container: "rancher/pause:3.1" |
| 80 | ingress: "rancher/nginx-ingress-controller:nginx-0.25.1-rancher1" |
| 81 | ingress_backend: "rancher/nginx-ingress-controller-defaultbackend:1.5-rancher1" |
| 82 | metrics_server: "rancher/metrics-server:v0.3.3" |