CGWDeployment
The CGWDeployment Custom Resource (CR) is applied on the Management Cluster and deploys Connectivity Gateway (CGW) instances in the Core Cluster. A CGW is a deployment of a single FPP instance that serves as a network gateway for other FPP and CGW instances.
Minimal example
Required parameters
To deploy a CGW instance in the Core Cluster, you must specify at least the following parameters:
- spec.connectionSecretRef - References the name and namespace of the Secret containing connection details (kubeconfig) for the Core Cluster where the FPP instance will be deployed.
- spec.operatorRef or spec.operatorName - specifies the VPP Operator deployed in the Core Cluster:
- spec.operatorRef references a
VPPOperatorresource on the Management Cluster to resolve the operator name for the VPP Operator deployed in the Core Cluster. - spec.operatorName directly specifies the name of the VPP Operator. This name must match the spec.releaseName of the target VPPOperator.
- spec.operatorRef references a
For more information on running multiple operator instances, refer to the Multiple VPP Operators guide.
The spec.targetNamespace parameter allows you to customize the namespace of the CGW instance in the target cluster. By default, the namespace is cennso-system.
Optional features
Important
IPsec support and User Plane Function (UPF) load balancing are alpha features and are not suitable for production deployments.
FPP 3.2.0 adds the following optional CGW features:
- spec.ipsec - IPsec options. Set spec.ipsec.metricsEnabled to
trueto expose the metrics of theipsec-exporterVPPToolon port9536. For the IPsec setup, refer to the IPsec guide. - spec.upflbConfig - Configuration of the UPF load balancer (UPF-LB). A non-empty spec.upflbConfig.spec enables UPF-LB in the CGW and creates a
UPFLBConfigCR in the Core Cluster. For details, refer to the UPF load balancing guide.