Merge pull request #97702 from jayunit100/patch-21

set numberOfWorkers for netpol suite to the ideal value (3) that is n…
This commit is contained in:
Kubernetes Prow Robot 2021-01-07 14:08:54 -08:00 committed by GitHub
commit 611aff9221
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ type ProbeJobResults struct {
// ProbePodToPodConnectivity runs a series of probes in kube, and records the results in `testCase.Reachability`
func ProbePodToPodConnectivity(k8s *kubeManager, model *Model, testCase *TestCase) {
numberOfWorkers := 30
numberOfWorkers := 3 // See https://github.com/kubernetes/kubernetes/pull/97690
allPods := model.AllPods()
size := len(allPods) * len(allPods)
jobs := make(chan *ProbeJob, size)