FPPDeployment definition
The FPPDeployment Custom Resource (CR) is applied on the Management Cluster and deploys an FPP node in the Core Cluster. An FPP node is a VPP-based switch for all FPP-enabled workloads. It also creates an overlay network in the Core Cluster between the nodes.
Compositions
The FPPDeployment supports the following compositions:
- fpp-generic (default) - A generic composition that supplies all configuration through Helm values
- fpp-af-xdp - AF_XDP driver with macvlan network attachment
- fpp-dpdk - DPDK/SRIOV uplinks with structured bonding configuration
Configuration examples
AF_XDP deployment (fpp-af-xdp)
DPDK/SRIOV deployment (fpp-dpdk)
Generic deployment (fpp-generic)
Configuration parameters
These are all parameters that you can use to configure the FPPDeployment CR:
- FPPDeploymentKind
- fpp.cennso.comGroup
- v1alpha1Version
- apiVersion:
- fpp.cennso.com/v1alpha1
- kind:
- FPPDeployment
- plural:
- fppdeployments
- 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"FPPDeployment"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.specobject oneOfrequiredconnectionSecretRefobjectrequiredReference to the secret containing the target cluster kubeconfigadditionalContainersobject[]List of additional containers belonging to the podadditionalInitContainersobject[]List of additional init containers belonging to the podadditionalVolumeMountsobject[]Additional volume mounts list. Each additional volume must specify a mount path inside the
fppcontainer.additionalVolumesobject[]Additional volumesaffinityobjectDefines affinity for the pods.x-kubernetes-preserve-unknown-fieldsafXDPCompositionobjectAF_XDP uplink configuration for the fpp-af-xdp composition. Configures macvlan NetworkAttachmentDefinition for uplink connectivity.afxdpNICMappingsobject[]AF_XDP NIC mappings for using NICs with AF_XDP driveraltMemifSocketPathstringAdditional memif socket pathannotationsobjectAnnotations to be present on each resource (except DaemonSet/StatefulSet)bgpDaemonobjectBGP daemon configuration optionsbuffersPerNumaintegerNumber of buffers per NUMA nodecnfNamestringCNF name (cennso.net/cnf) label value used in the Instance ModecniobjectCNI configuration optionscommandstring[]Command override for the VPP container. Can be used for debugging purposes. It is recommended to disable the probes if the default startup script is not used. Example: ["/bin/bash", "-c", "sleep Infinity"].compositeDeletePolicystringAllowed values:"Background""Foreground"compositionRefobjectcompositionRevisionRefobjectcompositionRevisionSelectorobjectcompositionSelectorobjectcompositionUpdatePolicystringAllowed values:"Automatic""Manual"defaultDataSizeintegerVPP buffer size in bytesdirectNICMappingsobjectUses physical NICs directly without SRIOV Network Operator.x-kubernetes-preserve-unknown-fieldsdisableProbesbooleanDisables liveness and readiness probes for the VPP container.dpdkCompositionobjectDPDK/SRIOV uplink configuration for the fpp-dpdk composition. Configures two SRIOV uplinks with bonding.enableCoredumpbooleanEnables core dumping for the VPP process.enableUplinkMonitoringbooleanWhen enabled, FPP node pods ping each other and expose metrics regarding the node-to-node connection state.externalNetworksobjectExternal networks grouped by interface prefix. Each key represents an interface prefix, and each value is a mapping from resource names to network specifications.x-kubernetes-preserve-unknown-fieldsfppNetworksobjectMap of the type 'name: specification' for FPPNetworks.x-kubernetes-preserve-unknown-fieldsheapSizestringVPP Main heap sizehostPIDbooleanEnables host PID namespace. Always used in node mode, optional in instance mode.imageobjectImage-specific configuration overrides for the VPP Worker container imageimagePullPolicystringKubernetes Image Pull PolicyAllowed values:"IfNotPresent""Always""Never"imagePullSecretsobject[]ImagePullSecrets to be added to the workload service account. If not specified, it defaults to
cennso-pull-secret.labelsobjectLabels to be present on each resource (except DaemonSet/StatefulSet)livenessProbeobjectLiveness probe configurationx-kubernetes-preserve-unknown-fieldslogLevelstringSets the logging verbosity.Allowed values:"trace""debug""info""error"multusNetworksstring[]List of Multus CNI Network Attachment Definition namesnetworksobjectNetworks for 'instance' mode, used to create NADs that don't refer to actual NICs. Used to attach FPP memifs to the instances.x-kubernetes-preserve-unknown-fieldsnodeSelectorobjectDefines Node Selector for the pods.operatorNamestringName of the VPP Operator managing this FPP instance.operatorRefobjectReference to the VPP Operator managing this FPP instance.podAnnotationsobjectAnnotations to be present on each podpodLabelsobjectLabels to be present on each podpodSecurityContextobjectSecurity context present on the podsx-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.readinessProbeobjectReadiness probe configurationx-kubernetes-preserve-unknown-fieldsregistrystringDEPRECATED: Use
repositoryinstead. Registry and project URL containing all artifacts required to deploy FPP.releaseNamestringHelm release name for the FPP deploymentx-kubernetes-validationsrepositorystringRegistry and project URL containing all artifacts required to deploy FPPresourceRefobjectresourcesobjectResources assigned to the FPP container, to both
requestsandlimits. Example: {cpu: '10', memory: '4Gi', hugepages-2Mi: '2Gi'}routingTablesobjectRouting table configurations. Passed directly to the Helm chart.x-kubernetes-preserve-unknown-fieldsroutingTableSelectorsobject[]Routing table selectorsserviceAccountNamestringName of already existing Service AccountstatSegSizestringVPP Stat segment sizetargetNamespacestringTarget namespace where FPP will be deployed on the Core ClusterterminationGracePeriodSecondsintegerDuration in seconds the pod needs to terminate gracefullytolerationsobject[]Tolerations for the podsupdateStrategyobjectUpdate strategy to replace the existing FPP pods with new podsx-kubernetes-preserve-unknown-fieldsuplinkResourcesobjectUplink resources to allocate for the VPP pods.x-kubernetes-preserve-unknown-fieldsuseHugepagesbooleanUses hugepages for VPP stats segment, buffers, and heap.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)vppobjectVPP-specific configuration optionsvppABFsobjectA map where the key represents the name of the VPPABF custom resource, and the value defines the specification for the corresponding VPPABF CR.x-kubernetes-preserve-unknown-fieldsvppACLsobjectA map where the key represents the name of the VPPACL custom resource, and the value defines the specification for the corresponding VPPACL CR.x-kubernetes-preserve-unknown-fieldsvppConfigsobject[]List of VPPConfig objects for FPPvppInterfacesobject[]List of the VPPInterface specifications.vppToolsobject[]VPPTools to deploy with the FPP podwriteConnectionSecretToRefobject
One of
statusobjectconditionsobject[]Conditions of the resourcex-kubernetes-list-map-keysx-kubernetes-list-typeconnectionDetailsobject