"Fossies" - the Fresh Open Source Software Archive

Member "kubernetes-1.25.4/cluster/log-dump/README.md" (9 Nov 2022, 1009 Bytes) of package /linux/misc/kubernetes-1.25.4.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

This directory is deprecated!

Log dumping utility was ported from kubernetes/kubernetes repository to kubernetes/test-infra. If you require changes to this script, please consider migrating your jobs to use the new log dumping mechanism first.

Currently, log-dump.sh file is added to every newly released kubekins-e2e image. In order to leverage that script, add USE_TEST_INFRA_LOG_DUMPING environment variable to your test job and set its value to true.

Migration steps

For the time being, only GCE and GKE providers are supported by the log-dump mechanism. To make the mechanism support your Kubernetes provider in tests using kubekins-e2e, modify the logDumpPath function in kubetest to handle your provider and adapt log-dump.sh in accord to your needs.