Skip to content

Commit

Permalink
Put sriov-network-config-daemon contianer on the first place
Browse files Browse the repository at this point in the history
Make sriov-network-config-daemon container as a default to access
logs easier without specifing container name. It's more often
use-case rather then checking CNIs logs.
  • Loading branch information
e0ne committed Mar 28, 2023
1 parent 708059d commit 3056aac
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 3056aac

Please sign in to comment.