Petr Ospalý | fe49ee9 | 2019-04-20 00:53:01 +0200 | [diff] [blame] | 1 | nodes: |
Michal Zegan | 89e6314 | 2019-05-28 17:16:47 +0200 | [diff] [blame] | 2 | {% for node in groups['kubernetes'] %} |
Petr Ospalý | fe49ee9 | 2019-04-20 00:53:01 +0200 | [diff] [blame] | 3 | - address: "{{ hostvars[node].cluster_ip }}" |
| 4 | port: "22" |
| 5 | internal_address: "{{ hostvars[node].cluster_ip }}" |
| 6 | role: |
| 7 | {% if node in groups['kubernetes-control-plane'] %} |
| 8 | - controlplane |
| 9 | {% endif %} |
Michal Zegan | 89e6314 | 2019-05-28 17:16:47 +0200 | [diff] [blame] | 10 | {% if node in groups['kubernetes-node'] %} |
Petr Ospalý | fe49ee9 | 2019-04-20 00:53:01 +0200 | [diff] [blame] | 11 | - worker |
Michal Zegan | 2f97acd | 2019-06-03 14:58:20 +0200 | [diff] [blame] | 12 | {% endif %} |
| 13 | {% if node in groups['kubernetes-etcd'] %} |
Petr Ospalý | fe49ee9 | 2019-04-20 00:53:01 +0200 | [diff] [blame] | 14 | - etcd |
| 15 | {% endif %} |
| 16 | hostname_override: "" |
| 17 | user: "{{ rke_username }}" |
| 18 | docker_socket: /var/run/docker.sock |
| 19 | ssh_key: "" |
| 20 | ssh_key_path: "{{ cluster_config_dir }}/cluster_key" |
| 21 | ssh_cert: "" |
| 22 | ssh_cert_path: "" |
| 23 | labels: {} |
| 24 | {% endfor %} |
| 25 | services: |
| 26 | etcd: |
| 27 | image: "" |
Petr Ospalý | 8f83455 | 2019-08-22 17:33:07 +0200 | [diff] [blame^] | 28 | {% if rke_etcd.enabled_custom_etcd_storage %} |
| 29 | extra_args: |
| 30 | data-dir: "{{ rke_etcd.storage_mountpoint }}" |
| 31 | extra_binds: |
| 32 | - "{{ rke_etcd.storage_path }}:{{ rke_etcd.storage_mountpoint }}" |
| 33 | {% else %} |
Petr Ospalý | fe49ee9 | 2019-04-20 00:53:01 +0200 | [diff] [blame] | 34 | extra_args: {} |
| 35 | extra_binds: [] |
Petr Ospalý | 8f83455 | 2019-08-22 17:33:07 +0200 | [diff] [blame^] | 36 | {% endif %} |
Petr Ospalý | fe49ee9 | 2019-04-20 00:53:01 +0200 | [diff] [blame] | 37 | extra_env: [] |
| 38 | external_urls: [] |
| 39 | ca_cert: "" |
| 40 | cert: "" |
| 41 | key: "" |
| 42 | path: "" |
| 43 | snapshot: null |
| 44 | retention: "" |
| 45 | creation: "" |
| 46 | backup_config: null |
| 47 | kube-api: |
| 48 | image: "" |
| 49 | extra_args: {} |
| 50 | extra_binds: [] |
| 51 | extra_env: [] |
| 52 | service_cluster_ip_range: 10.43.0.0/16 |
| 53 | service_node_port_range: "" |
| 54 | pod_security_policy: false |
| 55 | always_pull_images: false |
| 56 | kube-controller: |
| 57 | image: "" |
| 58 | extra_args: {} |
| 59 | extra_binds: [] |
| 60 | extra_env: [] |
| 61 | cluster_cidr: 10.42.0.0/16 |
| 62 | service_cluster_ip_range: 10.43.0.0/16 |
| 63 | scheduler: |
| 64 | image: "" |
| 65 | extra_args: {} |
| 66 | extra_binds: [] |
| 67 | extra_env: [] |
| 68 | kubelet: |
| 69 | image: "" |
| 70 | extra_args: {} |
| 71 | extra_binds: [] |
| 72 | extra_env: [] |
| 73 | cluster_domain: cluster.local |
| 74 | infra_container_image: "" |
| 75 | cluster_dns_server: 10.43.0.10 |
| 76 | fail_swap_on: false |
| 77 | kubeproxy: |
| 78 | image: "" |
| 79 | extra_args: {} |
| 80 | extra_binds: [] |
| 81 | extra_env: [] |
| 82 | network: |
| 83 | plugin: canal |
| 84 | options: {} |
| 85 | authentication: |
| 86 | strategy: x509 |
| 87 | sans: [] |
| 88 | webhook: null |
| 89 | addons: "" |
Petr Ospalý | 67acfb5 | 2019-04-20 05:25:23 +0200 | [diff] [blame] | 90 | addons_include: |
| 91 | - "{{ cluster_config_dir }}/kubernetes-dashboard.yml" |
| 92 | - "{{ cluster_config_dir }}/k8s-dashboard-user.yml" |
Petr Ospalý | fe49ee9 | 2019-04-20 00:53:01 +0200 | [diff] [blame] | 93 | system_images: |
| 94 | etcd: "{{ rke.etcd }}" |
| 95 | alpine: "{{ rke.alpine }}" |
| 96 | nginx_proxy: "{{ rke.nginx_proxy }}" |
| 97 | cert_downloader: "{{ rke.cert_downloader }}" |
| 98 | kubernetes_services_sidecar: "{{ rke.kubernetes_services_sidecar }}" |
| 99 | kubedns: "{{ rke.kubedns }}" |
| 100 | dnsmasq: "{{ rke.dnsmasq }}" |
| 101 | kubedns_sidecar: "{{ rke.kubedns_sidecar }}" |
| 102 | kubedns_autoscaler: "{{ rke.kubedns_autoscaler }}" |
| 103 | coredns: "{{ rke.coredns }}" |
| 104 | coredns_autoscaler: "{{ rke.coredns_autoscaler }}" |
| 105 | kubernetes: "{{ rke.kubernetes }}" |
| 106 | flannel: "{{ rke.flannel }}" |
| 107 | flannel_cni: "{{ rke.flannel_cni }}" |
| 108 | calico_node: "{{ rke.calico_node }}" |
| 109 | calico_cni: "{{ rke.calico_cni }}" |
| 110 | calico_controllers: "" |
| 111 | calico_ctl: "{{ rke.calico_ctl }}" |
| 112 | canal_node: "{{ rke.canal_node }}" |
| 113 | canal_cni: "{{ rke.canal_cni }}" |
| 114 | canal_flannel: "{{ rke.canal_flannel }}" |
| 115 | weave_node: "{{ rke.weave_node }}" |
| 116 | weave_cni: "{{ rke.weave_cni }}" |
| 117 | pod_infra_container: "{{ rke.pod_infra_container }}" |
| 118 | ingress: "{{ rke.ingress }}" |
| 119 | ingress_backend: "{{ rke.ingress_backend }}" |
| 120 | metrics_server: "{{ rke.metrics_server }}" |
| 121 | ssh_key_path: "{{ cluster_config_dir }}/cluster_key" |
| 122 | ssh_cert_path: "" |
| 123 | ssh_agent_auth: false |
| 124 | authorization: |
| 125 | mode: none |
| 126 | options: {} |
| 127 | ignore_docker_version: false |
| 128 | kubernetes_version: "" |
| 129 | private_registries: [] |
| 130 | ingress: |
| 131 | provider: "" |
| 132 | options: {} |
| 133 | node_selector: {} |
| 134 | extra_args: {} |
| 135 | cluster_name: "" |
| 136 | cloud_provider: |
| 137 | name: "" |
| 138 | prefix_path: "" |
| 139 | addon_job_timeout: 0 |
| 140 | bastion_host: |
| 141 | address: "" |
| 142 | port: "" |
| 143 | user: "" |
| 144 | ssh_key: "" |
| 145 | ssh_key_path: "" |
| 146 | ssh_cert: "" |
| 147 | ssh_cert_path: "" |
| 148 | monitoring: |
| 149 | provider: "" |
| 150 | options: {} |
| 151 | restore: |
| 152 | restore: false |
| 153 | snapshot_name: "" |
| 154 | dns: null |