...
1## This directory is deprecated!
2
3Log dumping utility was ported from kubernetes/kubernetes repository to
4[kubernetes/test-infra](https://github.com/kubernetes/test-infra/tree/master/logexporter/cluster).
5If you require changes to this script, please consider migrating your jobs to use the new
6log dumping mechanism first.
7
8Currently, `log-dump.sh` file is added to every newly released `kubekins-e2e` image.
9In order to leverage that script, add `USE_TEST_INFRA_LOG_DUMPING` environment variable
10to your test job and set its value to `true`.
11
12## Migration steps
13
14For the time being, only GCE and GKE providers are supported by the log-dump mechanism.
15To make the mechanism support your Kubernetes provider in tests using `kubekins-e2e`, modify
16the `logDumpPath` function in
17[kubetest](https://github.com/kubernetes/test-infra/tree/master/kubetest) to handle your provider and
18adapt [log-dump.sh](https://github.com/kubernetes/test-infra/blob/master/logexporter/cluster/log-dump.sh)
19in accord to your needs.
View as plain text