Skip to content

Commit 9885f27

Browse files
authored
Merge pull request #93861 from jeana-redhat/OSDOCS-14007-remove-prereq-task
OSDOCS-14007: followup to remove irrelevant prereq task
2 parents b2f6dce + 66f8a93 commit 9885f27

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

machine_management/cluster_api_machine_management/cluster-api-getting-started.adoc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ For the Cluster API Technology Preview, you must manually create some of the pri
1414
[id="creating-primary-resources_{context}"]
1515
== Creating the Cluster API primary resources
1616

17-
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.
18-
19-
//Obtaining the cluster ID value
20-
include::modules/obtaining-value-cluster-id.adoc[leveloffset=+2]
21-
2217
You can create the Cluster API primary resources manually by creating YAML manifest files and applying them with the {oc-first}.
2318

2419
//Creating a Cluster API machine template

modules/capi-creating-machine-set.adoc

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ spec:
4848
<1> Specify a name for the compute machine set.
4949
The cluster ID, machine role, and region form a typical pattern for this value in the following format: `<cluster_name>-<role>-<region>`.
5050
<2> Specify the name of the cluster.
51+
Obtain the value of the cluster ID by running the following command:
52+
+
53+
[source,terminal]
54+
----
55+
$ oc get infrastructure cluster \
56+
-o jsonpath='{.status.infrastructureName}'
57+
----
5158
<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.
5259
--
5360

@@ -62,9 +69,8 @@ $ oc create -f <machine_set_resource_file>.yaml
6269
+
6370
[source,terminal]
6471
----
65-
$ oc get machineset -n openshift-cluster-api <1>
72+
$ oc get machineset.cluster.x-k8s.io -n openshift-cluster-api
6673
----
67-
<1> Specify the `openshift-cluster-api` namespace.
6874
+
6975
.Example output
7076
[source,text]
@@ -83,9 +89,8 @@ When the new compute machine set is available, the `REPLICAS` and `AVAILABLE` va
8389
+
8490
[source,terminal]
8591
----
86-
$ oc get machine -n openshift-cluster-api <1>
92+
$ oc get machine.cluster.x-k8s.io -n openshift-cluster-api
8793
----
88-
<1> Specify the `openshift-cluster-api` namespace.
8994
+
9095
.Example output
9196
[source,text]

modules/obtaining-value-cluster-id.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * machine_management/cluster_api_machine_management/cluster-api-getting-started.adoc
3+
//
44

55
:_mod-docs-content-type: PROCEDURE
66
[id="obtaining-value-cluster-id_{context}"]

0 commit comments

Comments
 (0)