-
Notifications
You must be signed in to change notification settings - Fork 24
/
bmh-worker-1.yaml
60 lines (60 loc) · 1.26 KB
/
bmh-worker-1.yaml
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
---
apiVersion: v1
kind: Secret
metadata:
name: openshift-worker-1-network-config-secret
namespace: openshift-machine-api
type: Opaque
stringData:
nmstate: |
interfaces:
- name: bond0
type: bond
state: up
ipv4:
address:
- ip: 192.168.36.67
prefix-length: 24
enabled: true
link-aggregation:
mode: 802.3ad
port:
- eno12399
- eno12409
dns-resolver:
config:
server:
- 192.168.36.65
routes:
config:
- destination: 0.0.0.0/0
next-hop-address: 192.168.36.1
next-hop-interface: bond0
---
apiVersion: v1
kind: Secret
metadata:
name: openshift-worker-1-bmc-secret
namespace: openshift-machine-api
type: Opaque
data:
username: cm9....
password: Y2F.....
---
apiVersion: metal3.io/v1alpha1
kind: BareMetalHost
metadata:
name: compute0
namespace: openshift-machine-api
spec:
online: True
bootMACAddress: B4:83:51:08:E1:C8
bmc:
address: idrac-virtualmedia://172.16.0.67/redfish/v1/Systems/System.Embedded.1
credentialsName: openshift-worker-1-bmc-secret
disableCertificateVerification: True
username: ro...
password: ca....
rootDeviceHints:
deviceName: /dev/nvme0n1
preprovisioningNetworkDataName: openshift-worker-1-network-config-secret