Svimba | 6f9ffc5 | 2018-06-05 17:36:36 +0200 | [diff] [blame^] | 1 | classes: |
| 2 | - service.etcd.server.cluster |
| 3 | - service.kubernetes.control.cluster |
| 4 | - service.kubernetes.control.cluster-admin |
| 5 | - system.haproxy.proxy.listen.kubernetes.apiserver |
| 6 | - system.linux.system.repo.docker_legacy |
| 7 | - system.kubernetes.pool.cluster |
| 8 | - system.salt.minion.cert.k8s_client |
| 9 | - system.salt.minion.cert.etcd_client |
| 10 | - system.salt.minion.cert.etcd_server |
| 11 | - system.kubernetes.master.cluster |
| 12 | - cluster.k8s-ha-contrail-40.infra |
| 13 | parameters: |
| 14 | _param: |
| 15 | keepalived_vip_interface: ens4 |
| 16 | keepalived_vip_virtual_router_id: 60 |
| 17 | |
| 18 | linux: |
| 19 | network: |
| 20 | interface: |
| 21 | ens3: |
| 22 | enabled: true |
| 23 | type: eth |
| 24 | mtu: 1500 |
| 25 | address: ${_param:deploy_address} |
| 26 | netmask: '255.255.255.0' |
| 27 | |
| 28 | ens4: |
| 29 | enabled: true |
| 30 | type: eth |
| 31 | mtu: 1500 |
| 32 | address: ${_param:single_address} |
| 33 | netmask: '255.255.255.0' |
| 34 | etcd: |
| 35 | server: |
| 36 | bind: |
| 37 | host: ${_param:deploy_address} |
| 38 | source: |
| 39 | engine: docker_hybrid |
| 40 | ssl: |
| 41 | enabled: true |
| 42 | kubernetes: |
| 43 | pool: |
| 44 | kubelet: |
| 45 | fail_on_swap: ${_param:kubelet_fail_on_swap} |
| 46 | enabled: true |
| 47 | network: |
| 48 | engine: none |
| 49 | opencontrail: |
| 50 | enabled: false |
| 51 | common: |
| 52 | addons: |
| 53 | dashboard: |
| 54 | enabled: ${_param:kubernetes_dashboard} |
| 55 | image: ${_param:kubernetes_dashboard_image} |
| 56 | helm: |
| 57 | enabled: ${_param:kubernetes_helm_enabled} |
| 58 | netchecker: |
| 59 | enabled: ${_param:kubernetes_netchecker_enabled} |
| 60 | agent_image: ${_param:kubernetes_netchecker_agent_image} |
| 61 | server_image: ${_param:kubernetes_netchecker_server_image} |
| 62 | dns: |
| 63 | enabled: ${_param:kubernetes_dns} |
| 64 | kubedns_image: ${_param:kubernetes_kubedns_image} |
| 65 | dnsmasq_image: ${_param:kubernetes_dnsmasq_image} |
| 66 | sidecar_image: ${_param:kubernetes_sidecar_image} |
| 67 | autoscaler: |
| 68 | image: ${_param:kubernetes_dns_autoscaler_image} |
| 69 | coredns: |
| 70 | enabled: ${_param:kubernetes_coredns_enabled} |
| 71 | externaldns: |
| 72 | enabled: ${_param:kubernetes_externaldns_enabled} |
| 73 | image: ${_param:kubernetes_externaldns_image} |
| 74 | provider: ${_param:kubernetes_externaldns_provider} |
| 75 | hyperkube: |
| 76 | image: ${_param:kubernetes_hyperkube_image} |
| 77 | master: |
| 78 | kubelet: |
| 79 | address: ${_param:single_address} |
| 80 | fail_on_swap: ${_param:kubelet_fail_on_swap} |
| 81 | etcd: |
| 82 | ssl: |
| 83 | enabled: true |
| 84 | network: |
| 85 | opencontrail: |
| 86 | enabled: true |
| 87 | version: 4.0 |
| 88 | host: ${_param:keepalived_vip_address} |
| 89 | port: 8082 |
| 90 | default_domain: default-domain |
| 91 | default_project: default-domain:default |
| 92 | public_network: default-domain:default:Public |
| 93 | public_ip_range: 185.22.97.128/26 |
| 94 | public_network: default-domain:default-project:Public |
| 95 | private_ip_range: 10.150.0.0/16 |
| 96 | network_manager: |
| 97 | image: docker-prod-local.artifactory.mirantis.com/opencontrail-oc40/opencontrail-kube-manager |
| 98 | # config: |
| 99 | # api: |
| 100 | # host: ${_param:opencontrail_control_address} |
| 101 | identity: |
| 102 | auth_user: admin |
| 103 | auth_password: contrail123 |
| 104 | auth_tenant: admin |
| 105 | message_queue: |
| 106 | host: ${_param:single_address} |
| 107 | database: |
| 108 | members: |
| 109 | - host: ${_param:kubernetes_control_node01_address} |
| 110 | port: 9161 |
| 111 | - host: ${_param:kubernetes_control_node02_address} |
| 112 | port: 9161 |
| 113 | - host: ${_param:kubernetes_control_node03_address} |
| 114 | port: 9161 |
| 115 | collector: |
| 116 | members: |
| 117 | - host: ${_param:kubernetes_control_node01_address} |
| 118 | - host: ${_param:kubernetes_control_node02_address} |
| 119 | - host: ${_param:kubernetes_control_node03_address} |