You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/about-ztp-and-distributed-units-on-openshift-clusters.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,4 +22,4 @@ With ZTP and AI, you can provision {product-title} clusters to run your DUs at s
22
22
23
23
** Network connectivity - including DNS for your network. Hosts should be reachable through the hub and managed spoke clusters. Ensure there is layer 3 connectivity between the hub and the host where you want to install your hub cluster.
24
24
25
-
* Baseboard Management Controller (BMC) details for each host - ZTP uses BMC details to connect the URL and credentials for accessing the BMC. ZTP manages the spoke cluster definition CRs, with the exception of the `BMCSecret` CR, which you create manually. These define the relevant elements for the managed clusters.
25
+
** Baseboard Management Controller (BMC) details for each host - ZTP uses BMC details to connect the URL and credentials for accessing the BMC. ZTP manages the spoke cluster definition CRs, with the exception of the `BMCSecret` CR, which you create manually. These define the relevant elements for the managed clusters.
Copy file name to clipboardExpand all lines: modules/ztp-configuring-ptp-fast-events.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ You can configure PTP fast events for vRAN clusters that are deployed using the
66
66
maxOffsetThreshold: 100 #nano secs
67
67
minOffsetThreshold: -100 #nano secs
68
68
----
69
-
<1> Can be one `PtpConfigMaster.yaml`, `PtpConfigSlave.yaml`, or `PtpConfigSlaveCvl.yaml` depending on your requirements. `PtpConfigSlaveCvl.yaml`configes`linuxptp` services for an Intel E810 Columbiaville NIC.
69
+
<1> Can be one `PtpConfigMaster.yaml`, `PtpConfigSlave.yaml`, or `PtpConfigSlaveCvl.yaml` depending on your requirements. `PtpConfigSlaveCvl.yaml`configures`linuxptp` services for an Intel E810 Columbiaville NIC. For configurations based on `group-du-sno-ranGen.yaml` or `group-du-3node-ranGen.yaml`, use `PtpConfigSlave.yaml`.
70
70
<2> Device specific interface name.
71
71
<3> You must append the `--summary_interval -4` value to `ptp4lOpts` in `.spec.sourceFiles.spec.profile` to enable PTP fast events.
72
72
<4> `ptpClockThreshold` configues how long the clock stays in clock holdover state. Holdover state is the period between local and master clock synchronizations. Offset is the time difference between the local and master clock.
Copy file name to clipboardExpand all lines: modules/ztp-preparing-the-hub-cluster-for-ztp.adoc
-7Lines changed: 0 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,13 +18,6 @@ You can configure your hub cluster with a set of ArgoCD applications that genera
18
18
19
19
. Install the Topology Aware Lifecycle Operator, which coordinates with any new sites added by ZTP and manages application of the `PolicyGenTemplate`-generated policies.
20
20
21
-
. Patch the ArgoCD instance in the hub cluster using the patch files previously extracted into the `out/argocd/deployment/` directory:
.. Create a Git repository with the directory structure similar to the example directory. For more information, see "Preparing the ZTP Git repository".
Copy file name to clipboardExpand all lines: modules/ztp-using-pgt-to-update-source-crs.adoc
+16-11Lines changed: 16 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,14 +8,14 @@
8
8
9
9
`PolicyGenTemplate` CRs allow you to overlay additional configuration details on top of the base source CRs provided in the `ztp-site-generate` container. You can think of `PolicyGenTemplate` CRs as a logical merge or patch to the base CR. Use `PolicyGenTemplate` CRs to update a single field of the base CR, or overlay the entire contents of the base CR. You can update values and insert fields that are not in the base CR.
10
10
11
+
The following example procedure describes how to update fields in the generated `PerformanceProfile` CR for the reference configuration based on the `PolicyGenTemplate` CR in the `group-du-sno-ranGen.yaml` file. Use the procedure as a basis for modifying other parts of the `PolicyGenTemplate` based on your requirements.
12
+
11
13
.Prerequisites
12
14
13
15
* Create a Git repository where you manage your custom site configuration data. The repository must be accessible from the hub cluster and be defined as a source repository for Argo CD.
14
16
15
17
.Procedure
16
18
17
-
The following example procedure describes how to update fields in the generated `PerformanceProfile` CR. Other CRs, generated with the `PolicyGenTemplate` CR, can be similarly modified.
18
-
19
19
. Review the baseline source CR for existing content. You can review the source CRs listed in the reference `PolicyGenTemplate` CRs by extracting them from the zero touch provisioning (ZTP) container.
20
20
21
21
.. Create an `/out` folder:
@@ -32,12 +32,7 @@ $ mkdir -p ./out
32
32
$ podman run --log-driver=none --rm registry.redhat.io/openshift4/ztp-site-generate-rhel8:v4.10 extract /home/ztp --tar | tar x -C ./out
33
33
----
34
34
35
-
. The baseline `PerformanceProfile` CR is found in `./out/source-crs/PerformanceProfile.yaml`.
36
-
+
37
-
[NOTE]
38
-
====
39
-
Any fields in the source CR which contain `$...` are removed from the generated CR if not provided in the `PolicyGenTemplate` CR.
40
-
====
35
+
. Review the baseline `PerformanceProfile` CR in `./out/source-crs/PerformanceProfile.yaml`:
41
36
+
42
37
[source,yaml]
43
38
----
@@ -71,8 +66,13 @@ spec:
71
66
realTimeKernel:
72
67
enabled: true
73
68
----
69
+
+
70
+
[NOTE]
71
+
====
72
+
Any fields in the source CR which contain `$...` are removed from the generated CR if they are not provided in the `PolicyGenTemplate` CR.
73
+
====
74
74
75
-
. The `PolicyGenTemplate` entry for `PerformanceProfile`is found in the `group-du-sno-ranGen.yaml` reference file. The following example entry in that `PolicyGenTemplate`can be specified to supply appropriate CPU specifications, hugepage configuration, and add a new field that sets `globallyDisableIrqLoadBalancing` to false.
75
+
. Update the `PolicyGenTemplate` entry for `PerformanceProfile` in the `group-du-sno-ranGen.yaml` reference file. The following example `PolicyGenTemplate`CR stanza supplies appropriate CPU specifications, sets the `hugepages`configuration, and adds a new field that sets `globallyDisableIrqLoadBalancing` to false.
76
76
+
77
77
[source,yaml]
78
78
----
@@ -93,8 +93,13 @@ spec:
93
93
globallyDisableIrqLoadBalancing: false
94
94
----
95
95
96
-
. Commit the `PolicyGenTemplate` change in Git, and then push to the Git repository being monitored by the GitOps ZTP argo CD application. The ZTP application generates an ACM policy that contains the generated `PerformanceProfile` CR. The contents of that CR are derived by merging the `metadata` and `spec` contents from the `PerformanceProfile` entry in the `PolicyGenTemplate` onto the source CR. The resulting CR has the following content:
97
-
+
96
+
. Commit the `PolicyGenTemplate` change in Git, and then push to the Git repository being monitored by the GitOps ZTP argo CD application.
97
+
98
+
99
+
.Example output
100
+
101
+
The ZTP application generates an ACM policy that contains the generated `PerformanceProfile` CR. The contents of that CR are derived by merging the `metadata` and `spec` contents from the `PerformanceProfile` entry in the `PolicyGenTemplate` onto the source CR. The resulting CR has the following content:
* For more information about update channels and releases, see xref:../updating/understanding-upgrade-channels-release.adoc[Understanding upgrade channels and releases].
* For more information about mirroring the images in a disconnected environment, xref:../scalability_and_performance/ztp-deploying-disconnected.adoc#ztp-acm-preparing-to-install-disconnected-acm_ztp-deploying-disconnected[Preparing the disconnected environment]
0 commit comments