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