Skip to content

Commit

Permalink
Pods in daemonset should have grace period reduced.
Browse files Browse the repository at this point in the history
Otherwise, it can take a long time for the daemonset to stop, and there's no real reason it needs to hang out for a long time.
  • Loading branch information
dougbtv authored and s1061123 committed Jan 28, 2021
1 parent d4e8699 commit f6df613
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions images/multus-daemonset-crio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ spec:
mountPath: /host/usr/libexec/cni
- name: multus-cfg
mountPath: /tmp/multus-conf
terminationGracePeriodSeconds: 10
volumes:
- name: run
hostPath:
Expand Down
3 changes: 3 additions & 0 deletions images/multus-daemonset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ spec:
mountPath: /host/opt/cni/bin
- name: multus-cfg
mountPath: /tmp/multus-conf
terminationGracePeriodSeconds: 10
volumes:
- name: cni
hostPath:
Expand Down Expand Up @@ -259,6 +260,7 @@ spec:
mountPath: /host/opt/cni/bin
- name: multus-cfg
mountPath: /tmp/multus-conf
terminationGracePeriodSeconds: 10
volumes:
- name: cni
hostPath:
Expand Down Expand Up @@ -325,6 +327,7 @@ spec:
mountPath: /host/opt/cni/bin
- name: multus-cfg
mountPath: /tmp/multus-conf
terminationGracePeriodSeconds: 10
volumes:
- name: cni
hostPath:
Expand Down

0 comments on commit f6df613

Please sign in to comment.