1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00

Merge pull request #93861 from jeana-redhat/OSDOCS-14007-remove-prereq-task

OSDOCS-14007: followup to remove irrelevant prereq task
This commit is contained in:
Jeana Routh
2025-06-05 08:14:57 -04:00
committed by GitHub
3 changed files with 10 additions and 10 deletions

View File

@@ -14,11 +14,6 @@ For the Cluster API Technology Preview, you must manually create some of the pri
[id="creating-primary-resources_{context}"]
== Creating the Cluster API primary resources
To create the Cluster API primary resources, you must obtain the cluster ID value, which you use for the `<cluster_name>` parameter in the cluster resource manifest.
//Obtaining the cluster ID value
include::modules/obtaining-value-cluster-id.adoc[leveloffset=+2]
You can create the Cluster API primary resources manually by creating YAML manifest files and applying them with the {oc-first}.
//Creating a Cluster API machine template

View File

@@ -48,6 +48,13 @@ spec:
<1> Specify a name for the compute machine set.
The cluster ID, machine role, and region form a typical pattern for this value in the following format: `<cluster_name>-<role>-<region>`.
<2> Specify the name of the cluster.
Obtain the value of the cluster ID by running the following command:
+
[source,terminal]
----
$ oc get infrastructure cluster \
-o jsonpath='{.status.infrastructureName}'
----
<3> Specify the details for your environment. These parameters are provider specific. For more information, see the sample Cluster API compute machine set YAML for your provider.
--
@@ -62,9 +69,8 @@ $ oc create -f <machine_set_resource_file>.yaml
+
[source,terminal]
----
$ oc get machineset -n openshift-cluster-api <1>
$ oc get machineset.cluster.x-k8s.io -n openshift-cluster-api
----
<1> Specify the `openshift-cluster-api` namespace.
+
.Example output
[source,text]
@@ -83,9 +89,8 @@ When the new compute machine set is available, the `REPLICAS` and `AVAILABLE` va
+
[source,terminal]
----
$ oc get machine -n openshift-cluster-api <1>
$ oc get machine.cluster.x-k8s.io -n openshift-cluster-api
----
<1> Specify the `openshift-cluster-api` namespace.
+
.Example output
[source,text]

View File

@@ -1,6 +1,6 @@
// Module included in the following assemblies:
//
// * machine_management/cluster_api_machine_management/cluster-api-getting-started.adoc
//
:_mod-docs-content-type: PROCEDURE
[id="obtaining-value-cluster-id_{context}"]