kubernetes / kubernetes/perf-tests

Load test shouldn't delete configmaps and secrets for running pods

Open
#1,575 6 comments 0 reactions 1 assignee Claimed by @mborsz View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.