NVIDIA Network Operator

When you enable the NVIDIA Network Operator cluster add-on, you can pass the following key/value pairs as arguments.

Configuration Arguments Common to all Cluster Add-ons
Key (API and CLI) Key's Display Name (Console) Description Required/Optional Default Value Example Value
affinity affinity

A group of affinity scheduling rules.

JSON format in plain text or Base64 encoded.

Not used by:
  • Nvidia GPU Operator
Possible equivalents:
  • Node Feature Discovery, use master.affinity
  • NVIDIA Network Operator, use operator.affinity
  • CSI Driver SMB, use contoller.affinity
Optional null null
nodeSelectors node selectors

You can use node selectors and node labels to control the worker nodes on which add-on pods run.

For a pod to run on a node, the pod's node selector must have the same key/value as the node's label.

Set nodeSelectors to a key/value pair that matches both the pod's node selector, and the worker node's label.

JSON format in plain text or Base64 encoded.

Not used by:
  • NVIDIA GPU Operator
  • CSI Driver SMB
Possible equivalents:
  • Node Feature Discovery, use worker.nodeSelector
  • NVIDIA Network Operator, use operator.nodeSelectors
Optional null {"foo":"bar", "foo2": "bar2"}

The pod will only run on nodes that have the foo=bar or foo2=bar2 label.

numOfReplicas numOfReplicas The number of replicas of the add-on deployment.
Not used by:
  • AMD GPU Plugin
  • NVIDIA GPU Operator
  • NVIDIA Network Operator
  • CSI Driver SMB
Possible equivalents:
  • CoreDNS, use nodesPerReplica
  • Node Feature Discovery, use master.replicaCount
Required 1

Creates one replica of the add-on deployment per cluster.

2

Creates two replicas of the add-on deployment per cluster.

rollingUpdate rollingUpdate

Controls the desired behavior of rolling update by maxSurge and maxUnavailable.

JSON format in plain text or Base64 encoded.

Not used by:
  • Node Feature Discovery
  • NVIDIA Network Operator
  • CSI Driver SMB
Possible equivalents:
  • NVIDIA GPU Operator, use daemonsets.rollingUpdate.maxUnavailable
Optional null null
tolerations tolerations

You can use taints and tolerations to control the worker nodes on which add-on pods run.

For a pod to run on a node that has a taint, the pod must have a corresponding toleration.

Set tolerations to a key/value pair that matches both the pod's toleration, and the worker node's taint.

JSON format in plain text or Base64 encoded.

Possible equivalents:
  • Node Feature Discovery, use master.tolerations and/or worker.tolerations
  • NVIDIA GPU Operator, use daemonsets.tolerations
  • NVIDIA Network Operator, use operator.tolerations
  • CSI Driver SMB, use controller.tolerations
Optional null [{"key":"tolerationKeyFoo", "value":"tolerationValBar", "effect":"noSchedule", "operator":"exists"}]

Only pods that have this toleration can run on worker nodes that have the tolerationKeyFoo=tolerationValBar:noSchedule taint.

topologySpreadConstraints topologySpreadConstraints

How to spread matching pods among the given topology.

JSON format in plain text or Base64 encoded.

Not used by:
  • Node Feature Discovery
  • NVIDIA GPU Operator
  • NVIDIA Network Operator
  • CSI Driver SMB
Optional null null
Configuration Arguments Specific to this Cluster Add-on
Key (API and CLI) Key's Display Name (Console) Description Required/Optional Default Value Example Value
operator.nodeSelectors nvidia-network-operator nodeSelectors Node selectors on the NVIDIA Network Operator pods. Optional null
operator.tolerations nvidia-network-operator tolerations Tolerations on the NVIDIA Network Operator pods. Optional null
nicClusterPolicy.tolerations nicClusterPolicy tolerations Tolerations for DaemonSets managed by NicClusterPolicy. Optional null
nicClusterPolicy.deploymentTolerations nicClusterPolicy deploymentTolerations Tolerations for Deployments managed by NicClusterPolicy. Optional null
operator.affinity nvidia-network-operator affinity Affinity scheduling rules for NVIDIA Network Operator. JSON format in plain text. Optional null
operator.resources nvidia-network-operator container resources NVIDIA Network Operator resources control the resource limits and requests for the nvidia-network-operator container. JSON format in plain text. Optional
{"limits": {"cpu": "500m", "memory": "128Mi"}, "requests": {"cpu": "5m", "memory": "64Mi"}}
operator.cniBinDirectory cniBinDirectory CNI binary directory for NVIDIA Network Operator. Optional /opt/cni/bin
operator.cniNetworkDirectory cniNetworkDirectory CNI network directory for NVIDIA Network Operator. Optional /etc/cni/net.d
operator.admissionControllers.enabled operator.admissionControllers.enabled Enable admission controllers for NVIDIA Network Operator. Optional false
sriovNetworkOperator.enabled sriovNetworkOperator.enabled Enable the SR-IOV NVIDIA Network Operator. Optional false
sriov-network-operator.operator.resourcePrefix sriov-network-operator.operator.resourcePrefix Resource prefix for resources created by SR-IOV Network Operator. Optional nvidia.com
sriov-network-operator.operator.admissionControllers.enabled sriov-network-operator.operator.admissionControllers.enabled Enable admission controllers for SR-IOV Network Operator. Optional false
sriov-network-operator.operator.sriovOperatorConfig.configDaemonNodeSelectors sriov-network-operator.operator.sriovOperatorConfig.configDaemonNodeSelectors Configure configDaemonNodeSelector for sriovOperatorConfig. Optional
{"beta.kubernetes.io/os": "linux", "network.nvidia.com/operator.mofed.wait": "false"}
vfCreationMode vfCreationMode Mode for VF creation. Valid values are sriovNetworkOperator and custom. Optional custom
customizeVfCreationConfigMap customizeVfCreationConfigMap Specify whether to skip creating the vf-shape-config ConfigMap. Optional false
skipNodeFeatureDiscoveryDependencyCheck skipNFDDependencyCheck Skip the Node Feature Discovery dependency check. Optional false