2025-04-18 10:59:36 +05:30
// 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
2025-11-18 15:39:52 -05:00
2025-08-27 12:56:08 +01:00
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.
2025-04-18 10:59:36 +05:30
.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.
2025-08-27 12:56:08 +01:00
<6> Specify the root filesystem URL for x86.
2025-04-18 10:59:36 +05:30
<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`.