mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 23:37:01 +00:00
Include serial port output in GCP log-dump
This commit is contained in:
parent
67dc87395b
commit
9f547084c3
@ -97,6 +97,8 @@ function copy-logs-from-node() {
|
|||||||
else
|
else
|
||||||
case "${KUBERNETES_PROVIDER}" in
|
case "${KUBERNETES_PROVIDER}" in
|
||||||
gce|gke|kubemark)
|
gce|gke|kubemark)
|
||||||
|
# get-serial-port-output lets you ask for ports 1-4, but currently (11/21/2016) only port 1 contains useful information
|
||||||
|
gcloud compute instances get-serial-port-output --project "${PROJECT}" --zone "${ZONE}" --port 1 "${node}" > "${dir}/serial-1.log" || true
|
||||||
gcloud compute copy-files --project "${PROJECT}" --zone "${ZONE}" "${node}:${scp_files}" "${dir}" > /dev/null || true
|
gcloud compute copy-files --project "${PROJECT}" --zone "${ZONE}" "${node}:${scp_files}" "${dir}" > /dev/null || true
|
||||||
;;
|
;;
|
||||||
aws)
|
aws)
|
||||||
|
Loading…
Reference in New Issue
Block a user