krkn icon indicating copy to clipboard operation
krkn copied to clipboard

Large Scale testing issues: continue and namespace calls

Open paigerube14 opened this issue 2 years ago • 0 comments

Duplicating jira card here

We need to avoid using kubernetes functions that query all the namespaces and objects ( https://github.com/redhat-chaos/krkn/blob/main/kraken/plugins/pod_plugin.py#L34 ) given that it's going to be a very expensive call during the scale testing where we will have thousands of namespaces with tens of thousands objects - experienced this with cerberus where we fixed the function calls: https://github.com/redhat-chaos/cerberus/issues/67

In cerberus we just added PR to use the continue kubernetes python functionality https://github.com/redhat-chaos/cerberus/pull/167

Will need to use this for all places where we are getting list of pods, pvc, namespaces etc

paigerube14 avatar Aug 11 '22 16:08 paigerube14