Skip to content

Commit

Permalink
Merge pull request #426 from e0ne/sriov-network-config-daemon-container
Browse files Browse the repository at this point in the history
Put sriov-network-config-daemon contianer on the first place
  • Loading branch information
adrianchiris authored Apr 3, 2023
2 parents 708059d + 3056aac commit 344313f
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions bindata/manifests/daemon/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,28 +38,6 @@ spec:
{{- end }}
{{- end }}
containers:
- name: sriov-cni
image: {{.SRIOVCNIImage}}
securityContext:
privileged: true
resources:
requests:
cpu: 10m
memory: 10Mi
volumeMounts:
- name: cnibin
mountPath: /host/opt/cni/bin
- name: sriov-infiniband-cni
image: {{.SRIOVInfiniBandCNIImage}}
securityContext:
privileged: true
resources:
requests:
cpu: 10m
memory: 10Mi
volumeMounts:
- name: cnibin
mountPath: /host/opt/cni/bin
- name: sriov-network-config-daemon
image: {{.Image}}
command:
Expand Down Expand Up @@ -87,12 +65,34 @@ spec:
cpu: 100m
memory: 100Mi
volumeMounts:
- name: host
mountPath: /host
- name: host
mountPath: /host
lifecycle:
preStop:
exec:
command: ["/bindata/scripts/clean-k8s-services.sh"]
- name: sriov-cni
image: {{.SRIOVCNIImage}}
securityContext:
privileged: true
resources:
requests:
cpu: 10m
memory: 10Mi
volumeMounts:
- name: cnibin
mountPath: /host/opt/cni/bin
- name: sriov-infiniband-cni
image: {{.SRIOVInfiniBandCNIImage}}
securityContext:
privileged: true
resources:
requests:
cpu: 10m
memory: 10Mi
volumeMounts:
- name: cnibin
mountPath: /host/opt/cni/bin
volumes:
- name: host
hostPath:
Expand Down

0 comments on commit 344313f

Please sign in to comment.