mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Add better debug when GCE cluster turnups fail
This commit is contained in:
parent
87e5d4e4de
commit
9213616a23
@ -3382,7 +3382,7 @@ function check-cluster() {
|
|||||||
local start_time=$(date +%s)
|
local start_time=$(date +%s)
|
||||||
local curl_out=$(mktemp)
|
local curl_out=$(mktemp)
|
||||||
kube::util::trap_add "rm -f ${curl_out}" EXIT
|
kube::util::trap_add "rm -f ${curl_out}" EXIT
|
||||||
until curl --cacert "${CERT_DIR}/pki/ca.crt" \
|
until curl -vsS --cacert "${CERT_DIR}/pki/ca.crt" \
|
||||||
-H "Authorization: Bearer ${KUBE_BEARER_TOKEN}" \
|
-H "Authorization: Bearer ${KUBE_BEARER_TOKEN}" \
|
||||||
${secure} \
|
${secure} \
|
||||||
--max-time 5 --fail \
|
--max-time 5 --fail \
|
||||||
|
Loading…
Reference in New Issue
Block a user