blob: fceafb90b50a97175912b8bf9f395651828c0e7a [file] [log] [blame]
marcoacdae7e2015-12-02 15:35:37 +01001applications:
2- kubernetes
3classes:
4- service.kubernetes.support
marcoacdae7e2015-12-02 15:35:37 +01005- service.kubernetes.common
6parameters:
marcoacdae7e2015-12-02 15:35:37 +01007 kubernetes:
8 master:
9 enabled: true
marco222397d2016-07-01 10:01:32 +020010 version: ${_param:kubernetes_version}
marcof7efecb2016-07-16 16:13:37 +020011 registry:
12 host: tcpcloud
marcoacdae7e2015-12-02 15:35:37 +010013 service_addresses: 10.254.0.0/16
14 admin:
marco9959bda2016-07-13 10:39:58 +020015 username: ${_param:kubernetes_admin_user}
16 password: ${_param:kubernetes_admin_password}
marcoacdae7e2015-12-02 15:35:37 +010017 kubelet:
18 allow_privileged: True
19 apiserver:
marco9959bda2016-07-13 10:39:58 +020020 address: ${_param:cluster_local_address}
marco45fc1b72016-07-02 16:11:18 +020021 insecure_address: 0.0.0.0
marcoacdae7e2015-12-02 15:35:37 +010022 etcd:
marco9959bda2016-07-13 10:39:58 +020023 host: ${_param:cluster_local_address}
marco45fc1b72016-07-02 16:11:18 +020024 registry: quay.io/coreos
marco9959bda2016-07-13 10:39:58 +020025 version: ${_param:etcd_version}
26 token: ${_param:etcd_initial_token}
marcoacdae7e2015-12-02 15:35:37 +010027 name: ${linux:system:name}
28 members:
29 - host: ${_param:cluster_node01_address}
30 name: ${_param:cluster_node01_hostname}
31 - host: ${_param:cluster_node02_address}
32 name: ${_param:cluster_node02_hostname}
33 - host: ${_param:cluster_node03_address}
34 name: ${_param:cluster_node03_hostname}
35 addons:
36 dns:
37 enabled: true
38 replicas: 1
39 domain: cluster.local
40 server: 10.254.0.10
marcoacdae7e2015-12-02 15:35:37 +010041 token:
marco9959bda2016-07-13 10:39:58 +020042 admin: ${_param:kubernetes_admin_token}
43 kubelet: ${_param:kubernetes_kubelet_token}
44 kube_proxy: ${_param:kubernetes_kube-proxy_token}
45 scheduler: ${_param:kubernetes_scheduler_token}
46 controller_manager: ${_param:kubernetes_controller-manager_token}
47 dns: ${_param:kubernetes_dns_token}
marcoacdae7e2015-12-02 15:35:37 +010048 ca: kubernetes
49 storage:
marcoa4ddca72016-07-12 17:46:53 +020050 engine: none
51 namespace:
52 kube-system:
marcoa05621f2016-07-14 10:35:24 +020053 enabled: True
54 network:
55 etcd:
56 members:
57 - host: ${_param:cluster_node01_address}
58 port: 4001
59 - host: ${_param:cluster_node02_address}
60 port: 4001
61 - host: ${_param:cluster_node03_address}
62 port: 4001