Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,20 @@ In {product-title} version {product-version}, you can install a customized clust
* You have a load balancing service you can use with the {ibm-power-vc-name} network you intend to use.
* You have a DHCP server backing the {ibm-power-vc-name} network you intend to use.

include::modules/installation-ibm-powervc-infra-requirements.adoc[leveloffset=+1]

include::modules/installation-ibm-powervc-default-deployment.adoc[leveloffset=+1]

include::modules/installation-load-balancing-user-infra.adoc[leveloffset=+2]

include::modules/installation-load-balancing-user-infra-example.adoc[leveloffset=+3]

include::modules/installation-obtaining-installer.adoc[leveloffset=+1]

include::modules/installation-initializing.adoc[leveloffset=+1]

include::modules/installation-ibm-powervc-standard-config.adoc[leveloffset=+2]

[role="_additional-resources"]
.Additional resources
* xref:../../installing/installing_ibm_powervc/installation-config-parameters-ibm-powervc.adoc#installation-config-parameters-ibm-powervc[Installation configuration parameters for IBM PowerVC]
Expand Down
58 changes: 58 additions & 0 deletions modules/installation-ibm-powervc-infra-requirements.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
// Module included in the following assemblies:
//
// * installing/installing_ibm_powervc/installing-ibm-powervc-installer-custom.adoc

:_mod-docs-content-type: CONCEPT
[id="installation-ibm-powervc-infra-requirements_{context}"]
= Infrastructure requirements for installing {product-title} on {ibm-power-vc-name}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 [error] AsciiDocDITA.ShortDescription: Assign [role="_abstract"] to a paragraph to use it as in DITA.


To support an {product-title} installation using the installation program, you need to prepare your {ibm-power-vc-name} environment.

[id="installation-ibm-powervc-infra-requirements-account_{context}"]
== {ibm-power-vc-name} account privilege requirements

When installing {product-title} on {ibm-power-vc-name} using the installation program, you must use an administrative account to ensure that you have all required permissions.


[id="installation-ibm-powervc-infra-requirements-image_{context}"]
== {ibm-power-vc-name} image requirements
You will need to import a {op-system-first} image. This can be found using the installation program.

[source,terminal]
----
$ openshift-install coreos print-stream-json | jq -r '.architectures.ppc64le.artifacts.openstack' | jq -r '.formats."qcow2.gz".disk.location'
----

Once downloaded from the resultant URL, you can import into {ibm-power-vc-name} using the `powervc-image-import` tool.

[id="installation-ibm-powervc-infra-requirements-networking_{context}"]
== Networking requirements

=== {ibm-power-vc-name} network
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 [error] AsciiDocDITA.NestedSection: Level 2, 3, 4, and 5 sections are not supported in DITA.

Installation requires at least one PowerVC network. Ideally the network should be dedicated to your {product-title} cluster and not shared with other workloads.

It is recommended that the network is set as a DHCP network in {ibm-power-vc-name}. You must have a DHCP server set up to assign addresses for this network. When using this type of network, {ibm-power-vc-name} is not aware of the IP address that is assigned to the created servers.

=== DNS records
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 [error] AsciiDocDITA.NestedSection: Level 2, 3, 4, and 5 sections are not supported in DITA.

DNS records pointing to loadbalancer service are required for installation. In each record, `<cluster_name>` is the cluster name and `<base_domain>` is the cluster base domain that you specify when you install the cluster. A complete DNS record takes the form: `<component>.<cluster_name>.<base_domain>.`.

.Required DNS records
[cols="1a,5a,3a",options="header"]
|===

|Component
|Record
|Description

|API VIP
|`api.<cluster_name>.<base_domain>.`
|This DNS A/AAAA or CNAME (Canonical Name) record must point to the load balancer for the cluster. This record must be resolvable by both clients external to the cluster and from all the nodes within the cluster.

|API VIP
|`api-int.<cluster_name>.<base_domain>.`
|This DNS A/AAAA or CNAME (Canonical Name) record must point to the load balancer for the cluster. This record must be resolvable by all the nodes within the cluster.

|Ingress VIP
|`*.apps.<cluster_name>.<base_domain>.`
|A wildcard DNS A/AAAA or CNAME record that points to the load balancer that targets the machines that run the Ingress router pods, which are the worker nodes by default. This record must be resolvable by both clients external to the cluster and from all the nodes within the cluster.
|===
62 changes: 62 additions & 0 deletions modules/installation-ibm-powervc-standard-config.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
:_mod-docs-content-type: REFERENCE
[id="install-powervc-standard-config_{context}"]
= Installation configuration for a cluster on {ibm-power-vc-name} with a user-managed load balancer
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 [error] AsciiDocDITA.ShortDescription: Assign [role="_abstract"] to a paragraph to use it as in DITA.


The following example `install-config.yaml` file demonstrates how to configure a cluster that uses an external, user-managed load balancer.

[IMPORTANT]
====
This sample file is provided for reference only. You must obtain your
`install-config.yaml` file by using the installation program.
====

[source,yaml]
----
apiVersion: v1
baseDomain: mydomain.test
compute:
- architecture: ppc64le
hyperthreading: Enabled
name: worker
platform:
powervc:
zones:
- powervc-sample-project
replicas: 3
controlPlane:
architecture: ppc64le
name: master
platform:
powervc:
zones:
- s1122
replicas: 3
metadata:
creationTimestamp: null
name: ocp-on-powervc
networking:
clusterNetwork:
- cidr: 10.100.0.0/14
hostPrefix: 23
machineNetwork:
- cidr: 10.100.32.0/20
networkType: OVNKubernetes
serviceNetwork:
- 172.30.0.0/16
platform:
powervc:
apiVIPs:
- 10.20.188.52 <1>
cloud: powervc
clusterOSImage: my-rhcos-image
defaultMachinePlatform:
type: my-powervc-project
ingressVIPs:
- 10.20.188.52 <1>
controlPlanePort:
fixedIPs:
- subnet:
id: ae643a65-d0fc-4408-90c6-a820340bfade <2>
----
<1> Address of the user-manager load balancer.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 [error] AsciiDocDITA.CalloutList: Callouts are not supported in DITA.

<2> User-managed DHCP server is serving this subnet.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
// * installing/installing_ibm_z/installing-restricted-networks-ibm-z-lpar.adoc
// * installing/installing_ibm_z/installing-ibm-power.adoc
// * installing/installing_ibm_z/installing-restricted-networks-ibm-power.adoc
// * installing/installing_ibm_powervc/installing-ibm-powervc-installer-custom.adoc
// * installing/installing_openstack/installing-openstack-installer-custom.adoc

ifeval::["{context}" == "installing-openstack-installer-custom"]
Expand Down
1 change: 1 addition & 0 deletions modules/installation-load-balancing-user-infra.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
// * installing/installing_ibm_z/installing-restricted-networks-ibm-z-lpar.adoc
// * installing/installing_ibm_z/installing-ibm-power.adoc
// * installing/installing_ibm_z/installing-restricted-networks-ibm-power.adoc
// * installing/installing_ibm_powervc/installing-ibm-powervc-installer-custom.adoc
// * installing/installing_openstack/installing-openstack-installer-custom.adoc

ifeval::["{context}" == "installing-openstack-installer-custom"]
Expand Down