Skip to content

Commit

Permalink
Update daemonset yaml
Browse files Browse the repository at this point in the history
- Add control-plane toleration
- remove nodeSelector for amd64 arch as we have multi-arch images
- rename ds - remove amd64 suffix

Signed-off-by: adrianc <[email protected]>
  • Loading branch information
adrianchiris committed May 26, 2024
1 parent 36570f5 commit cdde1a4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions images/sriov-cni-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: kube-sriov-cni-ds-amd64
name: kube-sriov-cni-ds
namespace: kube-system
labels:
tier: node
Expand All @@ -18,12 +18,13 @@ spec:
tier: node
app: sriov-cni
spec:
nodeSelector:
kubernetes.io/arch: amd64
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
effect: NoSchedule
- key: node-role.kubernetes.io/control-plane
operator: Exists
effect: NoSchedule
containers:
- name: kube-sriov-cni
image: ghcr.io/k8snetworkplumbingwg/sriov-cni
Expand Down

0 comments on commit cdde1a4

Please sign in to comment.