Skip to content

Commit 13dd6cb

Browse files
committed
TELCODOCS-1141: MGMT-11232 Support platform integration in ZTP
1 parent 4e60745 commit 13dd6cb

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
// Module included in the following assemblies:
2+
//
3+
// scalability_and_performance/ztp_far_edge/ztp-deploying-far-edge-clusters-at-scale.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="specifying-the-platform-type-for-managed-clusters_{context}"]
7+
= Specifying the platform type for managed clusters
8+
9+
You can manually specify the platform type for managed clusters if you do not want to set the platform type automatically.
10+
11+
The {ai-full} supports the following platform types:
12+
13+
* `BareMetal`
14+
* `VSphere`
15+
* `None`
16+
17+
.Procedure
18+
19+
* Select the platform in the `AgentClusterInstall` custom resource (CR) by changing the value of the `spec.platformType` parameter:
20+
+
21+
[source,yaml]
22+
----
23+
apiVersion: extensions.hive.openshift.io/v1beta1
24+
kind: AgentClusterInstall
25+
metadata:
26+
name: cluster
27+
namespace: cluster
28+
spec:
29+
platformType: VSphere
30+
----
31+
32+
In some cases, the system automatically sets the platform type:
33+
34+
* The default platform type for multi-node clusters is `BareMetal`.
35+
* The default platform type for {sno} is `None`.
36+
* Enabling the `spec.networking.userManagedNetworking` setting without specifying the platform causes the platform value to be `None`.
37+
38+
The `BareMetal` platform type and `userManagedNetworking` parameter value are not compatible.
39+
40+
[NOTE]
41+
====
42+
* `VSphere` is not supported for {sno}.
43+
* Virtual machine (VM) provisioning should be done by the user.
44+
* Virtual IP address (VIP) DHCP allocation should be configured manually in `VSphere`.
45+
====
46+
47+
.Verification
48+
49+
* To verify the selected platform in the `AgentClusterInstall` CR by checking the value of the `spec.platformType` parameter, run the following command:
50+
+
51+
[source,terminal]
52+
----
53+
$ oc get AgentClusterInstall cluster -n cluster -o jsonpath='{.status.platformType}{"\n"}' \
54+
`VSphere`
55+
----

scalability_and_performance/ztp_far_edge/ztp-deploying-far-edge-clusters-at-scale.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ include::modules/ztp-challenges-of-far-edge-deployments.adoc[leveloffset=+1]
1212

1313
include::modules/about-ztp.adoc[leveloffset=+1]
1414

15+
include::modules/specifying-the-platform-type-for-managed-clusters.adoc[leveloffset=+1]
16+
1517
include::modules/ztp-creating-ztp-crs-for-multiple-managed-clusters.adoc[leveloffset=+1]
1618

1719
include::modules/ztp-configuring-cluster-policies.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)