NodePool is a scalable set of worker nodes associated with a HostedCluster. NodePool machine architectures remain consistent within a specific pool and are independent of the underlying machine architecture of the control plane.
Please ensure you modify the appropriate fields to align with your laboratory environment.
Before a day-1 patch, the release image set in the HostedCluster should use the digest rather than the tag. (e.g
This is how one looks like:
- All the nodes included in this NodePool will be based on the Openshift version
- The Upgrade type is set to
InPlace, indicating that the same bare-metal node will be reused during an upgrade.
- Autorepair is set to
falsebecause the node will not be recreated when it disappears.
- Replicas are set to
0because we intend to scale them when needed.
You can find more information about NodePool in the NodePool documentation.
To deploy this object, simply follow the same procedure as before:
oc apply -f 02-nodepool.yaml
And this is how the NodePool looks like (at this point):
NAMESPACE NAME CLUSTER DESIRED NODES CURRENT NODES AUTOSCALING AUTOREPAIR VERSION UPDATINGVERSION UPDATINGCONFIG MESSAGE
clusters hosted-ipv4 hosted 0 False False 4.14.0-0.nightly-2023-08-29-102237
Keep the nodepool replicas to 0 until all the steps are in place.