-
Notifications
You must be signed in to change notification settings - Fork 109
/
all.yml
93 lines (93 loc) · 3.16 KB
/
all.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
helper_vm: 192.168.1.20
helper_vm_port: 80
helper_vm_protocol: http
config:
provider: vsphere
base_domain: mydomain.com
cluster_name: "{{ cluster }}"
cluster_version: "4.11.22" # Can also be in format latest-4.11
ignition_version: "3.2.0"
fips: false
#networkType: OVNKubernetes
pull_secret: "{{ lookup('file', '/path/to/pullsecret') }}"
master_schedulable: false
hybrid: false
vcenter:
cluster: vsphere-cluster-1
ip: vcenter01.mydomain.com
datastore: datastore1
iso_dir: ocp_install_isos
network: "VM Network"
parent_folder: "/parent/folder/"
username: vsphere_admin_user #[CHANGE ME]
password: vsphere_admin_pass #[CHANGE ME]
datacenter: 'dc1'
hw_version: 15
download:
govc: "https://github.com/vmware/govmomi/releases/download/v0.30.0"
clients_url: "https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/{{ config.cluster_version }}"
nodes:
- { name: "bootstrap", type: "bootstrap", macaddr: "00:50:56:be:ce:8e", ipaddr: "192.168.1.62", cpu: 4, ram: 16384, size_gb: 120}
- { name: "master0", type: "master", macaddr: "00:50:56:be:1a:81", ipaddr: "192.168.1.81", cpu: 8, ram: 16384, size_gb: 120}
- { name: "master1", type: "master", macaddr: "00:50:56:be:1a:82", ipaddr: "192.168.1.82", cpu: 8, ram: 16384, size_gb: 120}
- { name: "master2", type: "master", macaddr: "00:50:56:be:1a:83", ipaddr: "192.168.1.83", cpu: 8, ram: 16384, size_gb: 120}
- { name: "worker0", type: "worker", macaddr: "00:50:56:be:1a:91", ipaddr: "192.168.1.91", cpu: 8, ram: 16384, size_gb: 120}
- { name: "worker1", type: "worker", macaddr: "00:50:56:be:1a:92", ipaddr: "192.168.1.92", cpu: 8, ram: 16384, size_gb: 120}
- { name: "worker2", type: "worker", macaddr: "00:50:56:be:1a:93", ipaddr: "192.168.1.93", cpu: 8, ram: 16384, size_gb: 120}
# vm_mods:
# hotadd_cpu: true
# hotremove_cpu: true
# hotadd_memory:
# master_cores_per_socket: 2
# worker_cores_per_socket: 2
static_ip:
gateway: 192.168.1.1
netmask: 255.255.255.0
dns: 192.168.1.250
network_interface_name: ens192
network_modifications:
enabled: false
# clusterNetwork:
# - cidr: 100.68.0.0/14
# hostPrefix: 23
# serviceNetwork:
# - cidr: 100.66.0.0/15
# machineNetwork:
# - cidr: 192.168.1.0/21
proxy:
enabled: false
# http_proxy: "http://internet.mydomain.com:8080"
# https_proxy: "http://internet.mydomain.com:8080"
# no_proxy: "'*.mydomain.com,mydomain.com,.mydomain.com,{{ helper_vm_ip }},localhost'"
# cert_content: |
# -----BEGIN CERTIFICATE-----
# <certficate content>
# -----END CERTIFICATE-----
registry:
enabled: false
# product_repo: openshift-release-dev
# product_release_name: ocp-release
# username: artifactory-user #[CHANGE ME]
# password: artifactory-pass #[CHANGE ME]
# email: [email protected]
# cert_content:
# host: artifactory.mydomain.com
# port: 443
# repo: ocp/openshift4
# disconnected: true
ntp:
custom: false
# maxdistance: 16
# ntp_server_list:
# - ntp1.mydomain.com
# - ntp2.mydomain.com
f5:
enabled: false
# api_vip: 1.1.1.1
# app_vip: 2.2.2.2
# provider:
# server: f5_address.tld
# server_port: 8443
# user: f5_username
# password: f5_password
# validate_certs: no