We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 31a0eb9 + 7e8c5a3 commit 24d3e18Copy full SHA for 24d3e18
hack/log/log-dump.sh
@@ -91,8 +91,7 @@ dump_workload_cluster_logs() {
91
kubectl apply -f "${REPO_ROOT}/hack/log/log-dump-daemonset.yaml"
92
kubectl wait pod -l app=log-dump-node --for=condition=Ready --timeout=5m
93
94
- local -r log_dump_pods=()
95
- IFS=" " read -r -a log_dump_pods <<< "$(kubectl get pod -l app=log-dump-node -ojsonpath='{.items[*].metadata.name}')"
+ IFS=" " read -ra log_dump_pods <<< "$(kubectl get pod -l app=log-dump-node -ojsonpath='{.items[*].metadata.name}')"
96
local log_dump_commands=(
97
"journalctl --output=short-precise -u kubelet > kubelet.log"
98
"journalctl --output=short-precise -u containerd > containerd.log"
0 commit comments