mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #116386 from kinvolk/rata/local-up-cleanup
hack/local-up-cluster.sh: Cleaup on SIGINT
This commit is contained in:
commit
bbe0eb7595
@ -1151,6 +1151,7 @@ echo "Using GO_OUT ${GO_OUT}"
|
|||||||
export KUBELET_CIDFILE=${TMP_DIR}/kubelet.cid
|
export KUBELET_CIDFILE=${TMP_DIR}/kubelet.cid
|
||||||
if [[ "${ENABLE_DAEMON}" = false ]]; then
|
if [[ "${ENABLE_DAEMON}" = false ]]; then
|
||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
|
trap cleanup INT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Starting services now!"
|
echo "Starting services now!"
|
||||||
|
Loading…
Reference in New Issue
Block a user