k3s/test/e2e/lifecycle
Kubernetes Submit Queue 00a0c14c82
Merge pull request #58396 from chrisglass/do_not_use_ifupdown
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
```
2018-01-31 11:48:03 -08:00
..
bootstrap create auto-gen files 2018-01-17 16:23:03 +08:00
BUILD Remove unused test for node auto-repair. 2018-01-29 16:48:59 +01:00
OWNERS fixit: break sig-cluster-lifecycle tests into subpackage 2017-07-19 10:14:51 -07:00
addon_update.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
cluster_upgrade.go Adding downgrade test for ingress-gce 2018-01-24 11:36:08 -08:00
framework.go Rename e2e sig framework files 2017-08-02 09:33:19 +08:00
ha_master.go Fix ha_master tests 2017-07-24 12:10:22 +02:00
reboot.go Do not use ifupdown commands 2018-01-31 08:33:43 +01:00
resize_nodes.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
restart.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00