kubernetes/cluster/log-dump
2021-07-19 15:38:17 -07:00
..
log-dump.sh Add konnectivity agent to log dump 2021-07-19 15:38:17 -07:00
logexporter-daemonset.yaml Enable per-zone logexporter pods creation 2020-09-25 15:45:49 +02:00
OWNERS /cluster: add / update OWNERS 2020-04-24 03:21:07 +03:00
README.md Make log-dump's deprecation note up-to-date 2020-12-15 09:58:09 +01:00

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.