mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Use proper mktmp command in local-up-cluster.sh
This commit is contained in:
parent
63982fc1fd
commit
be4b3c5abd
@ -217,7 +217,7 @@ LOG_LEVEL=${LOG_LEVEL:-3}
|
|||||||
# Use to increase verbosity on particular files, e.g. LOG_SPEC=token_controller*=5,other_controller*=4
|
# Use to increase verbosity on particular files, e.g. LOG_SPEC=token_controller*=5,other_controller*=4
|
||||||
LOG_SPEC=${LOG_SPEC:-""}
|
LOG_SPEC=${LOG_SPEC:-""}
|
||||||
LOG_DIR=${LOG_DIR:-"/tmp"}
|
LOG_DIR=${LOG_DIR:-"/tmp"}
|
||||||
TMP_DIR=${TMP_DIR:-$(mktemp -d 2>/dev/null || mktemp -d -t test-cluster.XXXXXX)}
|
TMP_DIR=${TMP_DIR:-$(kube::realpath "$(mktemp -d -t "$(basename "$0").XXXXXX")")}
|
||||||
CONTAINER_RUNTIME=${CONTAINER_RUNTIME:-"remote"}
|
CONTAINER_RUNTIME=${CONTAINER_RUNTIME:-"remote"}
|
||||||
CONTAINER_RUNTIME_ENDPOINT=${CONTAINER_RUNTIME_ENDPOINT:-"unix:///run/containerd/containerd.sock"}
|
CONTAINER_RUNTIME_ENDPOINT=${CONTAINER_RUNTIME_ENDPOINT:-"unix:///run/containerd/containerd.sock"}
|
||||||
RUNTIME_REQUEST_TIMEOUT=${RUNTIME_REQUEST_TIMEOUT:-"2m"}
|
RUNTIME_REQUEST_TIMEOUT=${RUNTIME_REQUEST_TIMEOUT:-"2m"}
|
||||||
|
Loading…
Reference in New Issue
Block a user