Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | salt_minion_ca_host: ${_param:infra_config_hostname}.${_param:cluster_domain} |
| 4 | salt_minion_ca_authority: salt_master_ca |
| 5 | |
vitalygusev | 74db2b8 | 2018-03-20 19:16:08 +0400 | [diff] [blame] | 6 | # kubelet |
| 7 | kubelet_fail_on_swap: True |
| 8 | |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 9 | # kubernetes settings |
| 10 | kubernetes_admin_user: admin |
| 11 | kubernetes_admin_password: sbPfel23ZigJF3Bm |
| 12 | kubernetes_admin_token: PpP6Mm3pAoPVqcKOKUu0x1dh7b1959Fi |
| 13 | kubernetes_kubelet_token: JJ2PKHxjiU6EYvIt18BqwdSK1HvWh8pt |
| 14 | kubernetes_kube-proxy_token: jT0hJk9L6cIw5UpYDNhsRwcj3Z2n62B6 |
| 15 | kubernetes_scheduler_token: VgkUHfrW07zNxrb0ucFyX7NBnSJN9Xp6 |
| 16 | kubernetes_controller-manager_token: uXrdZ1YKF6qlYm3sHje2iEXMGAGDWOIU |
| 17 | kubernetes_dns_token: 0S1I4iJeFjq5fopPwwCwTp3xFpEZfeUl |
vitalygusev | 74db2b8 | 2018-03-20 19:16:08 +0400 | [diff] [blame] | 18 | kubernetes_mtu: 1500 |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 19 | etcd_initial_token: IN7KaRMSo3xkGxkjAAPtkRkAgqN4ZNRq |
| 20 | |
vitalygusev | 74db2b8 | 2018-03-20 19:16:08 +0400 | [diff] [blame] | 21 | # component docker images |
Andrey Shestakov | 11147a6 | 2018-09-03 16:20:26 +0300 | [diff] [blame] | 22 | kubernetes_pause_image: docker-prod-virtual.docker.mirantis.net/mirantis/kubernetes/pause-amd64:v1.11.2-1 |
vitalygusev | 74db2b8 | 2018-03-20 19:16:08 +0400 | [diff] [blame] | 23 | kubernetes_netchecker_agent_probeurls: "http://ipinfo.io" |
Victor Ryzhenkin | 55d0eca | 2018-09-27 14:39:12 +0400 | [diff] [blame] | 24 | kubernetes_virtlet_image: mirantis/virtlet:v1.4.0 |
Mateusz Matuszkowiak | 4aeedc7 | 2018-09-05 16:07:39 +0200 | [diff] [blame] | 25 | # kube-controllers image is temporarily added here as it's not defined in TCP-QA by now |
| 26 | kubernetes_calico_kube_controllers_image: docker-prod-virtual.docker.mirantis.net/mirantis/projectcalico/calico/kube-controllers:v3.1.3 |
| 27 | |
Victor Ryzhenkin | 55d0eca | 2018-09-27 14:39:12 +0400 | [diff] [blame] | 28 | kubernetes_criproxy_version: v0.12.0 |
| 29 | kubernetes_criproxy_checksum: md5=371cacd3d8568eb88425498b48a649dd |
Sergey Kolekonov | 0eb93d1 | 2018-09-26 17:16:58 +0400 | [diff] [blame] | 30 | |
vitalygusev | 74db2b8 | 2018-03-20 19:16:08 +0400 | [diff] [blame] | 31 | kubernetes_externaldns_provider: coredns |
Vladimir Jigulin | 7bc766b | 2018-07-17 14:42:36 +0400 | [diff] [blame] | 32 | kubernetes_metallb_addresses_pool: 172.16.10.60-172.16.10.80 |
vitalygusev | 74db2b8 | 2018-03-20 19:16:08 +0400 | [diff] [blame] | 33 | |
| 34 | # switches of addons |
Mateusz Matuszkowiak | 22f1f03 | 2018-08-20 13:32:15 +0200 | [diff] [blame] | 35 | kubernetes_addon_namespace: kube-system |
Andrey Shestakov | 12059e9 | 2018-09-04 12:47:44 +0300 | [diff] [blame] | 36 | kubernetes_dns: false |
Mateusz Matuszkowiak | 22f1f03 | 2018-08-20 13:32:15 +0200 | [diff] [blame] | 37 | kubernetes_dashboard: true |
| 38 | kubernetes_helm_enabled: false |
vitalygusev | 74db2b8 | 2018-03-20 19:16:08 +0400 | [diff] [blame] | 39 | kubernetes_netchecker_enabled: true |
| 40 | kubernetes_calico_policy_enabled: false |
Mateusz Matuszkowiak | 00aaa6a | 2018-10-12 14:36:14 +0200 | [diff] [blame] | 41 | kubernetes_virtlet_enabled: true |
Andrey Shestakov | 12059e9 | 2018-09-04 12:47:44 +0300 | [diff] [blame] | 42 | kubernetes_coredns_enabled: true |
vitalygusev | 74db2b8 | 2018-03-20 19:16:08 +0400 | [diff] [blame] | 43 | kubernetes_externaldns_enabled: false |
Vladimir Jigulin | 7bc766b | 2018-07-17 14:42:36 +0400 | [diff] [blame] | 44 | kubernetes_metallb_enabled: false |
Vladimir Jigulin | b811418 | 2018-10-03 10:19:29 +0400 | [diff] [blame] | 45 | kubernetes_ingressnginx_enabled: false |
vitalygusev | 74db2b8 | 2018-03-20 19:16:08 +0400 | [diff] [blame] | 46 | |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 47 | # addresses and hostnames |
| 48 | kubernetes_internal_api_address: 10.254.0.1 |
| 49 | kubernetes_control_hostname: ctl |
Sergii Golovatiuk | a7a19d5 | 2017-07-20 18:20:26 +0200 | [diff] [blame] | 50 | kubernetes_control_address: 192.168.10.253 |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 51 | kubernetes_control_node01_hostname: ctl01 |
| 52 | kubernetes_control_node02_hostname: ctl02 |
| 53 | kubernetes_control_node03_hostname: ctl03 |
| 54 | kubernetes_compute_node01_hostname: cmp01 |
| 55 | kubernetes_compute_node02_hostname: cmp02 |
| 56 | kubernetes_control_node01_address: 172.16.10.101 |
| 57 | kubernetes_control_node02_address: 172.16.10.102 |
| 58 | kubernetes_control_node03_address: 172.16.10.103 |
| 59 | kubernetes_compute_node01_address: 172.16.10.105 |
| 60 | kubernetes_compute_node02_address: 172.16.10.106 |
Ildar Svetlov | cac905c | 2018-08-07 18:37:17 +0400 | [diff] [blame] | 61 | kubernetes_control_node01_deploy_address: 192.168.10.101 |
| 62 | kubernetes_control_node02_deploy_address: 192.168.10.102 |
| 63 | kubernetes_control_node03_deploy_address: 192.168.10.103 |
| 64 | kubernetes_compute_node01_deploy_address: 192.168.10.105 |
| 65 | kubernetes_compute_node02_deploy_address: 192.168.10.106 |
Mateusz Matuszkowiak | 22f1f03 | 2018-08-20 13:32:15 +0200 | [diff] [blame] | 66 | |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 67 | kubernetes_proxy_node01_hostname: prx01 |
| 68 | kubernetes_proxy_node01_address: 172.16.10.121 |
| 69 | |
Mateusz Matuszkowiak | 0b73180 | 2018-08-22 10:11:38 +0200 | [diff] [blame] | 70 | deploy_address: ${_param:infra_config_deploy_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 71 | cluster_vip_address: ${_param:kubernetes_control_address} |
Mateusz Matuszkowiak | 22f1f03 | 2018-08-20 13:32:15 +0200 | [diff] [blame] | 72 | cluster_local_address: ${_param:deploy_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 73 | |
| 74 | # etcd stuff |
| 75 | cluster_node01_hostname: ${_param:kubernetes_control_node01_hostname} |
Ildar Svetlov | cac905c | 2018-08-07 18:37:17 +0400 | [diff] [blame] | 76 | cluster_node01_address: ${_param:kubernetes_control_node01_deploy_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 77 | cluster_node01_port: 4001 |
| 78 | cluster_node02_hostname: ${_param:kubernetes_control_node02_hostname} |
Ildar Svetlov | cac905c | 2018-08-07 18:37:17 +0400 | [diff] [blame] | 79 | cluster_node02_address: ${_param:kubernetes_control_node02_deploy_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 80 | cluster_node02_port: 4001 |
| 81 | cluster_node03_hostname: ${_param:kubernetes_control_node03_hostname} |
Ildar Svetlov | cac905c | 2018-08-07 18:37:17 +0400 | [diff] [blame] | 82 | cluster_node03_address: ${_param:kubernetes_control_node03_deploy_address} |
Ales Komarek | c12dd41 | 2017-06-27 16:24:42 +0200 | [diff] [blame] | 83 | cluster_node03_port: 4001 |
| 84 | |
| 85 | # calico |
| 86 | calico_private_network: 192.168.0.0 |
| 87 | calico_private_netmask: 16 |
| 88 | |
| 89 | linux: |
| 90 | network: |
| 91 | host: |
| 92 | ctl: |
| 93 | address: ${_param:kubernetes_control_address} |
| 94 | names: |
| 95 | - ${_param:kubernetes_control_hostname} |
| 96 | - ${_param:kubernetes_control_hostname}.${_param:cluster_domain} |
| 97 | ctl01: |
| 98 | address: ${_param:kubernetes_control_node01_address} |
| 99 | names: |
| 100 | - ${_param:kubernetes_control_node01_hostname} |
| 101 | - ${_param:kubernetes_control_node01_hostname}.${_param:cluster_domain} |
| 102 | ctl02: |
| 103 | address: ${_param:kubernetes_control_node02_address} |
| 104 | names: |
| 105 | - ${_param:kubernetes_control_node02_hostname} |
| 106 | - ${_param:kubernetes_control_node02_hostname}.${_param:cluster_domain} |
| 107 | ctl03: |
| 108 | address: ${_param:kubernetes_control_node03_address} |
| 109 | names: |
| 110 | - ${_param:kubernetes_control_node03_hostname} |
| 111 | - ${_param:kubernetes_control_node03_hostname}.${_param:cluster_domain} |
| 112 | cmp01: |
| 113 | address: ${_param:kubernetes_compute_node01_address} |
| 114 | names: |
| 115 | - ${_param:kubernetes_compute_node01_hostname} |
| 116 | - ${_param:kubernetes_compute_node01_hostname}.${_param:cluster_domain} |
| 117 | cmp02: |
| 118 | address: ${_param:kubernetes_compute_node02_address} |
| 119 | names: |
| 120 | - ${_param:kubernetes_compute_node02_hostname} |
| 121 | - ${_param:kubernetes_compute_node02_hostname}.${_param:cluster_domain} |
| 122 | prx01: |
| 123 | address: ${_param:kubernetes_proxy_node01_address} |
| 124 | names: |
| 125 | - ${_param:kubernetes_proxy_node01_hostname} |
| 126 | - ${_param:kubernetes_proxy_node01_hostname}.${_param:cluster_domain} |
| 127 | system: |
vitalygusev | 74db2b8 | 2018-03-20 19:16:08 +0400 | [diff] [blame] | 128 | user: |
| 129 | root: |
| 130 | name: root |
| 131 | password: false |
Mateusz Matuszkowiak | 22f1f03 | 2018-08-20 13:32:15 +0200 | [diff] [blame] | 132 | rc: |
| 133 | local: | |
| 134 | #!/bin/sh -e |
| 135 | # |
| 136 | # rc.local |
| 137 | # |
| 138 | ######### This file is managed by Salt! ########## |
| 139 | # This script is executed at the end of each multiuser runlevel. |
| 140 | # Make sure that the script will "exit 0" on success or any other |
| 141 | # value on error. |
| 142 | # |
| 143 | ip r a 10.254.0.0/16 dev ens4 |
| 144 | exit 0 |