Skip to content

Commit 7ee796c

Browse files
authored
Merge pull request #82760 from xenolinux/remove-replica-0-note
OSDOCS#12186: Remove the mention of replicas:0 in the nodepool
2 parents 3b900ec + f3c569c commit 7ee796c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/hcp-nodepool-hc.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@ spec:
3131
type: Agent
3232
release:
3333
image: registry.<dns.base.domain.name>:5000/openshift/release-images:4.x.y-x86_64 \// <5>
34-
replicas: 0
34+
replicas: 2 // <6>
3535
status:
36-
replicas: 0 // <6>
36+
replicas: 2
3737
----
3838
+
3939
<1> Replace `<hosted_cluster_name>` with your hosted cluster.
4040
<2> Replace `<hosted_cluster_namespace>` with the name of your hosted cluster namespace.
4141
<3> The `autoRepair` field is set to `false` because the node will not be re-created if it is removed.
4242
<4> The `upgradeType` is set to `InPlace`, which indicates that the same bare metal node is reused during an upgrade.
4343
<5> All of the nodes included in this `NodePool` are based on the following {product-title} version: `4.x.y-x86_64`. Replace the `<dns.base.domain.name>` value with your DNS base domain name and the `4.x.y` value with the supported {product-title} version you want to use.
44-
<6> The `replicas` value is set to `0` so that you can scale them when needed. It is important to keep the `NodePool` replicas at 0 until all steps are completed.
44+
<6> You can set the `replicas` value to `2` to create two node pool replicas in your hosted cluster.
4545

4646
. Create the `NodePool` object by entering the following command:
4747
+
@@ -55,4 +55,4 @@ $ oc apply -f 02-nodepool.yaml
5555
----
5656
NAMESPACE NAME CLUSTER DESIRED NODES CURRENT NODES AUTOSCALING AUTOREPAIR VERSION UPDATINGVERSION UPDATINGCONFIG MESSAGE
5757
clusters hosted-dual hosted 0 False False 4.x.y-x86_64
58-
----
58+
----

0 commit comments

Comments
 (0)