Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force to invoke all CNI plugin's delete at pods' tearing down #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 26, 2021

  1. Force to invoke all CNI plugin's delete at pods' tearing down

    In case of multiple interfaces in pod, when the pod is deleted,
    forEachnetwork() is called with multiple network attachments.
    If forEachnetwork() causes the error at the middle of processing networks,
    then forEachnetwork() just returns and following network is not processed.
    From CNI runtime point of view, all CNI plugin should be invoked to delete
    interfaces.
    
    This change introduce 'force' option in forEachnetwork() and try to
    continue to process (i.e. delete network) even though forEachnetwork()
    causes the error.
    
    Signed-off-by: Tomofumi Hayashi <[email protected]>
    s1061123 committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    5103466 View commit details
    Browse the repository at this point in the history