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