apiVersion: v1
baseDomain: <domain>
metadata:
name: <cluster_name>
networking:
machineNetwork:
- cidr: <public_cidr>
networkType: OVNKubernetes
compute:
- name: worker
replicas: 2
controlPlane:
name: master
replicas: 3
platform:
baremetal: {}
platform:
baremetal:
apiVIPs:
- <api_ip>
ingressVIPs:
- <wildcard_ip>
provisioningNetwork: "Disabled"
bootstrapExternalStaticIP: <bootstrap_static_ip_address>
bootstrapExternalStaticGateway: <bootstrap_static_gateway>
bootstrapExternalStaticDNS: <bootstrap_static_dns>
hosts:
- name: openshift-master-0
role: master
bmc:
address: redfish-virtualmedia://<out-of-band-ip>/redfish/v1/Systems/1
username: <user>
password: <password>
disableCertificateVerification: True
bootMACAddress: <NIC1_mac_address>
rootDeviceHints:
rotational: false
networkConfig:
dns:
config:
server:
- 192.0.2.1
search:
- example.org
routes:
config:
- destination: 0.0.0.0/0
next-hop-interface: eth1
next-hop-address: 192.0.2.1
interfaces:
- link-aggregation:
mode: active-backup
options:
all_slaves_active: delivered
miimon: "140"
ports:
- en0s1
- en1s1
name: bond0
state: up
type: bond
ipv4:
address:
- ip: 192.168.143.15
prefix-length: 20
dhcp: false
enabled: true
ipv6:
enabled: false
- name: <openshift_master_1>
role: master
bmc:
address: redfish-virtualmedia://<out-of-band-ip>/redfish/v1/Systems/1
username: <user>
password: <password>
disableCertificateVerification: True
bootMACAddress: <NIC1_mac_address>
rootDeviceHints:
deviceName: "<installation_disk_drive_path>"
networkConfig:
dns:
config:
server:
- 192.0.2.1
search:
- example.org
routes:
config:
- destination: 0.0.0.0/0
next-hop-interface: eth1
next-hop-address: 192.0.2.1
interfaces:
- ipv4:
enabled: false
ipv6:
enabled: false
link-aggregation:
mode: active-backup
options:
all_slaves_active: delivered
miimon: "140"
ports:
- en0s1
- en1s1
name: bond0
state: up
type: bond
- ipv4:
address:
- ip: 192.168.143.15
prefix-length: 20
dhcp: false
enabled: true
ipv6:
enabled: false
name: bond0.1516
state: up
type: vlan
vlan:
base-iface: bond0
id: 1516
reorder-headers: true
- name: <openshift_master_2>
role: master
bmc:
address: redfish-virtualmedia://<out-of-band-ip>/redfish/v1/Systems/1
username: <user>
password: <password>
disableCertificateVerification: True
bootMACAddress: <NIC1_mac_address>
rootDeviceHints:
deviceName: "<installation_disk_drive_path>"
networkConfig:
dns:
config:
server:
- 192.0.2.1
search:
- example.org
routes:
config:
- destination: 0.0.0.0/0
next-hop-interface: eth1
next-hop-address: 192.0.2.1
interfaces:
- ipv4:
enabled: false
ipv6:
enabled: false
link-aggregation:
mode: active-backup
options:
all_slaves_active: delivered
miimon: "140"
ports:
- en0s1
- en1s1
name: bond0
state: up
type: bond
- ipv4:
address:
- ip: 192.168.143.15
prefix-length: 20
dhcp: false
enabled: true
ipv6:
enabled: false
name: bond0.1516
state: up
type: vlan
vlan:
base-iface: bond0
id: 1516
reorder-headers: true
- name: <openshift_worker_0>
role: worker
bmc:
address: redfish-virtualmedia://<out-of-band-ip>/redfish/v1/Systems/1
username: <user>
password: <password>
disableCertificateVerification: True
bootMACAddress: <NIC1_mac_address>
networkConfig:
dns:
config:
server:
- 192.0.2.1
search:
- example.org
routes:
config:
- destination: 0.0.0.0/0
next-hop-interface: eth1
next-hop-address: 192.0.2.1
interfaces:
- ipv4:
enabled: false
ipv6:
enabled: false
link-aggregation:
mode: active-backup
options:
all_slaves_active: delivered
miimon: "140"
ports:
- en0s1
- en1s1
name: bond0
state: up
type: bond
- ipv4:
address:
- ip: 192.168.143.15
prefix-length: 20
dhcp: false
enabled: true
ipv6:
enabled: false
name: bond0.1516
state: up
type: vlan
vlan:
base-iface: bond0
id: 1516
reorder-headers: true
- name: <openshift_worker_1>
role: worker
bmc:
address: redfish-virtualmedia://<out-of-band-ip>/redfish/v1/Systems/1
username: <user>
password: <password>
disableCertificateVerification: True
bootMACAddress: <NIC1_mac_address>
rootDeviceHints:
deviceName: "<installation_disk_drive_path>"
networkConfig:
dns:
config:
server:
- 192.0.2.1
search:
- example.org
routes:
config:
- destination: 0.0.0.0/0
next-hop-interface: eth1
next-hop-address: 192.0.2.1
interfaces:
- ipv4:
enabled: false
ipv6:
enabled: false
link-aggregation:
mode: active-backup
options:
all_slaves_active: delivered
miimon: "140"
ports:
- en0s1
- en1s1
name: bond0
state: up
type: bond
- ipv4:
address:
- ip: 192.168.143.15
prefix-length: 20
dhcp: false
enabled: true
ipv6:
enabled: false
name: bond0.1516
state: up
type: vlan
vlan:
base-iface: bond0
id: 1516
reorder-headers: true
pullSecret: '<pull_secret>'
sshKey: '<ssh_pub_key>'