@@ -21,15 +21,17 @@ compute_resources:
21
21
#
22
22
- provider : oci
23
23
type : machine
24
-
25
- # cloud_compute role to discovery for OCI:
26
- image_name : " {{ custom_image_id }}"
24
+
25
+ # RHCOS Custom Image
26
+ image_name : " {{ cluster_state.compute.image_id }}"
27
+ image_compartment_id : " {{ oci_compartment_id_image | d(oci_compartment_id) }}"
28
+
29
+ # Network details
27
30
vnic_subnet_name : " {{ cluster_state.infra_id }}-net-private"
28
31
network_security_group_names :
29
32
- " {{ cluster_state.infra_id }}-nsg-controlplane"
30
33
31
34
# OCI spec
32
-
33
35
spec :
34
36
state : present
35
37
compartment_id : " {{ oci_compartment_id }}"
@@ -53,6 +55,8 @@ compute_resources:
53
55
54
56
source_details :
55
57
source_type : image
58
+ boot_volume_size_in_gbs : 120
59
+ boot_volume_vpus_per_gb : 20
56
60
57
61
create_vnic_details :
58
62
display_name : " {{ cluster_state.infra_id }}-master-01-vnic0"
@@ -77,9 +81,12 @@ compute_resources:
77
81
#
78
82
- provider : oci
79
83
type : machine
80
-
81
- # cloud_compute role to discovery for OCI:
82
- image_name : " {{ custom_image_id }}"
84
+
85
+ # RHCOS Custom Image
86
+ image_name : " {{ cluster_state.compute.image_id }}"
87
+ image_compartment_id : " {{ oci_compartment_id_image | d(oci_compartment_id) }}"
88
+
89
+ # Network details
83
90
vnic_subnet_name : " {{ cluster_state.infra_id }}-net-private"
84
91
network_security_group_names :
85
92
- " {{ cluster_state.infra_id }}-nsg-controlplane"
@@ -108,6 +115,8 @@ compute_resources:
108
115
109
116
source_details :
110
117
source_type : image
118
+ boot_volume_size_in_gbs : 120
119
+ boot_volume_vpus_per_gb : 20
111
120
112
121
create_vnic_details :
113
122
display_name : " {{ cluster_state.infra_id }}-master-02-vnic0"
@@ -132,9 +141,12 @@ compute_resources:
132
141
#
133
142
- provider : oci
134
143
type : machine
135
-
136
- # cloud_compute role to discovery for OCI:
137
- image_name : " {{ custom_image_id }}"
144
+
145
+ # RHCOS Custom Image
146
+ image_name : " {{ cluster_state.compute.image_id }}"
147
+ image_compartment_id : " {{ oci_compartment_id_image | d(oci_compartment_id) }}"
148
+
149
+ # Network details
138
150
vnic_subnet_name : " {{ cluster_state.infra_id }}-net-private"
139
151
network_security_group_names :
140
152
- " {{ cluster_state.infra_id }}-nsg-controlplane"
@@ -163,6 +175,8 @@ compute_resources:
163
175
164
176
source_details :
165
177
source_type : image
178
+ boot_volume_size_in_gbs : 120
179
+ boot_volume_vpus_per_gb : 20
166
180
167
181
create_vnic_details :
168
182
display_name : " {{ cluster_state.infra_id }}-master-03-vnic0"
0 commit comments