kubernetes / kubernetes/perf-tests
Load test shouldn't delete configmaps and secrets for running pods
Open
kind/bug
lifecycle/frozen
- Dominant language
- Go
- Stars
- 990
- Forks
- 654
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 56
Description
From https://github.com/kubernetes/kubernetes/issues/96038#issuecomment-728988763
It looks like we do delete deployment, configmap and secret at roughly the same time. This is incorrect in general, as there can be large delay between deployment deletion and pod deletion (e.g. if we make our tests even faster and the kube-controller-manager has a O(minutes) backlog of pods to be deleted).
During that delay, the running pod should be able to restart for whatever reason (e.g. kernel panic, machine failure).
We should modify our test to delete configmaps and secrets after we waited for all pods to be deleted.
Contributor guide
Assessment
This issue has not been assessed yet.