Creating node pools on the multi-architecture hosted cluster

After you transition your hosted cluster from single-architecture to multi-architecture, create node pools on compute machines based on 64-bit AMD and 64-bit ARM architectures.

Procedure
  1. Create node pools based on 64-bit ARM architecture by entering the following command:

    $ hcp create nodepool aws \
      --cluster-name <hosted_cluster_name> \
      --name <nodepool_name> \
      --node-count=<node_count> \
      --arch arm64
    • Replace <hosted_cluster_name> with your hosted cluster name.

    • Replace <nodepool_name> with your node pool name.

    • Replace <node_count> with integer for your node count, for example, 2.

  2. Create node pools based on 64-bit AMD architecture by entering the following command:

    $ hcp create nodepool aws \
      --cluster-name <hosted_cluster_name> \
      --name <nodepool_name> \
      --node-count=<node_count> \
      --arch amd64
    • Replace <hosted_cluster_name> with your hosted cluster name.

    • Replace <nodepool_name> with your node pool name.

    • Replace <node_count> with integer for your node count, for example, 2.

Verification
  • Verify that a node pool is using the multi-architecture release image by entering the following command:

    $ oc get nodepool/<nodepool_name> -oyaml
    Example output for 64-bit AMD node pools
    #...
    spec:
      arch: amd64
    #...
      release:
        image: quay.io/openshift-release-dev/ocp-release:4.20.0-multi
    Example output for 64-bit ARM node pools
    #...
    spec:
      arch: arm64
    #...
      release:
        image: quay.io/openshift-release-dev/ocp-release:4.20.0-multi