Use PolicyGenerator
custom resources (CRs) to customize the configuration applied to the cluster by using the GitOps Zero Touch Provisioning (ZTP) pipeline. The PolicyGenerator
CR allows you to generate one or more policies to manage the set of configuration CRs on your fleet of clusters. The PolicyGenerator
CR identifies the set of managed CRs, bundles them into policies, builds the policy wrapping around those CRs, and associates the policies with clusters by using label binding rules.
The reference configuration, obtained from the GitOps ZTP container, is designed to provide a set of critical features and node tuning settings that ensure the cluster can support the stringent performance and resource utilization constraints typical of RAN (Radio Access Network) Distributed Unit (DU) applications. Changes or omissions from the baseline configuration can affect feature availability, performance, and resource utilization. Use the reference PolicyGenerator
CRs as the basis to create a hierarchy of configuration files tailored to your specific site requirements.
The baseline PolicyGenerator
CRs that are defined for RAN DU cluster configuration can be extracted from the GitOps ZTP ztp-site-generate
container. See "Preparing the GitOps ZTP site configuration repository" for further details.
The PolicyGenerator
CRs can be found in the ./out/argocd/example/acmpolicygenerator/
folder. The reference architecture has common, group, and site-specific configuration CRs. Each PolicyGenerator
CR refers to other CRs that can be found in the ./out/source-crs
folder.
The PolicyGenerator
CRs relevant to RAN cluster configuration are described below. Variants are provided for the group PolicyGenerator
CRs to account for differences in single-node, three-node compact, and standard cluster configurations. Similarly, site-specific configuration variants are provided for single-node clusters and multi-node (compact or standard) clusters. Use the group and site-specific configuration variants that are relevant for your deployment.
Table 2. PolicyGenerator CRs for RAN deployments
PolicyGenerator CR |
Description |
acm-example-multinode-site.yaml
|
Contains a set of CRs that get applied to multi-node clusters. These CRs configure SR-IOV features typical for RAN installations. |
acm-example-sno-site.yaml
|
Contains a set of CRs that get applied to single-node OpenShift clusters. These CRs configure SR-IOV features typical for RAN installations. |
acm-common-mno-ranGen.yaml
|
Contains a set of common RAN policy configuration that get applied to multi-node clusters. |
acm-common-ranGen.yaml
|
Contains a set of common RAN CRs that get applied to all clusters. These CRs subscribe to a set of operators providing cluster features typical for RAN as well as baseline cluster tuning. |
acm-group-du-3node-ranGen.yaml
|
Contains the RAN policies for three-node clusters only. |
acm-group-du-sno-ranGen.yaml
|
Contains the RAN policies for single-node clusters only. |
acm-group-du-standard-ranGen.yaml
|
Contains the RAN policies for standard three control-plane clusters. |
acm-group-du-3node-validator-ranGen.yaml
|
PolicyGenerator CR used to generate the various policies required for three-node clusters.
|
acm-group-du-standard-validator-ranGen.yaml
|
PolicyGenerator CR used to generate the various policies required for standard clusters.
|
acm-group-du-sno-validator-ranGen.yaml
|
PolicyGenerator CR used to generate the various policies required for single-node OpenShift clusters.
|