summaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/images/sriov-daemonset.yml
diff options
context:
space:
mode:
Diffstat (limited to 'kud/deployment_infra/images/sriov-daemonset.yml')
-rw-r--r--kud/deployment_infra/images/sriov-daemonset.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/kud/deployment_infra/images/sriov-daemonset.yml b/kud/deployment_infra/images/sriov-daemonset.yml
index e392028d..41b1cbaa 100644
--- a/kud/deployment_infra/images/sriov-daemonset.yml
+++ b/kud/deployment_infra/images/sriov-daemonset.yml
@@ -46,6 +46,15 @@ spec:
tier: node
app: sriovdp
spec:
+ affinity:
+ nodeAffinity:
+ requiredDuringSchedulingIgnoredDuringExecution:
+ nodeSelectorTerms:
+ - matchExpressions:
+ - key: feature.node.kubernetes.io/network-sriov.capable
+ operator: In
+ values:
+ - "true"
hostNetwork: true
hostPID: true
nodeSelector: