mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
set numberOfWorkers for netpol suite to the ideal value (3) that is non-disruptive
This commit is contained in:
parent
e765ab2e7e
commit
ba0a87015a
@ -42,7 +42,7 @@ type ProbeJobResults struct {
|
|||||||
|
|
||||||
// ProbePodToPodConnectivity runs a series of probes in kube, and records the results in `testCase.Reachability`
|
// ProbePodToPodConnectivity runs a series of probes in kube, and records the results in `testCase.Reachability`
|
||||||
func ProbePodToPodConnectivity(k8s *kubeManager, model *Model, testCase *TestCase) {
|
func ProbePodToPodConnectivity(k8s *kubeManager, model *Model, testCase *TestCase) {
|
||||||
numberOfWorkers := 30
|
numberOfWorkers := 3 // See https://github.com/kubernetes/kubernetes/pull/97690
|
||||||
allPods := model.AllPods()
|
allPods := model.AllPods()
|
||||||
size := len(allPods) * len(allPods)
|
size := len(allPods) * len(allPods)
|
||||||
jobs := make(chan *ProbeJob, size)
|
jobs := make(chan *ProbeJob, size)
|
||||||
|
Loading…
Reference in New Issue
Block a user