Skip to content

Commit 62a587d

Browse files
authored
Merge pull request #90216 from jeana-redhat/OSDOCS-10635-cluster-api-openstack-docs-4.15
[enterprise-4.15] OSDOCS-10635: Docs for Cluster API Provider OpenStack pre-4.18
2 parents 9585d94 + 25020bf commit 62a587d

17 files changed

+275
-25
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2356,6 +2356,8 @@ Topics:
23562356
File: cluster-api-config-options-aws
23572357
- Name: Cluster API configuration options for Google Cloud Platform
23582358
File: cluster-api-config-options-gcp
2359+
- Name: Cluster API configuration options for Red Hat OpenStack Platform
2360+
File: cluster-api-config-options-rhosp
23592361
# - Name: Cluster API resiliency and recovery
23602362
# File: cluster-api-resiliency
23612363
- Name: Troubleshooting Cluster API clusters

machine_management/cluster_api_machine_management/cluster-api-about.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ toc::[]
99
:FeatureName: Managing machines with the Cluster API
1010
include::snippets/technology-preview.adoc[]
1111

12-
The link:https://cluster-api.sigs.k8s.io/[Cluster API] is an upstream project that is integrated into {product-title} as a Technology Preview for Amazon Web Services (AWS) and Google Cloud Platform (GCP).
12+
The link:https://cluster-api.sigs.k8s.io/[Cluster API] is an upstream project that is integrated into {product-title} as a Technology Preview for {aws-first}, {gcp-first}, and {rh-openstack-first}.
1313

1414
//Cluster API overview
1515
include::modules/capi-overview.adoc[leveloffset=+1]

machine_management/cluster_api_machine_management/cluster-api-configuration.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ For provider-specific configuration options for your cluster, see the following
2222

2323
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-aws.adoc#cluster-api-config-options-aws[Cluster API configuration options for {aws-full}]
2424

25-
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-gcp.adoc#cluster-api-config-options-gcp[Cluster API configuration options for {gcp-full}]
25+
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-gcp.adoc#cluster-api-config-options-gcp[Cluster API configuration options for {gcp-full}]
26+
27+
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-rhosp.adoc#cluster-api-config-options-rhosp[Cluster API configuration options for {rh-openstack}]

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,20 @@ include::modules/capi-creating-infrastructure-resource.adoc[leveloffset=+2]
3333
.Additional resources
3434
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-aws.adoc#capi-yaml-infrastructure-aws_cluster-api-config-options-aws[Sample YAML for a Cluster API infrastructure resource on {aws-full}]
3535
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-gcp.adoc#capi-yaml-infrastructure-gcp_cluster-api-config-options-gcp[Sample YAML for a Cluster API infrastructure resource on {gcp-full}]
36+
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-rhosp.adoc#capi-yaml-infrastructure-rhosp_cluster-api-config-options-rhosp[Sample YAML for a Cluster API infrastructure resource on {rh-openstack}]
3637

3738
//Creating a Cluster API machine template
3839
include::modules/capi-creating-machine-template.adoc[leveloffset=+2]
3940
[role="_additional-resources"]
4041
.Additional resources
4142
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-aws.adoc#capi-yaml-machine-template-aws_cluster-api-config-options-aws[Sample YAML for a Cluster API machine template resource on {aws-full}]
4243
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-gcp.adoc#capi-yaml-machine-template-gcp_cluster-api-config-options-gcp[Sample YAML for a Cluster API machine template resource on {gcp-full}]
44+
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-rhosp.adoc#capi-yaml-machine-template-rhosp_cluster-api-config-options-rhosp[Sample YAML for a Cluster API machine template resource on {rh-openstack}]
4345

4446
//Creating a Cluster API compute machine set
4547
include::modules/capi-creating-machine-set.adoc[leveloffset=+2]
4648
[role="_additional-resources"]
4749
.Additional resources
4850
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-aws.adoc#capi-yaml-machine-set-aws_cluster-api-config-options-aws[Sample YAML for a Cluster API compute machine set resource on {aws-full}]
49-
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-gcp.adoc#capi-yaml-machine-set-gcp_cluster-api-config-options-gcp[Sample YAML for a Cluster API compute machine set resource on {gcp-full}]
51+
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-gcp.adoc#capi-yaml-machine-set-gcp_cluster-api-config-options-gcp[Sample YAML for a Cluster API compute machine set resource on {gcp-full}]
52+
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-rhosp.adoc#capi-yaml-machine-set-rhosp_cluster-api-config-options-rhosp[Sample YAML for a Cluster API compute machine set resource on {rh-openstack}]

machine_management/cluster_api_machine_management/cluster-api-managing-machines.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ include::modules/capi-modifying-machine-template.adoc[leveloffset=+1]
1515
.Additional resources
1616
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-aws.adoc#capi-yaml-machine-template-aws_cluster-api-config-options-aws[Sample YAML for a Cluster API machine template resource on {aws-full}]
1717
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-gcp.adoc#capi-yaml-machine-template-gcp_cluster-api-config-options-gcp[Sample YAML for a Cluster API machine template resource on {gcp-full}]
18+
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-rhosp.adoc#capi-yaml-machine-template-rhosp_cluster-api-config-options-rhosp[Sample YAML for a Cluster API machine template resource on {rh-openstack}]
1819
* xref:../../machine_management/cluster_api_machine_management/cluster-api-managing-machines.adoc#machineset-modifying_cluster-api-managing-machines[Modifying a compute machine set by using the CLI]
1920
2021
//Modifying a compute machine set by using the CLI
@@ -23,4 +24,5 @@ include::modules/machineset-modifying.adoc[leveloffset=+1,tag=!MAPI]
2324
[role="_additional-resources"]
2425
.Additional resources
2526
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-aws.adoc#capi-yaml-machine-set-aws_cluster-api-config-options-aws[Sample YAML for a Cluster API compute machine set resource on {aws-full}]
26-
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-gcp.adoc#capi-yaml-machine-set-gcp_cluster-api-config-options-gcp[Sample YAML for a Cluster API compute machine set resource on {gcp-full}]
27+
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-gcp.adoc#capi-yaml-machine-set-gcp_cluster-api-config-options-gcp[Sample YAML for a Cluster API compute machine set resource on {gcp-full}]
28+
* xref:../../machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-rhosp.adoc#capi-yaml-machine-set-rhosp_cluster-api-config-options-rhosp[Sample YAML for a Cluster API compute machine set resource on {rh-openstack}]
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
[id="cluster-api-config-options-rhosp"]
3+
= Cluster API configuration options for Red{nbsp}Hat OpenStack Platform
4+
include::_attributes/common-attributes.adoc[]
5+
:context: cluster-api-config-options-rhosp
6+
7+
toc::[]
8+
9+
:FeatureName: Managing machines with the Cluster API
10+
include::snippets/technology-preview.adoc[]
11+
12+
You can change the configuration of your {rh-openstack-first} Cluster API machines by updating values in the Cluster API custom resource manifests.
13+
14+
[id="cluster-api-sample-yaml-rhosp_{context}"]
15+
== Sample YAML for configuring {rh-openstack} clusters
16+
17+
The following example YAML files show configurations for a {rh-openstack} cluster.
18+
19+
//Sample YAML for a CAPI RHOSP infrastructure resource
20+
include::modules/capi-yaml-infrastructure-rhosp.adoc[leveloffset=+2]
21+
22+
//Sample YAML for CAPI RHOSP machine template resource
23+
include::modules/capi-yaml-machine-template-rhosp.adoc[leveloffset=+2]
24+
25+
//Sample YAML for a CAPI RHOSP compute machine set resource
26+
include::modules/capi-yaml-machine-set-rhosp.adoc[leveloffset=+2]
27+
28+
// [id="cluster-api-supported-features-rhosp_{context}"]
29+
// == Enabling {rh-openstack} features with the Cluster API
30+
31+
// You can enable the following features by updating values in the Cluster API custom resource manifests.
32+
33+
//Not sure what, if anything, we can add here at this time.

modules/capi-arch-resources.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The Cluster API consists of the following primary resources. For the Technology
1010

1111
Cluster:: A fundamental unit that represents a cluster that is managed by the Cluster API.
1212

13-
Infrastructure:: A provider-specific resource that defines properties that are shared by all the compute machine sets in the cluster, such as the region and subnets.
13+
Infrastructure cluster:: A provider-specific resource that defines properties that are shared by all the compute machine sets in the cluster, such as the region and subnets.
1414

1515
Machine template:: A provider-specific template that defines the properties of the machines that a compute machine set creates.
1616

modules/capi-creating-cluster-resource.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,19 @@ The following values are valid:
4545
+
4646
* `AWSCluster`: The cluster is running on {aws-first}.
4747
* `GCPCluster`: The cluster is running on {gcp-first}.
48+
|====
49+
|Cluster cloud provider |Value
50+
51+
|{aws-first}
52+
|`AWSCluster`
53+
54+
|{gcp-first}
55+
|`GCPCluster`
56+
57+
|{rh-openstack-first}
58+
|`OpenStackCluster`
59+
60+
|====
4861
--
4962

5063
. Create the cluster CR by running the following command:

modules/capi-creating-infrastructure-resource.adoc

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,24 @@ spec: # <4>
3939
<1> The `apiVersion` varies by platform.
4040
For more information, see the sample Cluster API infrastructure resource YAML for your provider.
4141
The following values are valid:
42-
* `infrastructure.cluster.x-k8s.io/v1beta1`: The version that {gcp-first} clusters use.
43-
* `infrastructure.cluster.x-k8s.io/v1beta1`: The version that {aws-first} clusters use.
42+
* `infrastructure.cluster.x-k8s.io/v1beta1`: The version that {aws-first}, {gcp-first}, and {rh-openstack-first} clusters use.
4443
<2> Specify the infrastructure kind for the cluster.
4544
This value must match the value for your platform.
4645
The following values are valid:
47-
* `AWSCluster`: The cluster is running on {aws-short}.
48-
* `GCPCluster`: The cluster is running on {gcp-short}.
46+
+
47+
|====
48+
|Cluster cloud provider |Value
49+
50+
|{aws-first}
51+
|`AWSCluster`
52+
53+
|{gcp-first}
54+
|`GCPCluster`
55+
56+
|{rh-openstack-first}
57+
|`OpenStackCluster`
58+
59+
|====
4960
<3> Specify the name of the cluster.
5061
<4> Specify the details for your environment.
5162
These parameters are provider specific.

modules/capi-creating-machine-template.adoc

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,23 @@ spec:
3636
template:
3737
spec: # <3>
3838
----
39-
<1> Specify the machine template kind. This value must match the value for your platform. The following values are valid:
40-
* `AWSMachineTemplate`: The cluster is running on {aws-first}.
41-
* `GCPMachineTemplate`: The cluster is running on {gcp-first}.
39+
<1> Specify the machine template kind.
40+
This value must match the value for your platform.
41+
The following values are valid:
42+
+
43+
|====
44+
|Cluster cloud provider |Value
45+
46+
|{aws-first}
47+
|`AWSMachineTemplate`
48+
49+
|{gcp-first}
50+
|`GCPMachineTemplate`
51+
52+
|{rh-openstack-first}
53+
|`OpenStackMachineTemplate`
54+
55+
|====
4256
<2> Specify a name for the machine template.
4357
<3> Specify the details for your environment. These parameters are provider specific. For more information, see the sample Cluster API machine template YAML for your provider.
4458
--

0 commit comments

Comments
 (0)