Overview
The DPFOperatorConfig controls how DPF operates in your Kubernetes cluster. This guide explains the major configuration options. When the config is applied, the DPF Operator will deploy all necessary components and configure them according to the configuration.
Basic Configuration Example
This basic config example enables the Kamaji cluster manager.
In the current implementation the DPFOperatorConfig resource is a singleton. This means that only one instance of this resource can exist in the cluster. If you try to create a second instance, the controllers will not work as expected.
You can find the full API documentation in the API Reference.
apiVersion: operator.dpu.nvidia.com/v1alpha1
kind: DPFOperatorConfig
metadata:
name: dpfoperatorconfig
namespace: dpf-operator-system
spec:
deploymentMode: host-trusted
provisioningController:
dmsTimeout: 900
staticClusterManager:
disable: true
kamajiClusterManager:
disable: false
spec.deploymentMode and spec.provisioningController are required fields; the API server rejects a DPFOperatorConfig that omits either.
We can verify if the configuration is applied correctly by checking the status of the DPFOperatorConfig resource.
$ kubectl -n dpf-operator-system get dpfoperatorconfig
NAME READY PHASE AGE
dpfoperatorconfig True Success 1h
or via dpfctl
$ kubectl -n dpf-operator-system exec deployment/dpf-operator-controller-manager -- /dpfctl describe all
NAME NAMESPACE STATUS REASON SINCE MESSAGE
DPFOperatorConfig/dpfoperatorconfig dpf-operator-system
├─Ready True Success 1h
├─ImagePullSecretsReconciled True Success 1h
├─SystemComponentsReady True Success 1h
└─SystemComponentsReconciled True Success 1h
Argo CD Namespace
The DPF system namespace is dpf-operator-system. The DPFOperatorConfig must be created in this namespace, and DPF Applications are reconciled from this namespace.
If Argo CD is installed in a different namespace, set spec.overrides.argoCDNamespace to the Argo CD namespace. Ensure that dpf-operator-system is included in the Argo CD Helm value configs.params.application.namespaces (or an equivalent configuration) so Argo CD reconciles Applications in dpf-operator-system. See Helm Prerequisites for the matching install-time guidance.
apiVersion: operator.dpu.nvidia.com/v1alpha1
kind: DPFOperatorConfig
metadata:
name: dpfoperatorconfig
namespace: dpf-operator-system
spec:
deploymentMode: host-trusted
provisioningController:
dmsTimeout: 900
overrides:
argoCDNamespace: argo-cd
staticClusterManager:
disable: true
kamajiClusterManager:
disable: false
Configuration Options
Networking
There are networking options that can be configured. The MTU for the control plane and high-speed interfaces can be configured. The default value is set to 1500, however it can be adjusted if required.
In host-trusted deployments, the out-of-band bridge name can also be configured. The bridge must exist on worker nodes before DPF components start; DPF does not create it. Changing the bridge name on a running cluster is a destructive operation: update the bridge on all nodes first, then immediately update DPFOperatorConfig with the new name.
spec:
networking:
controlPlaneMTU: 1500 # Management network MTU (range: 1280-9216, default: 1500)
highSpeedMTU: 1500 # High-speed interface MTU (range: 1280-9216, default: 1500)
dpuNodeOOBBridgeName: br-dpu # Host-trusted OOB bridge name (default: br-dpu, max 15 chars)
Image Pull Secrets
Specify secrets for pulling container images. This is only necessary if your container registry requires authentication. If you are using the public GHCR registry, which is the default, you do not need to configure this.
spec:
imagePullSecrets:
- "my-registry-secret"
- "another-secret"
Resources
All system components deployed by the DPF Operator support standard Kubernetes resource requests and limits. Resources can be configured per component at the container level. Components may have multiple containers with different resource requirements that can be configured independently.
Below is an example of configuring resources for the SFC Controller component:
spec:
sfcController:
controller:
resources:
requests:
cpu: 6
memory: 2Gi
limits:
cpu: 8
memory: 4Gi
This pattern applies to all components listed in the Optional Component Configurations section below.
For production deployments, it is recommended to set appropriate resource limits based on your cluster's workload.
Monitoring
The spec.monitoring field configures DPF-operator-managed observability components deployed on each DPU cluster. By default, Kube-State-Metrics and Node-Problem-Detector are enabled. OpenTelemetry Collector is enabled as soon as at least one signal (logging, metrics, or tracing) is configured; any one of them is sufficient.
spec:
monitoring:
# Disable all monitoring components (default: false)
# disable: true
kubeStateMetrics:
disable: false
nodeProblemDetector:
disable: false
openTelemetryCollector:
disable: false
logging:
endpoint: "http://<host-node-ip>:30050"
# OTLP transport used to export to the endpoint: "http" (default) or "grpc".
# transport: grpc
# Reference to a Secret holding the PEM-encoded CA bundle (key "ca.crt")
# used to verify the endpoint's TLS certificate. The Secret may live in any
# namespace; namespace defaults to the DPFOperatorConfig namespace.
# Required only for certificates issued by a private CA.
# caSecretRef:
# name: otel-ca
# The metrics configuration takes the same endpoint, transport and
# caSecretRef fields, configured independently of logging.
# metrics:
# endpoint: "http://<host-node-ip>:30050"
# tracing exports distributed trace spans from the DPF controllers and
# DPU cluster collector. It takes the same endpoint, transport and
# caSecretRef fields and is configured independently of logging/metrics.
# tracing:
# endpoint: "http://<host-node-ip>:30050"
Each component supports disable and daemon (image, resources) overrides. To disable all monitoring at once, set spec.monitoring.disable: true.
For TLS endpoints (https://), the certificate is verified against the system CA pool by default. To use a private CA, create a Secret with the CA bundle under the ca.crt key and reference it via caSecretRef. The Secret may live in any namespace, for example alongside the endpoint's cert-manager Certificate; the reference's namespace defaults to the DPFOperatorConfig namespace. Certificate verification is never skipped. transport and caSecretRef are set per signal, so logging, metrics, and tracing can target different endpoints. For details on the tracing signal and its data flow, see Tracing.
A single node IP as the endpoint is a single point of failure. For production, use a highly available address that fronts the Host Cluster nodes (a failover VIP, a LoadBalancer Service address, or a DNS name resolving to one of those). See the High Availability section for details.
For detailed configuration options and architecture, see DPF-Operator-Managed Components.
Certificate Management
The certificate authority that the DPF certificates chain up to is chosen once for the whole PKI, in the certificateAuthority.issuerRef value of the dpf-operator Helm chart rather than here. What this block configures is the ConfigMap that the consumers of those certificates validate their peers against.
spec:
security:
certManagement:
trustBundleConfigMapName: enterprise-ca-trust-bundle
Leaving it out gives you dpf-ca-trust-bundle. Either way the name is immutable, because it reaches a DPU in the provisioning configuration it is installed with: renaming it would leave the DPUs already provisioned reading a ConfigMap DPF no longer maintains.
The operator records what it has rolled out under status.security.certManagement:
-
anchor: the authority the provisioning PKI is chained to, either the self-signed root of DPF or the issuer you named. -
trustBundleHash: thebundle-hashthe trust bundle carried when that anchor was recorded.
A change of authority in the chart is reported on the CertManagementReady condition until the rollout of it is complete.
For the hierarchy itself, anchoring it to an authority of your own and who owns the bundle content in each case, see External Certificate Authority.
Optional Component Configurations
The following components can be configured to enable/disable features or specify a different container image.
Most components are enabled by default with preconfigured images. Some components, such as staticClusterManager, and nodeSRIOVDevicePluginController, are disabled by default and can be enabled when needed.
spec:
cniInstaller: { }
dpuDetector: { }
dpuServiceController: { }
flannel: { }
kamajiClusterManager: { }
multus: { }
nodeSRIOVDevicePluginController: { }
nvipam: { }
ovsCNI: { }
provisioningController: { }
serviceSetController: { }
sfcController: { }
sriovDevicePlugin: { }
staticClusterManager: { }
To disable a component or override its container image, use the following configuration:
spec:
sriovDevicePlugin:
disable: true
dpuDetector:
daemon:
image: "my-registry/my-dpu-detector:latest"
To enable a component that is disabled by default, set disable to false:
spec:
nodeSRIOVDevicePluginController:
disable: false
staticClusterManager:
disable: false
Deprecated: Setting the image at component level (e.g., spec.dpuDetector.image) is deprecated. Use the sub-component specific image field instead (e.g., spec.dpuDetector.daemon.image).
For a detailed description of each component and its available configuration options, see
the API Reference.
DPU Service Controller Configuration options
-
spec.dpuServiceController.disableDPUReadyTaints: When set to true, acts as a full taint kill-switch for the DPUReady controller. No taint managed by this controller (NoSchedulefor critical DPUServices, orNoExecutefor HostNetworkReady) is added, removed, or otherwise touched on host worker nodes. See Disabling All DPUReady Taints for details.
spec:
dpuServiceController:
disableDPUReadyTaints: true
-
spec.dpuServiceController.disableHostNetworkReadyNoExecuteTaints: When set to false, enables adding aNoExecutetaint to a host worker node when its Ready-phase DPU reportsHostNetworkReadyis notTrue, evicting workloads that depend on host VFs. Has no effect whendisableDPUReadyTaintsistrue. See Host Network Readiness NoExecute Taints for details.
spec:
dpuServiceController:
disableHostNetworkReadyNoExecuteTaints: false
-
spec.dpuServiceController.defaultServiceDaemonSetMaxUnavailable: FallbackmaxUnavailableapplied to a DPUService's ServiceDaemonSet rolling updates whenserviceDaemonSet.updateStrategyis omitted, or itsrollingUpdate.maxUnavailableis unset andmaxSurgeis unset or zero. Defaults to30000(a deliberately large value that lets rollouts proceed despite unreachable DPU nodes) when unset. IfmaxSurgeis nonzero, an omittedmaxUnavailableis left unset; explicitmaxUnavailablevalues andOnDeletestrategies are always preserved. Lower this value (minimum1) to cap how many DPU pods go unavailable at once during an update, for example to limit image-pull burst across a large DPU fleet.
spec:
dpuServiceController:
defaultServiceDaemonSetMaxUnavailable: 10
Flannel Configuration Options
-
spec.flannel.podCIDR: CIDR range for pod networking when using Flannel CNI.
spec:
flannel:
podCIDR: "10.244.0.0/16"
Component Deployment Configuration
Several components support additional deployment configuration options:
-
helmChart: Override the Helm chart repository/version for the component
spec:
multus:
helmChart: "custom-repo/multus:v1.0.0"
SFC Controller Configuration Options
-
spec.sfcController.secureFlowDeletionTimeout: Used to control the secure flow deletion feature.The default value is 0, which means that the feature is disabled.
When set with a valid duration value, indicating the API server unavailability threshold, SFC controller will delete all openflow flows to prevent unintended packet leaks, if API server is unavailable for more than the specified duration.
Value must be in units accepted by Go time.ParseDuration https://golang.org/pkg/time/#ParseDuration.
spec:
sfcController:
secureFlowDeletionTimeout: 5m
Provisioning Controller Configuration Options
-
spec.provisioningController.bfbPVCName: (Optional) Name of the PVC containing the BFB (BF Bundle) for provisioning DPUs. If it is not set, node local storage via a hostPath volume is used by default. -
spec.provisioningController.maxDPUParallelInstallations: Controls the maximum number of DPUs that can be provisioned concurrently. The default value is 50. The value must be at least 1. -
spec.provisioningController.dpuMaxConcurrentReconciles: Controls how many different DPU objects the DPU controller can reconcile concurrently. The value must be at least 1. When unset, a single-worker default applies and reconciles run one at a time. The controller-runtime workqueue still serializes reconciles for the same DPU. This worker limit is independent ofmaxDPUParallelInstallations: the latter limits how many DPUs may be in the provisioning lifecycle, while this setting limits how many DPU reconcile loops may execute at once. It does not affect other controllers in the provisioning manager. -
spec.provisioningController.dpuDeviceMaxConcurrentReconciles: Controls how many different DPUDevice objects the DPUDevice controller can reconcile concurrently. The default value is 1 and the value must be at least 1. The controller-runtime workqueue still serializes reconciles for the same DPUDevice. It is independent ofdpuMaxConcurrentReconciles, which applies to the DPU controller only; controllers other than DPU and DPUDevice keep one worker. -
spec.provisioningController.maxUnavailableDPUNodes: Maximum number of DPU nodes that can be unavailable during node effects. The DPUSet controller also uses this value as the maximum number of unavailable DPUs when deleting outdated DPUs during a rolling update; the deprecatedDPUSet.spec.strategy.rollingUpdate.maxUnavailablevalue is ignored. The provisioning controller interacts with the maintenance-operator to implement the node effect. The number of nodes that can have a node effect applied simultaneously is determined by MaxUnavailableDPUNodes in dpfoperatorconfig and MaxParallelOperations in the NodeMaintenance-operator configuration. NodeMaintenanceOperator has higher priority than what is defined in the DPFOperatorConfig. The default value of DPFOperatorConfig.MaxUnavailableDPUNodes is 50. For the default MaintenanceOperatorConfig values see instructions in helm prerequisites. -
spec.provisioningController.osInstallRetries: Maximum number of retryable OS installation attempts in zero-trust mode before the DPU transitions to Error. When unset, the provisioning controller defaults to 2. -
spec.provisioningController.osInstallTimeout: Maximum time allowed for OS installation. If the installation exceeds this timeout, the DPU transitions to Error. Leave it unset to use the provisioning controller's built-in timeout. The value is a duration string built from integer-and-unit segments (h,m,s,ms,us/µs,ns); fractional values such as1.5hare rejected (e.g.60m,1h30m). -
spec.provisioningController.firmwareUpdateTimeout: Maximum time allowed for the BF4 firmware-update phase in zero-trust mode. Leave it unset to use the provisioning controller's built-in timeout. The timeout is measured from the time the DPU's interface was initialized (theInterfaceInitializedcondition), so time spent in the firmware-configuration steps that precede the update counts against this budget; if the elapsed time exceeds the timeout, the DPU transitions to Error. The value is a duration string built from integer-and-unit segments (h,m,s,ms,us/µs,ns); fractional values such as1.5hare rejected (e.g.45m,1h). -
spec.provisioningController.nodeJoinTokenTTL: Lifetime of the kubeadm bootstrap token created for a DPU node to join its DPUCluster. Long-running provisioning can exceed the token lifetime, causing kubeadm discovery to fail and leaving an otherwise provisioned DPU unable to join; raise this when provisioning routinely outlasts the token lifetime. The value must be greater than zero and is a duration string built from integer-and-unit segments (h,m,s,ms,us/µs,ns); fractional values such as1.5hare rejected (e.g.3h,30m). -
spec.provisioningController.hostAgentDNSPolicy: DNS policy for the hostagent pod. Supported values areClusterFirstWithHostNet,ClusterFirst, orDefault. Defaults toClusterFirstWithHostNet. Although the API acceptsNone, hostagent pod creation does not supply thednsConfigrequired by Kubernetes, so that value cannot currently be used. -
spec.provisioningController.preInstallAgentRegistrationTimeout: How long theInitializingphase waits for the in-band dpu-agent to setpreInstall.agentReportedon a DPU CR during initial provisioning or reprovisioning. When the timeout elapses, provisioning continues without agent-assisted pre-install for that cycle. The value is a duration string built from integer-and-unit segments (h,m,s,ms,us/µs,ns); fractional values such as1.5hare rejected (e.g.30s,1m).
The maxDPUParallelInstallations and maxUnavailableDPUNodes options can be configured together and can be combined with maxParallelOperations and maxUnavailable in Nvidia NodeMaintenance-operator configuration. Below are some examples to show the expected behaviour.
|
maxDPUParallelInstallations in DPFOperatorconfig |
maxUnavailableDPUNodes in DPFOperatorconfig |
maxParallelOperations in Nvidia NodeMaintenanceConfig |
maxUnavailable in Nvidia NodeMaintenanceConfig |
max number of DPUs in provisioning |
max number of Nodes under node effect in NodeMaintenanceOperator |
|---|---|---|---|---|---|
|
5 |
1 |
10 |
5 |
up to 5 DPUs provisioning in parallel |
up to 1 node under node effect |
|
1 |
5 |
10 |
10 |
up to 1 DPU provisioning |
up to 1 node under node effect |
|
5 |
5 |
1 |
5 |
up to 5 DPUs provisioning in parallel |
up to 1 node under node effect |
|
5 |
5 |
10 |
2 |
up to 5 DPUs provisioning in parallel |
up to 2 node under node effect |
-
spec.provisioningController.bfCFGTemplateConfigMap: Name of ConfigMap containing a bf.cfg template for DPU configuration. Deprecated and will be removed in a future release; useenableDynamicBFCFGTemplatesinstead. Mutually exclusive withenableDynamicBFCFGTemplates. -
spec.provisioningController.enableDynamicBFCFGTemplates: Enables runtime discovery of bf.cfg templates via ConfigMaps. When enabled, the provisioning controller discovers ConfigMaps by matching labels for BFB name/namespace and DPUCluster name/namespace. Mutually exclusive withbfCFGTemplateConfigMap. -
spec.provisioningController.customCASecretName: Name of Secret containing custom CA certificates for secure communication. -
spec.provisioningController.dmsTimeout: Timeout in seconds for DMS (DPU Management Service) operations. -
spec.provisioningController.replicas: Number of provisioning-controller pods for high availability. -
spec.provisioningController.multiDPUOperationsSyncWaitTime: Wait time for synchronizing operations across multiple DPUs. Value must be in units accepted by Go time.ParseDuration https://golang.org/pkg/time/#ParseDuration. -
spec.provisioningController.registry: Configuration for the container registry used during provisioning.-
address: Registry address. Deprecated and will be removed in a future release; useloadBalancerAddressinstead. -
port: Registry port. Deprecated and will be removed in a future release; useloadBalancerAddressinstead. -
loadBalancerAddress: Load balancer address for the BFB Registry that the host agent/Redfish use to fetch the BFB and generated bf.cfg. This is the current, non-deprecated way to configure registry access. To use it, deploy your own load balancer controller pointed at thebfb-registryNodePort service. The value must start withhttp://orhttps://.
-
-
spec.provisioningController.nodeEffectRemovalTimeout: Maximum time allowed for the Node Effect Removal phase. If theDPUNodeMaintenanceCR still has requestors after this timeout, the DPU transitions to Error state, which is terminal and requires reprovisioning (deleting and recreating the DPU). The default is0s, which disables the timeout entirely (no time limit is enforced). To enable, set to a non-zero duration (e.g.30m). Value must be in units accepted by Gotime.ParseDuration(e.g.30m,1h,45m30s). -
spec.provisioningController.bmcServerCertRenewBefore: How long before expiry the provisioning controller automatically rotates the DPU BMC mTLS server certificate (Zero Trust / Redfish only). The certificate is issued for 365 days, and the default renewal window is720h(30 days), so each DPU's certificate is renewed about a month before it expires. Value must be in units accepted by Gotime.ParseDuration(e.g.720h,30m). If set to0sor to a value greater than or equal to the certificate validity period, the controller falls back to renewing at half the certificate lifetime. See BMC mTLS Server Certificate Rotation for the full rotation flow and the manual-rotation trigger. -
spec.provisioningController.installInterface: Method for installing DPU firmware. Choose one:-
installViaHostAgent: Install via host agent -
installViaGNOI: Install via gNOI protocol (deprecated; useinstallViaHostAgentinstead) -
installViaRedfish: Install via Redfish API with additional options:-
bfbRegistry.disable: Disable the BFB registry -
bfbRegistry.port: Port for BFB registry (deprecated; usespec.provisioningController.registry.loadBalancerAddressinstead) -
bfbRegistryAddress: Address of BFB registry (deprecated; usespec.provisioningController.registry.loadBalancerAddressinstead) -
skipDPUNodeDiscovery: Skip automatic DPU node discovery (default:true) -
discoveredDPUDeviceBMCFactoryResetPolicy: The BMC factory reset policy stamped into the DPUDevices that discovery creates,OnInitializationorNever. When omitted, the discovery controller usesOnInitialization. A factory reset erases the BMC network configuration, so set this toNeverwhen the discovered BMCs have static IP addresses. See BMC Factory Reset.
-
-
spec:
provisioningController:
maxDPUParallelInstallations: 25 # Limit concurrent provisioning to 25 DPUs
maxUnavailableDPUNodes: 5
dmsTimeout: 600
replicas: 2
multiDPUOperationsSyncWaitTime: 30s
nodeEffectRemovalTimeout: 0s # Disabled by default. Set to e.g. "30m" to enforce a timeout.
bmcServerCertRenewBefore: 720h # Rotate the BMC mTLS server cert 30 days before expiry (Zero Trust).
customCASecretName: my-ca-secret
installInterface:
installViaRedfish:
skipDPUNodeDiscovery: false
discoveredDPUDeviceBMCFactoryResetPolicy: OnInitialization # Set to Never for BMCs with a static IP address
Advanced Overrides
The overrides section allows customization of system-level paths and settings. These are typically only needed for non-standard deployments or testing scenarios.
spec:
overrides:
# Pause reconciliation of the DPFOperatorConfig
paused: false
# Kubernetes API server configuration
kubernetesAPIServerVIP: "192.168.1.100"
kubernetesAPIServerPort: 6443
# DPU filesystem paths for CNI
dpuCNIPath: "/etc/cni/net.d"
dpuCNIBinPath: "/opt/cni/bin"
# DPU OpenVSwitch paths
dpuOpenvSwitchBinPath: "/usr/bin"
dpuOpenvSwitchRunPath: "/var/run/openvswitch"
dpuOpenvSwitchSystemSharedPath: "/lib"
dpuOpenvSwitchSystemSharedLib64Path: "/lib64"
# Optional additional DPU library paths mounted into the SFC Controller
dpuLinkerCachePath: "/etc/ld.so.cache"
dpuOptLibraryPath: "/usr/opt"
# Flannel-specific overrides
flannelSkipCNIConfigInstallation: false
Override Options
-
paused: When set to true, pauses reconciliation of the DPFOperatorConfig resource. -
kubernetesAPIServerVIP: The Kubernetes API server virtual IP address. Required in Zero Trust mode (wheninstallViaRedfishis used). -
kubernetesAPIServerPort: The Kubernetes API server port (default: 6443). Required in Zero Trust mode (wheninstallViaRedfishis used). -
dpuCNIPath: Path at which the CNI config files are installed on the DPU (default:/etc/cni/net.d). This only controls where DPF writes the CNI config; it does not reconfigure kubelet, which continues to read the CNI config from its own configured directory. Only override this if kubelet on the DPU is already configured to read from the same non-default path, otherwise kubelet will not find the CNI config. -
dpuCNIBinPath: Path at which the CNI binaries are installed on the DPU (default:/opt/cni/bin). This only controls where DPF installs the CNI binaries; it does not reconfigure kubelet, which continues to load CNI binaries from its own configured directory. Only override this if kubelet on the DPU is already configured to load binaries from the same non-default path. -
dpuOpenvSwitchBinPath: Path to the OpenvSwitch bin directory on DPU nodes (default:/usr/bin/). -
dpuOpenvSwitchRunPath: Path to the OpenvSwitch run directory on DPU nodes (default:/var/run/openvswitch). -
dpuOpenvSwitchSystemSharedPath: Path to the system shared library directory used by OVS components on the DPU (default:/lib). -
dpuOpenvSwitchSystemSharedLib64Path: Path to the systemlib64directory used by OVS components on the DPU. If unset, nolib64volume mount is configured in the SFC Controller component. -
dpuLinkerCachePath: Path on the DPU to a prebuilt dynamic-linker cache file. When set, the file is mounted read-only into the SFC Controller container so host OVS binaries resolve shared libraries using the DPU's linker configuration. If unset, no linker cache mount is added. -
dpuOptLibraryPath: Path on the DPU to an additional library directory (for example/usr/opton an RHCOS BFB). When set, the directory is mounted read-only into the SFC Controller container. If unset, no additional library directory is mounted. -
flannelSkipCNIConfigInstallation: Whether Flannel skips installing its own CNI configuration (default:true). Set tofalseto have Flannel install a CNI configuration. -
argoCDNamespace: Namespace where Argo CD is installed. Defaults to the namespace of theDPFOperatorConfig. AppProjects and cluster secrets required by DPF are created in this namespace.
Last updated: