commit | author | age
|
b1c0bd
|
1 |
--- |
SB |
2 |
apiVersion: v1 |
909bee
|
3 |
metadata: |
WK |
4 |
name: {{ guid }} |
b1c0bd
|
5 |
baseDomain: {{ ocp4_base_domain | default(guid + subdomain_base_suffix) }} |
SB |
6 |
controlPlane: |
|
7 |
name: master |
909bee
|
8 |
hyperthreading: Enabled |
b1c0bd
|
9 |
platform: |
909bee
|
10 |
{% if cloud_provider == 'ec2'| d(false) | bool %} |
WK |
11 |
ImageId: {{ custom_image.image_id }} |
b1c0bd
|
12 |
aws: |
SB |
13 |
type: {{ master_instance_type }} |
|
14 |
rootVolume: |
|
15 |
type: {{ master_storage_type }} |
909bee
|
16 |
{% endif %} |
WK |
17 |
{% if cloud_provider == 'osp' %} |
|
18 |
openstack: |
|
19 |
type: {{ master_instance_type }} |
|
20 |
{% endif %} |
b1c0bd
|
21 |
replicas: {{ master_instance_count }} |
909bee
|
22 |
compute: |
WK |
23 |
- name: worker |
|
24 |
hyperthreading: Enabled |
|
25 |
platform: |
|
26 |
{% if cloud_provider == 'ec2'| d(false) | bool %} |
|
27 |
ImageId: {{ custom_image.image_id }} |
|
28 |
aws: |
|
29 |
type: {{ worker_instance_type }} |
|
30 |
rootVolume: |
|
31 |
type: {{ worker_storage_type }} |
|
32 |
{% endif %} |
|
33 |
{% if cloud_provider == 'osp' %} |
|
34 |
openstack: |
|
35 |
type: {{ worker_instance_type }} |
|
36 |
{% endif %} |
|
37 |
replicas: {{ worker_instance_count }} |
b1c0bd
|
38 |
networking: |
SB |
39 |
clusterNetwork: |
|
40 |
- cidr: 10.128.0.0/14 |
|
41 |
hostPrefix: 23 |
|
42 |
machineCIDR: 10.0.0.0/16 |
|
43 |
serviceNetwork: |
|
44 |
- 172.30.0.0/16 |
|
45 |
networkType: OpenshiftSDN |
|
46 |
platform: |
|
47 |
{% if cloud_provider == 'ec2'| d(false) | bool %} |
|
48 |
aws: |
|
49 |
region: {{ aws_region_final | d(aws_region) }} |
|
50 |
userTags: {{ hostvars.localhost.cf_tags_final | d({}) | to_json }} |
|
51 |
{% endif %} |
|
52 |
{% if cloud_provider == 'osp' %} |
|
53 |
openstack: |
6bd9e1
|
54 |
cloud: {{ osp_cloud_name }} |
b1c0bd
|
55 |
computeFlavor: 4c16g30d |
SB |
56 |
externalNetwork: external |
|
57 |
lbFloatingIP: {{ hostvars.localhost.ocp_api_fip }} |
|
58 |
octaviaSupport: "1" |
|
59 |
region: "" |
909bee
|
60 |
trunkSupport: "0" |
b1c0bd
|
61 |
{% endif %} |
909bee
|
62 |
pullSecret: '{{ ocp4_pull_secret | replace("'",'"') }}' |
b1c0bd
|
63 |
sshKey: | |
SB |
64 |
{{ idrsapub.content | b64decode }} |