VPPOperator definition
The VPPOperator Custom Resource (CR) is applied on the Management Cluster and deploys a VPP Operator in the Core Cluster. This installs FPP CRDs, VPP Operator deployment, and Service Monitor for Prometheus metrics scraping from FPP-based workload pods: CGWs, FPP nodes and UPGs.
Configuration examples
This configuration installs the VPP Operator deployment in the fpp namespace on the example-core-cluster Core Cluster. The FPPDeployment resources reference this operator using spec.operatorRef (name and namespace of the VPPOperator resource):
Configuration parameters
These are all parameters that you can use to configure the VPPOperator CR:
- VPPOperatorKind
- fpp.cennso.comGroup
- v1alpha1Version
- apiVersion:
- fpp.cennso.com/v1alpha1
- kind:
- VPPOperator
- plural:
- vppoperators
- categories:
- [claim]
apiVersionstringrequiredConstant"fpp.cennso.com/v1alpha1"APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More information: Kubernetes API conventionsOpens in a new tab.kindstringrequiredConstant"VPPOperator"Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More information: Kubernetes API conventionsOpens in a new tab.metadataobjectrequiredStandard object metadata. More information: ObjectMetaOpens in a new tab.specobjectrequiredconnectionSecretRefobjectrequiredReference to the secret containing the target cluster kubeconfigadditionalContainersobject[]List of additional containers belonging to the pod.additionalEnvsobject[]Additional environment variables supplied to the VPP Operator container. Sample value:
[{"name":"APP_EXAMPLE_NAME","value":"APP_EXAMPLE_VALUE"}].additionalInitContainersobject[]List of additional init containers belonging to the pod.additionalVolumesobject[]Additional volumes.affinityobjectParameter that assigns custom affinity rules. For more information, read the official Kubernetes documentationOpens in a new tab.
x-kubernetes-preserve-unknown-fieldsannotationsobjectAdditional annotations for all resources except for the Deployment's Pods.compositeDeletePolicystringAllowed values:"Background""Foreground"compositionRefobjectcompositionRevisionRefobjectcompositionRevisionSelectorobjectcompositionSelectorobjectcompositionUpdatePolicystringAllowed values:"Automatic""Manual"imageobjectImage configuration for the VPP OperatorimagePullSecretsobject[]ImagePullSecrets to be added to the workload service account. If not specified, it defaults to
cennso-pull-secret.installCRDsbooleanSpecifies if FPP CRDs should be deployedinstallServiceMonitorbooleanSpecifies if Service Monitor for metrics scraping should be deployed.labelsobjectAdditional labels for all resources except for the Deployment's Pods.logLevelstringSets the logging verbosity for the operator.Allowed values:"trace""debug""info""error"natsConfigobjectNATS configuration for NetCap. If any field is specified, all defaults are discarded.nfrRegistrationobjectNFR registration configuration. If any field is specified, all defaults are discarded.nodeSelectorobjectParameter that selects nodes the VPP Operator should run. For more information about nodeSelectors, read the official Kubernetes documentationOpens in a new tab.
podAnnotationsobjectAdditional annotations for Pods.podLabelsobjectAdditional labels only for Pods.podSecurityContextobjectSecurity context for a Pod. For more information, read the official Kubernetes documentationOpens in a new tab.
x-kubernetes-preserve-unknown-fieldspublishConnectionDetailsToobjectpullSecretRefobjectReference to the secret that contains credentials for pulling Helm chart OCI artifacts. This secret must be located in the
cennso-systemnamespace on the Management Cluster.registrystringDEPRECATED: Use
repositoryinstead. Registry and project URL containing all artifacts required to deploy VPP Operator.releaseNamestringHelm release name for the VPP Operator deploymentx-kubernetes-validationsreplicaCountintegerNumber of replicated VPP Operator Pods. Setting it to value > 1 enables leader election mechanism.repositorystringRegistry and project URL containing all artifacts required to deploy VPP OperatorresourceRefobjectresourcesobjectKubernetes resource fields set for both
requestsandlimits.revisionHistoryLimitintegerThe number of old ReplicaSets to retain to allow rollback.securityContextobjectSecurity context for the VPP Operator container.x-kubernetes-preserve-unknown-fieldsslicestringIdentifier which Custom Resource objects should be managed by VPP Operator instance.targetNamespacestringTarget namespace where VPP Operator will be deployed on the Core Clustertolerationsobject[]Kubernetes tolerations. For more information, read the official Kubernetes documentationOpens in a new tab.
valueOverridesobjectAdditional Helm chart values to override. This allows setting any chart value not explicitly exposed in the XRD. Values specified here will be merged with other configuration and take precedence.x-kubernetes-preserve-unknown-fieldsversionstringFPP version to deploy (without 'v' prefix)writeConnectionSecretToRefobject
statusobjectconditionsobject[]Conditions of the resourcex-kubernetes-list-map-keysx-kubernetes-list-typeconnectionDetailsobject