mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
62 lines
1.9 KiB
Plaintext
62 lines
1.9 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * hosted_control_planes/hcp-deploy/hcp-deploy-ibm-power.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="hcp-ibm-power-create-heterogeneous-nodepools-agent-hc_{context}"]
|
|
= Creating the AgentServiceConfig custom resource
|
|
|
|
To create heterogeneous node pools on an agent hosted cluster, you need to create the `AgentServiceConfig` CR with two heterogeneous architecture operating system (OS) images.
|
|
|
|
.Procedure
|
|
|
|
* Run the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ envsubst <<"EOF" | oc apply -f -
|
|
apiVersion: agent-install.openshift.io/v1beta1
|
|
kind: AgentServiceConfig
|
|
metadata:
|
|
name: agent
|
|
spec:
|
|
databaseStorage:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: <db_volume_name> <1>
|
|
filesystemStorage:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
resources:
|
|
requests:
|
|
storage: <fs_volume_name> <2>
|
|
osImages:
|
|
- openshiftVersion: <ocp_version> <3>
|
|
version: <ocp_release_version_x86> <4>
|
|
url: <iso_url_x86> <5>
|
|
rootFSUrl: <root_fs_url_x8> <6>
|
|
cpuArchitecture: <arch_x86> <7>
|
|
- openshiftVersion: <ocp_version> <8>
|
|
version: <ocp_release_version_ppc64le> <9>
|
|
url: <iso_url_ppc64le> <10>
|
|
rootFSUrl: <root_fs_url_ppc64le> <11>
|
|
cpuArchitecture: <arch_ppc64le> <12>
|
|
EOF
|
|
----
|
|
+
|
|
<1> Specify the {mce} `agentserviceconfig` config, database volume name.
|
|
<2> Specify the {mce-short} `agentserviceconfig` config, filesystem volume name.
|
|
<3> Specify the current version of {product-title}.
|
|
<4> Specify the current {product-title} release version for x86.
|
|
<5> Specify the ISO URL for x86.
|
|
<6> Specify the root filesystem URL for x86.
|
|
<7> Specify the CPU architecture for x86.
|
|
<8> Specify the current {product-title} version.
|
|
<9> Specify the {product-title} release version for `ppc64le`.
|
|
<10> Specify the ISO URL for `ppc64le`.
|
|
<11> Specify the root filesystem URL for `ppc64le`.
|
|
<12> Specify the CPU architecture for `ppc64le`.
|
|
|