Skip to content

Commit cf46003

Browse files
authored
Merge pull request #66765 from ousleyp/cnv-aws-ga
CNV#29432: support for CNV on AWS BM
2 parents 15de31f + 47cc232 commit cf46003

File tree

2 files changed

+81
-18
lines changed

2 files changed

+81
-18
lines changed

modules/virt-aws-bm.adoc

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/install/preparing-cluster-for-virt.adoc
4+
5+
:_content-type: CONCEPT
6+
[id="virt-aws-bm_{context}"]
7+
= {VirtProductName} on AWS bare metal
8+
9+
You can run {VirtProductName} on an Amazon Web Services (AWS) bare-metal {product-title} cluster. Before you set up your cluster, review the following summary of supported features and limitations:
10+
11+
Installing::
12+
--
13+
* You can install the cluster by using installer-provisioned infrastructure, ensuring that you specify bare-metal node instance types in the `install-config.yaml` file. For example, you can use the `c5n.metal` type value for a machine based on x86_64 architecture.
14+
+
15+
For more information, see the {product-title} documentation about installing on AWS.
16+
--
17+
18+
Accessing virtual machines (VMs)::
19+
--
20+
* There is no change to how you access VMs by using the `virtctl` CLI tool or the {product-title} web console.
21+
* You can expose VMs by using a `NodePort` or `LoadBalancer` service.
22+
** The load balancer approach is preferable because {product-title} automatically creates the load balancer in AWS and manages its lifecycle. A security group is also created for the load balancer, and you can use annotations to attach existing security groups. When you remove the service, {product-title} removes the load balancer and its associated resources.
23+
--
24+
25+
Networking::
26+
--
27+
* You cannot use Single Root I/O Virtualization (SR-IOV) or bridge Container Network Interface (CNI) networks, including virtual LAN (VLAN). If your application requires a flat layer 2 network or control over the IP pool, consider using OVN-Kubernetes secondary overlay networks.
28+
--
29+
30+
Storage::
31+
--
32+
* link:https://docs.portworx.com/portworx-enterprise/install-portworx/openshift[Portworx] is supported as a storage provider for {VirtProductName} on AWS bare metal.
33+
** To use Portworx with {VirtProductName}, you must configure the `StorageClass` manifest to support live migration. For example:
34+
+
35+
.Example `StorageClass` manifest
36+
[source,yaml]
37+
----
38+
allowVolumeExpansion: true
39+
apiVersion: storage.k8s.io/v1
40+
kind: StorageClass
41+
metadata:
42+
annotations:
43+
params/aggregation_level: Specifies the number of replication sets the volume
44+
can be aggregated from
45+
#...
46+
name: px-csi-db-shared
47+
parameters:
48+
io_profile: db_remote
49+
repl: "2" <1>
50+
sharedv4: "true"
51+
sharedv4_mount_options: vers=3.0,nolock <2>
52+
sharedv4_svc_type: ClusterIP
53+
provisioner: pxd.portworx.com
54+
reclaimPolicy: Delete
55+
volumeBindingMode: Immediate
56+
----
57+
<1> Use `repl: "2"` for a cluster with 3 worker nodes.
58+
<2> You must use NFS version 3 with the `nolock` mount option.
59+
--
60+
* Amazon Elastic File System (EFS) and Amazon Elastic Block Store (EBS) are not supported for use with {VirtProductName} due to performance and functionality limitations.

virt/install/preparing-cluster-for-virt.adoc

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,15 @@ You cannot run {VirtProductName} on a single-stack IPv6 cluster.
2525

2626
If you install your cluster in xref:../../installing/installing-fips.adoc#installing-fips-mode_installing-fips[FIPS mode], no additional setup is required for {VirtProductName}.
2727

28-
// Section is in assembly so that we can use xrefs
29-
[id="virt-hardware-os-requirements_preparing-cluster-for-virt"]
30-
== Hardware and operating system requirements
31-
32-
Review the following hardware and operating system requirements for {VirtProductName}.
33-
3428
[id="supported-platforms_preparing-cluster-for-virt"]
35-
=== Supported platforms
29+
== Supported platforms
30+
31+
You can use the following platforms with {VirtProductName}:
3632

3733
* On-premise bare metal servers. See xref:../../installing/installing_bare_metal/preparing-to-install-on-bare-metal.adoc#virt-planning-bare-metal-cluster-for-ocp-virt_preparing-to-install-on-bare-metal[Planning a bare metal cluster for {VirtProductName}].
38-
* Amazon Web Services bare metal instances. See link:https://access.redhat.com/articles/6409731[Deploy {VirtProductName} on AWS metal instance types].
39-
+
40-
--
41-
ifdef::openshift-enterprise[]
42-
:FeatureName: Installing OpenShift Virtualization on AWS bare metal instances
43-
include::snippets/technology-preview.adoc[]
44-
:!FeatureName:
45-
endif::[]
46-
--
34+
35+
* Amazon Web Services bare metal instances. See xref:../../installing/installing_aws/installing-aws-customizations.html#installing-aws-customizations[Installing a cluster on AWS with customizations].
36+
//See link:https://access.redhat.com/articles/6409731[Deploy {VirtProductName} on AWS metal instance types]. // seems outdated with references to OCS - remove?
4737

4838
* IBM Cloud Bare Metal Servers. See link:https://access.redhat.com/articles/6738731[Deploy {VirtProductName} on IBM Cloud Bare Metal nodes].
4939
+
@@ -54,8 +44,21 @@ include::snippets/technology-preview.adoc[]
5444
:!FeatureName:
5545
endif::[]
5646
--
57-
+
58-
*Bare metal instances or servers offered by other cloud providers are not supported.*
47+
48+
Bare metal instances or servers offered by other cloud providers are not supported.
49+
50+
include::modules/virt-aws-bm.adoc[leveloffset=+2]
51+
52+
[role="_additional-resources"]
53+
.Additional resources
54+
* xref:../../virt/vm_networking/virt-connecting-vm-to-ovn-secondary-network.adoc#virt-connecting-vm-to-ovn-secondary-network[Connecting a virtual machine to an OVN-Kubernetes secondary network]
55+
* xref:../../virt/vm_networking/virt-exposing-vm-with-service.adoc#virt-exposing-vm-with-service[Exposing a virtual machine by using a service]
56+
57+
// Section is in assembly so that we can use xrefs
58+
[id="virt-hardware-os-requirements_preparing-cluster-for-virt"]
59+
== Hardware and operating system requirements
60+
61+
Review the following hardware and operating system requirements for {VirtProductName}.
5962

6063
[id="cpu-requirements_preparing-cluster-for-virt"]
6164
=== CPU requirements

0 commit comments

Comments
 (0)