DNN
The DNN Custom Resource (CR) is applied to the Management Cluster to create a Data Network Name (DNN) on the Core Cluster. VPP Operator then uses the DNN CR to register UPG data networks in the Network Service Registry (NSR) component that implements Network Repository Function (NRF).
The DNN CR is based on a Crossplane claimOpens in a new tab for the XDNN composite resourceOpens in a new tab.
This code snippet shows the minimal configuration required to set up a working DNN:
- spec.connectionSecretRef - references the Secret containing connection details for the Core Cluster
- spec.targetNamespace - namespace where the DNN object will be created on the Core Cluster. Must match the namespace of the corresponding
UPGConfig - spec.dnn - the Data Network Name value
Namespace matching
The DNN CR is created on the Core Cluster in the namespace specified by spec.targetNamespace. This namespace must match the spec.targetNamespace of the UPGDeployment resources that the DNN should be associated with. The VPP Operator registers UPG in NSR to all DNNs created in the same namespace.
Multiple DNNs
You can create multiple DNN resources simultaneously to register several data networks for the same UPG instance.