Skip to content

Commit

Permalink
Merge pull request #356 from appuio/vsphere-machineset-naming
Browse files Browse the repository at this point in the history
Installer provisioned initial worker node machinset has a "-0" suffix
  • Loading branch information
haasad authored Oct 9, 2024
2 parents 8c52090 + 900061d commit 506a257
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/modules/ROOT/partials/install/finalize_part2_ipi.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Make sure you have sufficient cluster capacity before continuing.
[source,bash]
----
INFRA_ID=$(jq -r .infraID "${INSTALLER_DIR}/metadata.json")
kubectl -n openshift-machine-api patch machineset ${INFRA_ID}-worker \
kubectl -n openshift-machine-api patch machineset ${INFRA_ID}-worker-0 \
-p '{"spec": {"replicas": 0}}' --type merge
----

Expand All @@ -54,7 +54,7 @@ kubectl get pods -A | grep -vw -e Running -e Completed
+
[source,bash]
----
kubectl -n openshift-machine-api delete machineset ${INFRA_ID}-worker
kubectl -n openshift-machine-api delete machineset ${INFRA_ID}-worker-0
----

ifeval::["{provider}" == "vsphere"]
Expand Down

0 comments on commit 506a257

Please sign in to comment.