mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Fix bug in cluster/log-dump and add OWNERS file
This commit is contained in:
parent
ae1ff1a2d4
commit
bf33e2ac7e
@ -17,6 +17,7 @@
|
||||
# Call this to dump all master and node logs into the folder specified in $1
|
||||
# (defaults to _artifacts). Only works if the provider supports SSH.
|
||||
|
||||
# TODO(shyamjvs): This script should be moved to test/e2e which is where it ideally belongs.
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
@ -282,7 +283,7 @@ function dump_nodes_with_logexporter() {
|
||||
sed -i'' -e "s@{{.EnableHollowNodeLogs}}@${enable_hollow_node_logs}@g" "${KUBE_ROOT}/cluster/log-dump/logexporter-daemonset.yaml"
|
||||
|
||||
# Create the logexporter namespace, service-account secret and the logexporter daemonset within that namespace.
|
||||
KUBECTL="${KUBECTL:-${KUBE_ROOT}/cluster/kubectl.sh}"
|
||||
KUBECTL="${KUBE_ROOT}/cluster/kubectl.sh"
|
||||
"${KUBECTL}" create -f "${KUBE_ROOT}/cluster/log-dump/logexporter-daemonset.yaml"
|
||||
|
||||
# Give some time for the pods to finish uploading logs.
|
||||
|
Loading…
Reference in New Issue
Block a user