// Module included in the following assemblies:
//
// * hosted_control_planes/hcp-deploy-virt.adoc

:_mod-docs-content-type: PROCEDURE
[id="hcp-virt-scale-nodpool_{context}"]
= Scaling a node pool

[role="_abstract"]
You can manually scale a node pool for a hosted cluster on {VirtProductName} by using the `oc scale` command.

.Procedure

. Run the following command:
+
[source,terminal]
----
NODEPOOL_NAME=${CLUSTER_NAME}-work
NODEPOOL_REPLICAS=5

$ oc scale nodepool/$NODEPOOL_NAME --namespace clusters \
  --replicas=$NODEPOOL_REPLICAS
----

. After a few moments, enter the following command to see the status of the node pool:
+
[source,terminal]
----
$ oc --kubeconfig $CLUSTER_NAME-kubeconfig get nodes
----
+
.Example output
[source,terminal]
----
NAME                  STATUS   ROLES    AGE     VERSION
example-9jvnf         Ready    worker   97s     v1.27.4+18eadca
example-n6prw         Ready    worker   116m    v1.27.4+18eadca
example-nc6g4         Ready    worker   117m    v1.27.4+18eadca
example-thp29         Ready    worker   4m17s   v1.27.4+18eadca
example-twxns         Ready    worker   88s     v1.27.4+18eadca
----