summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHongchao Deng <hongchaodeng1@gmail.com>2015-11-20 10:30:50 -0800
committerHongchao Deng <hongchaodeng1@gmail.com>2015-11-20 12:01:37 -0800
commitccd0d84dc966dfe49553fcc88efd5c4c7c0fbac6 (patch)
tree335298ea145c027e65f137f69b616a028a6f8dfc
parent5a02a9ad0e58677bcb31e23122bf6042632ba4a8 (diff)
Kubemark guide: add paragraph to describe '--delete-namespace=false'
-rw-r--r--kubemark-guide.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/kubemark-guide.md b/kubemark-guide.md
index 7a68f4e6..758963de 100644
--- a/kubemark-guide.md
+++ b/kubemark-guide.md
@@ -100,9 +100,15 @@ comming from other machines, including all the Nodes, not only from outside of t
To run standard e2e test on your Kubemark cluster created in the previous step you execute `test/kubemark/run-e2e-tests.sh` script. It will configure ginkgo to
use Kubemark cluster instead of something else and start an e2e test. This script should not need any changes to work on other cloud providers.
-By default (if nothig will be passed to it) the script will run a Density '30 test. If you want to run a different e2e test you just need to provide flags you want to be
+By default (if nothing will be passed to it) the script will run a Density '30 test. If you want to run a different e2e test you just need to provide flags you want to be
passed to `hack/ginkgo-e2e.sh` script, e.g. `--ginkgo.focus="Load"` to run the Load test.
+By default, at the end of each test, it will delete namespaces and everything under it (e.g. events, replication controllers) on Kubemark master, which takes a lot of time.
+Such work aren't needed in most cases: if you delete your Kubemark cluster after running `run-e2e-tests.sh`;
+you don't care about namespace deletion performance, specifically related to etcd; etc.
+There is a flag that enables you to avoid namespace deletion: `--delete-namespace=false`.
+Adding the flag should let you see in logs: `Found DeleteNamespace=false, skipping namespace deletion!`
+
### Monitoring test execution and debugging problems
Run-e2e-tests prints the same output on Kubemark as on ordinary e2e cluster, but if you need to dig deeper you need to learn how to debug HollowNodes and how Master