1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/hcp-dc-scale-np.adoc
Martin Gencur f281db32b6 OCPBUGS-53162: Long command-line prompts not visible
This commit break long command-line prompts into multiple lines so that
the command is visible without scrolling.
2025-03-18 15:10:22 +00:00

49 lines
2.0 KiB
Plaintext

// Module included in the following assemblies:
//
// * hosted_control_planes/hcp-disconnected/hcp-deploy-dc-bm.adoc
:_mod-docs-content-type: PROCEDURE
[id="hcp-dc-scale-np_{context}"]
= Scaling up the node pool
After you create the bare metal hosts, their statuses change from `Registering` to `Provisioning` to `Provisioned`. The nodes start with the `LiveISO` of the agent and a default pod that is named `agent`. That agent is responsible for receiving instructions from the Assisted Service Operator to install the {product-title} payload.
.Procedure
. To scale up the node pool, enter the following command:
+
[source,terminal]
----
$ oc -n <hosted_cluster_namespace> scale nodepool <hosted_cluster_name> \
--replicas 3
----
+
where:
* `<hosted_cluster_namespace>` is the name of the hosted cluster namespace.
* `<hosted_cluster_name>` is the name of the hosted cluster.
. After the scaling process is complete, notice that the agents are assigned to a hosted cluster:
+
.Example output
[source,terminal]
----
NAMESPACE NAME CLUSTER APPROVED ROLE STAGE
clusters-hosted aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaa0411 hosted true auto-assign
clusters-hosted aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaa0412 hosted true auto-assign
clusters-hosted aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaa0413 hosted true auto-assign
----
. Also notice that the node pool replicas are set:
+
.Example output
[source,terminal]
----
NAMESPACE NAME CLUSTER DESIRED NODES CURRENT NODES AUTOSCALING AUTOREPAIR VERSION UPDATINGVERSION UPDATINGCONFIG MESSAGE
clusters hosted hosted 3 False False <4.x.y>-x86_64 Minimum availability requires 3 replicas, current 0 available
----
+
Replace `<4.x.y>` with the supported {product-title} version that you want to use.
. Wait until the nodes join the cluster. During the process, the agents provide updates on their stage and status.