blob: 3d55a3566a452cf658b624a124028351779e5850 [file] [log] [blame]
Svimba6f9ffc52018-06-05 17:36:36 +02001classes:
Victor Ryzhenkinea144702018-10-10 03:52:04 +04002- system.etcd.server.cluster
Svimba6f9ffc52018-06-05 17:36:36 +02003- service.kubernetes.control.cluster
Svimba6f9ffc52018-06-05 17:36:36 +02004- system.haproxy.proxy.listen.kubernetes.apiserver
5- system.linux.system.repo.docker_legacy
6- system.kubernetes.pool.cluster
7- system.salt.minion.cert.k8s_client
8- system.salt.minion.cert.etcd_client
9- system.salt.minion.cert.etcd_server
10- system.kubernetes.master.cluster
Victor Ryzhenkin97dbb872018-06-18 17:01:18 +040011- system.kubernetes.master.auth.rbac
Victor Ryzhenkinc6a77182018-06-09 18:46:41 +040012- system.kubernetes.control.roles.cluster-admin
Svimba6f9ffc52018-06-05 17:36:36 +020013- cluster.k8s-ha-contrail-40.infra
Svimba7fee6732018-06-06 17:15:18 +020014- cluster.overrides
Svimba6f9ffc52018-06-05 17:36:36 +020015parameters:
16 _param:
Svimba7294cfd2018-06-25 11:07:03 +020017 keepalived_k8s_apiserver_vip_interface: ens4
18 keepalived_k8s_apiserver_vip_address: ${_param:kubernetes_control_address}
Svimba6f9ffc52018-06-05 17:36:36 +020019
20 linux:
21 network:
22 interface:
23 ens3:
24 enabled: true
25 type: eth
26 mtu: 1500
Svimbaac98a672018-06-07 14:01:34 +020027 proto: dhcp
Svimba6f9ffc52018-06-05 17:36:36 +020028 ens4:
29 enabled: true
30 type: eth
31 mtu: 1500
Svimba6f9ffc52018-06-05 17:36:36 +020032 netmask: '255.255.255.0'
Svimbab666ea92018-06-08 11:00:25 +020033 address: ${_param:single_address}
34 pre_up_cmds:
35 - ip addr flush dev ens4
Svimba6f9ffc52018-06-05 17:36:36 +020036 etcd:
37 server:
38 bind:
Svimba7fee6732018-06-06 17:15:18 +020039 host: ${_param:single_address}
Svimba6f9ffc52018-06-05 17:36:36 +020040 source:
41 engine: docker_hybrid
42 ssl:
43 enabled: true
Svimba1abc83c2018-06-14 10:14:36 +020044 docker:
45 host:
46 options:
47 bip: 172.31.255.1/24
Svimba6f9ffc52018-06-05 17:36:36 +020048 kubernetes:
49 pool:
50 kubelet:
51 fail_on_swap: ${_param:kubelet_fail_on_swap}
52 enabled: true
53 network:
54 engine: none
55 opencontrail:
56 enabled: false
Svimbab666ea92018-06-08 11:00:25 +020057 kube_proxy:
58 enabled: false
Svimba6f9ffc52018-06-05 17:36:36 +020059 common:
60 addons:
61 dashboard:
62 enabled: ${_param:kubernetes_dashboard}
63 image: ${_param:kubernetes_dashboard_image}
64 helm:
65 enabled: ${_param:kubernetes_helm_enabled}
66 netchecker:
67 enabled: ${_param:kubernetes_netchecker_enabled}
68 agent_image: ${_param:kubernetes_netchecker_agent_image}
69 server_image: ${_param:kubernetes_netchecker_server_image}
70 dns:
71 enabled: ${_param:kubernetes_dns}
72 kubedns_image: ${_param:kubernetes_kubedns_image}
73 dnsmasq_image: ${_param:kubernetes_dnsmasq_image}
74 sidecar_image: ${_param:kubernetes_sidecar_image}
75 autoscaler:
76 image: ${_param:kubernetes_dns_autoscaler_image}
77 coredns:
78 enabled: ${_param:kubernetes_coredns_enabled}
79 externaldns:
80 enabled: ${_param:kubernetes_externaldns_enabled}
81 image: ${_param:kubernetes_externaldns_image}
82 provider: ${_param:kubernetes_externaldns_provider}
Vladimir Jigulinb8114182018-10-03 10:19:29 +040083 ingress-nginx:
84 enabled: ${_param:kubernetes_ingressnginx_enabled}
Svimba6f9ffc52018-06-05 17:36:36 +020085 hyperkube:
86 image: ${_param:kubernetes_hyperkube_image}
87 master:
88 kubelet:
89 address: ${_param:single_address}
90 fail_on_swap: ${_param:kubelet_fail_on_swap}
91 etcd:
92 ssl:
93 enabled: true
94 network:
95 opencontrail:
96 enabled: true
97 version: 4.0
98 host: ${_param:keepalived_vip_address}
99 port: 8082
100 default_domain: default-domain
101 default_project: default-domain:default
102 public_network: default-domain:default:Public
103 public_ip_range: 185.22.97.128/26
104 public_network: default-domain:default-project:Public
105 private_ip_range: 10.150.0.0/16
106 network_manager:
107 image: docker-prod-local.artifactory.mirantis.com/opencontrail-oc40/opencontrail-kube-manager
Svimbab666ea92018-06-08 11:00:25 +0200108 config:
109 api:
110 host: ${_param:keepalived_vip_address}
Svimba6f9ffc52018-06-05 17:36:36 +0200111 identity:
112 auth_user: admin
113 auth_password: contrail123
114 auth_tenant: admin
115 message_queue:
116 host: ${_param:single_address}
117 database:
118 members:
119 - host: ${_param:kubernetes_control_node01_address}
120 port: 9161
121 - host: ${_param:kubernetes_control_node02_address}
122 port: 9161
123 - host: ${_param:kubernetes_control_node03_address}
124 port: 9161
125 collector:
126 members:
127 - host: ${_param:kubernetes_control_node01_address}
128 - host: ${_param:kubernetes_control_node02_address}
129 - host: ${_param:kubernetes_control_node03_address}