• Kubernetes Submit Queue's avatar
    Merge pull request #58396 from chrisglass/do_not_use_ifupdown · 00a0c14c
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Do not use ifupdown commands
    
    **What this PR does / why we need it**:
    The ifupdown commands (ifup and ifdown) are not useful on many modern
    distributions. Instead, the "ip link set" set of commands are standard
    linux utilities and should be available everywhere (see
    http://baturin.org/docs/iproute2/).
    
    ipupdown utilities have the added quirk that they return 0 on failure,
    which makes the changed line fail silently in case ifdown didn't bring
    the network down.
    
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    Fixes #
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    00a0c14c
Name
Last commit
Last update
..
bootstrap Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
addon_update.go Loading commit data...
cluster_upgrade.go Loading commit data...
framework.go Loading commit data...
ha_master.go Loading commit data...
reboot.go Loading commit data...
resize_nodes.go Loading commit data...
restart.go Loading commit data...