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.
1 parent 413e843 commit daf9482Copy full SHA for daf9482
e2e/scripts/collect-support-bundle.sh
@@ -7,10 +7,22 @@ main() {
7
return 1
8
fi
9
10
+ tar -zxvf host.tar.gz
11
+ if ! ls host/host-collectors/run-host/k0s-sysinfo.txt; then
12
+ echo "Failed to find 'k0s sysinfo' inside the host support bundle"
13
+ return 1
14
+ fi
15
+
16
if ! kubectl support-bundle --output cluster.tar.gz --interactive=false --load-cluster-specs; then
17
echo "Failed to collect cluster support bundle"
18
19
20
21
+ tar -zxvf cluster.tar.gz
22
+ if ! ls cluster/podlogs/embedded-cluster-operator; then
23
+ echo "Failed to find operator logs inside the cluster support bundle"
24
25
26
}
27
28
export KUBECONFIG=/var/lib/k0s/pki/admin.conf
0 commit comments