vmware / weathervane

Virtual-Infrastructure and Cloud Performance Benchmark
Other
153 stars 39 forks source link

update kubernetesDeleteAllForCluster to operate based on namespace co… #173

Closed bhoflich closed 4 years ago

bhoflich commented 4 years ago

…nfig values

Before this change, for cleanup at the beginning of the run, pods in namespaces specified: -by "namespaces" were not being deleted if they did not match the "auctionw.*" format. -with non default prefixes were not being deleted. -with suffixes were being deleted if they started with "auctionw" but did not match the default (empty) suffix. -etc

Note, now, in some cases, less pods will be cleaned up -- when users are actively modifying the namespace config values between runs where pods are still up (like those runs that were terminated early or didn't stop cleanly).

Signed-off-by: Benjamin Hoflich 45051453+bhoflich@users.noreply.github.com