mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Merge pull request #37248 from mtaufen/serial-port-output
Automatic merge from submit-queue Include serial port output in GCP log-dump This should help us debug reboot failures e.g. https://github.com/kubernetes/kubernetes/issues/33882 Also useful for OOM-kill investigation. /cc @dchen1107
This commit is contained in:
commit
8feec28d6e
@ -97,6 +97,8 @@ function copy-logs-from-node() {
|
||||
else
|
||||
case "${KUBERNETES_PROVIDER}" in
|
||||
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
|
||||
;;
|
||||
aws)
|
||||
|
Loading…
Reference in New Issue
Block a user