You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/openshift-virtualization.md
+30-28Lines changed: 30 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,12 +4,12 @@
4
4
-[Limits and Considerations](#limitations-and-considerations)
5
5
-[Installation](#installation)
6
6
7
-
[OpenShift Virtualization](https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/virtualization/index) provides scalable, enterprise-grade virtualization in OpenShift. You can use it to manage virtual machines (VMs) exclusively or alongside container workloads. Another use-case for OpenShift Virtualization is as a migration destination for VMs moving from vSphere to OpenShift using the Migration Toolkit for Virtualization.
7
+
[OpenShift Virtualization](https://docs.redhat.com/en/documentation/openshift_container_platform/latest/html/virtualization/index) provides scalable, enterprise-grade virtualization in OpenShift. You can use it to manage virtual machines (VMs) exclusively or alongside container workloads. Another use-case for OpenShift Virtualization is as a migration destination for VMs moving from vSphere to OpenShift using the Migration Toolkit for Virtualization.
8
8
9
9
In collaboration with Red Hat and their Virtualization team, OpenShift Virtualization is available for OpenShift on OCI.
10
10
11
11
For more information, see:
12
-
-[Red Hat - Planning and Installing OpenShift Virtualization](https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/virtualization/getting-started#planning-and-installing-virt_virt-getting-started)
12
+
-[Red Hat - Planning and Installing OpenShift Virtualization](https://docs.redhat.com/en/documentation/openshift_container_platform/latest/html/virtualization/getting-started#planning-and-installing-virt_virt-getting-started)
13
13
-[Red Hat - Migration Toolkit for Virtualization](https://developers.redhat.com/products/mtv/overview)
14
14
15
15
## Prerequisites
@@ -25,7 +25,7 @@ We also recommend that you use Ultra High Performance Raw Block Volumes (UHP RBV
25
25
26
26
For more information, see:
27
27
-[oci-openshift - STORAGE.md](/docs/STORAGE.md)
28
-
-[Red Hat - Planning a bare metal cluster for OpenShift Virtualization](https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html-single/installing_on_bare_metal/index#virt-planning-bare-metal-cluster-for-ocp-virt_preparing-to-install-on-bare-metal)
28
+
-[Red Hat - Planning a bare metal cluster for OpenShift Virtualization](https://docs.redhat.com/en/documentation/openshift_container_platform/latest/html-single/installing_on_bare_metal/index#virt-planning-bare-metal-cluster-for-ocp-virt_preparing-to-install-on-bare-metal)
29
29
-[OCI - OpenShift on OCI: Supported Shapes](https://docs.oracle.com/en-us/iaas/Content/openshift-on-oci/overview.htm#supported-shapes)
30
30
-[OCI - Bare Metal Compute Shapes](https://docs.oracle.com/en-us/iaas/Content/Compute/References/computeshapes.htm#baremetalshapes)
31
31
-[OCI - Ultra High Performance Block Volumes](https://docs.oracle.com/en-us/iaas/Content/Block/Concepts/blockvolumeultrahighperformance.htm)
@@ -87,39 +87,41 @@ reclaimPolicy: Delete
87
87
---
88
88
89
89
### Installing OpenShift Virtualization
90
-
1. Follow the [installation](https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/virtualization/installing#virt-installing-virt-operator_installing-virt) documentation from Red Hat to install the OpenShift Virtualization operator.
90
+
1. Follow the [installation](https://docs.redhat.com/en/documentation/openshift_container_platform/latest/html/virtualization/installing#virt-installing-virt-operator_installing-virt) documentation from Red Hat to install the OpenShift Virtualization operator.
91
91
92
-
2. After you have installed the OpenShift Virtualization operator and created your HyperConverged instance, you need to [update](https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/virtualization/storage#virt-configuring-storage-profile) the StorageProfile for your **default** StorageClass:
93
-
```
92
+
2. After you have installed the OpenShift Virtualization operator and created your HyperConverged instance, verify the StorageProfiles created by HyperConverged and [update](https://docs.redhat.com/en/documentation/openshift_container_platform/latest/html/virtualization/storage#virt-configuring-storage-profile) them if needed:
3. To clone VMs, you must have a **default** StorageClass. If no StorageClass is annotated as the **default**, you can patch an existing StorageClass. For Ultra High Performance (UHP) Block Volumes, use `oci-bv-uhp`:
98
-
```
97
+
3. You must have a **default** StorageClass for OpenShift Virtualization. If no StorageClass is annotated as the **default**, you can annotate/patch an existing StorageClass. For Ultra High Performance (UHP) Block Volumes, use `oci-bv-uhp` from the [Using the UHP CSI Driver](#using-the-uhp-csi-driver):
4. **If you want to be able to clone VMs or use snapshot/restore operations, you must manually create the`VolumeSnapshotClass` resource after installation.**
103
-
The OCI CSI driver supports snapshotting, but the `VolumeSnapshotClass` is **not installed by default** for compatibility reasons.
104
-
Create the following manifest and apply it to your cluster:
4. The OCI CSI driver supports snapshotting, and if you want to be able to clone VMs or perform snapshot/restore operations, you must have a **default** `VolumeSnapshotClass`. The `oci-snapshot` `VolumeSnapshotClass` is annotated as the **default** and included in the `dynamic_custom_manifest` output from `create-cluster` (**>=v1.4.2**).
105
+
106
+
If you are missing a `VolumeSnapshotClass` and need to add one to an existing cluster, review the following manifest and apply it to your cluster:
Copy file name to clipboardExpand all lines: terraform-stacks/add-nodes/schema.yaml
+3-19Lines changed: 3 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,7 @@
1
-
#
2
-
# Copyright (c) 2024 Oracle and/or its affiliates. Licensed under the Universal Permissive License (UPL), Version 1.0. See LICENSE for more details.
3
-
#
4
-
5
-
title: Adding Nodes to OpenShift Cluster on OCI
1
+
title: Add Nodes to OpenShift Cluster on OCI - v1.4.2
6
2
description: A Terraform Stack for creating resources required for adding nodes to OpenShift Cluster on OCI
7
-
schemaVersion: 1.1.0
8
-
version: "20241106"
3
+
schemaVersion: 1.4.2
4
+
version: "20250916"
9
5
locale: "en"
10
6
11
7
@@ -227,49 +223,37 @@ variables:
227
223
compute_shape:
228
224
type: string
229
225
title: Compute Shape
230
-
description: Compute Instance shape of compute nodes. For more detail regarding supported shapes, please visit https://docs.oracle.com/en-us/iaas/Content/openshift-on-oci/overview.htm#supported-shapes
231
-
default: "VM.Standard.E5.Flex"
232
226
required: true
233
227
234
228
compute_count:
235
229
type: integer
236
230
title: Compute Node Count
237
-
description: The number of compute nodes to add to the cluster. The default value is 1.
238
231
required: true
239
-
default: 1
240
232
241
233
compute_ocpu:
242
234
type: integer
243
235
title: Compute Node OCPU
244
-
description: The number of OCPUs available for the shape of each compute node. The default value is 6.
245
-
default: 6
246
236
minimum: 1
247
237
maximum: 144
248
238
required: true
249
239
250
240
compute_memory:
251
241
type: integer
252
242
title: Compute Node Memory
253
-
description: The amount of memory available for the shape of each compute node, in gigabytes. The default value is 16.
254
-
default: 16
255
243
minimum: 1
256
244
maximum: 1760
257
245
required: true
258
246
259
247
compute_boot_size:
260
248
type: integer
261
249
title: Compute Node Boot Volume
262
-
description: The size of the boot volume of each compute node in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB). The default value is 100 GB.
263
-
default: 100
264
250
minimum: 50
265
251
maximum: 32768
266
252
required: true
267
253
268
254
compute_boot_volume_vpus_per_gb:
269
255
type: integer
270
256
title: Compute Node VPU
271
-
description: The number of volume performance units (VPUs) that will be applied to this volume per GB of each compute node. The default value is 30.
Copy file name to clipboardExpand all lines: terraform-stacks/add-nodes/variables.tf
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -63,13 +63,13 @@ variable "compute_count" {
63
63
variable"compute_shape" {
64
64
default="VM.Standard.E5.Flex"
65
65
type=string
66
-
description="Compute shape of the compute nodes. The default shape is BM.Standard3.64. For more detail regarding supported shapes, please visit https://docs.oracle.com/en-us/iaas/Content/openshift-on-oci/overview.htm#supported-shapes"
66
+
description="Compute shape of the compute nodes. The default shape is VM.Standard.E5.Flex for VM setup and BM.Standard3.64 for BM setup. For more details regarding supported shapes, review OpenShift on OCI <a href='https://docs.oracle.com/en-us/iaas/Content/openshift-on-oci/overview.htm#supported-shapes'>supported shapes</a>."
67
67
}
68
68
69
69
variable"compute_ocpu" {
70
70
default=6
71
71
type=number
72
-
description="The number of OCPUs available for the shape of each compute node. The default value is 4. "
72
+
description="The number of OCPUs available for the shape of each compute node."
description="The size of the boot volume of each compute node in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB). The default value is 100 GB."
105
+
description="The size of the boot volume of each compute node in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB)."
Copy file name to clipboardExpand all lines: terraform-stacks/create-cluster/schema.yaml
+3-18Lines changed: 3 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,7 @@
1
-
#
2
-
# Copyright (c) 2019-2020 Oracle and/or its affiliates. All rights reserved.
3
-
#
4
-
5
-
title: OpenShift on OCI
1
+
title: OpenShift Cluster on OCI - v1.4.2
6
2
description: A Terraform Stack for creating resources required for installing OpenShift on OCI
7
-
schemaVersion: 1.2.0
8
-
version: "20250602"
3
+
schemaVersion: 1.4.2
4
+
version: "20250916"
9
5
locale: "en"
10
6
11
7
variableGroups:
@@ -368,49 +364,38 @@ variables:
368
364
compute_shape:
369
365
type: string
370
366
title: Compute Shape
371
-
description: Compute Instance shape of compute nodes. For more details, review OpenShift on OCI <a href='https://docs.oracle.com/en-us/iaas/Content/openshift-on-oci/overview.htm#supported-shapes'>supported shapes</a>
372
367
default: "VM.Standard.E5.Flex"
373
368
required: true
374
369
375
370
compute_count:
376
371
type: integer
377
372
title: Compute Node Count
378
-
description: The number of compute nodes in the cluster. The default value is 3.
379
373
required: true
380
-
default: 3
381
374
382
375
compute_ocpu:
383
376
type: integer
384
377
title: Compute Node OCPU
385
-
description: The number of OCPUs available for the shape of each compute node. The default value is 6.
386
-
default: 6
387
378
minimum: 1
388
379
maximum: 144
389
380
required: true
390
381
391
382
compute_memory:
392
383
type: integer
393
384
title: Compute Node Memory
394
-
description: The amount of memory available for the shape of each compute node, in gigabytes. The default value is 16.
395
-
default: 16
396
385
minimum: 1
397
386
maximum: 1760
398
387
required: true
399
388
400
389
compute_boot_size:
401
390
type: integer
402
391
title: Compute Node Boot Volume
403
-
description: The size of the boot volume of each compute node in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB). The default value is 100 GB.
404
-
default: 100
405
392
minimum: 50
406
393
maximum: 32768
407
394
required: true
408
395
409
396
compute_boot_volume_vpus_per_gb:
410
397
type: integer
411
398
title: Compute Node VPU
412
-
description: The number of volume performance units (VPUs) that will be applied to this volume per GB of each compute node. The default value is 30.
0 commit comments