Files
kubernetes/hack
Kubernetes Submit Queue c70dd5aa43 Merge pull request #61584 from AkihiroSuda/preserve-etcd
Automatic merge from submit-queue (batch tested with PRs 59027, 62333, 57661, 62086, 61584). 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>.

local-up-cluster.sh: support preserving etcd optionally

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>



**What this PR does / why we need it**:

Allow `hack/local-up-cluster.sh` to support preserve `ETCD_DIR` when `PRESERVE` is set to non-false value.

usage:
```
$ PRESERVE=true ETCD_DIR=/var/lib/etcd-kube-HEAD .... \
   ./hack/local-up-cluster.sh
```

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
(None)

**Special notes for your reviewer**:
(None)

**Release note**:

```release-note
None
```
2018-04-10 22:53:26 -07:00
..
2018-02-16 13:43:01 -08:00
2017-09-19 18:10:21 +05:30
2018-02-01 07:23:50 -08:00
2018-01-30 09:29:51 -08:00
2018-03-29 17:01:32 -07:00
2017-08-27 22:20:04 -04:00
2018-01-22 15:11:16 -08:00
2018-03-29 17:01:32 -07:00
2018-01-09 23:09:08 -08:00
2018-01-09 23:09:08 -08:00
2018-03-29 17:01:30 -07:00