2f00c5fc6e4f042c8da8948838ae3aa67d225c71
[yaml_builds.git] / templates / aic-clcp-manifests / networks / common-addresses.j2
1 ---
2 ##############################################################################
3 # Copyright © 2018 AT&T Intellectual Property. All rights reserved.          #
4 #                                                                            #
5 # Licensed under the Apache License, Version 2.0 (the "License"); you may    #
6 # not use this file except in compliance with the License.                   #
7 #                                                                            #
8 # You may obtain a copy of the License at                                    #
9 #       http://www.apache.org/licenses/LICENSE-2.0                           #
10 #                                                                            #
11 # Unless required by applicable law or agreed to in writing, software        #
12 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT  #
13 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.           #
14 # See the License for the specific language governing permissions and        #
15 # limitations under the License.                                             #
16 ##############################################################################
17
18 schema: pegleg/CommonAddresses/v1
19 metadata:
20   schema: metadata/Document/v1
21   name: common-addresses
22   layeringDefinition:
23     abstract: false
24     layer: site
25   storagePolicy: cleartext
26 data:
27   calico:
28     ip_autodetection_method: interface={{yaml.networks.ksn.interface}}
29     etcd:
30       service_ip: 10.96.232.136
31
32   dns:
33     cluster_domain: cluster.local
34     service_ip: 10.96.0.10
35     upstream_servers:
36       - 135.37.9.16
37       - 135.38.244.16
38       - 135.188.34.84
39     upstream_servers_joined: 135.37.9.16,135.38.244.16,135.53.34.84
40
41   genesis:
42     hostname: {{yaml.genesis.name}}
43     ip: {{yaml.genesis.ksn}}
44
45   bootstrap:
46     ip: {{yaml.genesis.pxe}}
47
48   kubernetes:
49     api_service_ip: {{yaml.kubernetes.api_service_ip}}
50     etcd_service_ip: {{yaml.kubernetes.etcd_service_ip}}
51     pod_cidr: {{yaml.kubernetes.pod_cidr}}
52     service_cidr: {{yaml.kubernetes.service_cidr}}
53     apiserver_port: 6443
54     haproxy_port: 6553
55     service_node_port_range: 30000-35357
56
57   etcd:
58     container_port: 2379
59     haproxy_port: 2378
60
61   masters:
62 {% for master in yaml.masters %}
63     - hostname: {{master.name}}
64 {% endfor %}
65
66   workers:
67 {% for worker in yaml.workers %}
68     - hostname: {{worker.name}}
69 {% endfor %}
70
71   proxy:
72     http: http://one.proxy.att.com:8080
73     https: http://one.proxy.att.com:8080
74     no_proxy: '{{yaml.kubernetes.api_service_ip}},*.cluster.local,{{yaml.genesis.host}}{%for server in yaml.servers%},{{server.host}}{% endfor %}'
75
76   node_ports:
77     drydock_api: 30000
78     maas_api: 30001
79     maas_proxy: 31800  # hardcoded in maas
80     shipyard_api: 30003
81     airflow_web: 30004
82
83   ntp:
84     servers_joined: '135.25.154.100'
85
86   storage:
87     ceph:
88       public_cidr: '{{yaml.networks.storage.cidr}}'
89       cluster_cidr: '{{yaml.networks.storage.cidr}}'
90
91   neutron:
92     tunnel_device: '{{yaml.networks.neutron.interface}}'
93     external_iface: '{{yaml.networks.neutron.interface}}'
94
95   openvswitch:
96     external_iface: '{{yaml.networks.neutron.interface}}'
97 ...