mirror of
				https://github.com/k3s-io/kubernetes.git
				synced 2025-11-03 23:40:03 +00:00 
			
		
		
		
	Merge pull request #90486 from aojea/iperf
Fix e2e network performance test
This commit is contained in:
		@@ -72,8 +72,8 @@ func networkingIPerfTest(isIPv6 bool) {
 | 
			
		||||
					Containers: []v1.Container{{
 | 
			
		||||
						Name:    "iperf-server",
 | 
			
		||||
						Image:   imageutils.GetE2EImage(imageutils.Agnhost),
 | 
			
		||||
						Command: []string{"/bin/sh"},
 | 
			
		||||
						Args: []string{
 | 
			
		||||
							"/bin/sh",
 | 
			
		||||
							"-c",
 | 
			
		||||
							"/usr/local/bin/iperf " + familyStr + "-s -p 8001 ",
 | 
			
		||||
						},
 | 
			
		||||
@@ -102,8 +102,8 @@ func networkingIPerfTest(isIPv6 bool) {
 | 
			
		||||
						{
 | 
			
		||||
							Name:    "iperf-client",
 | 
			
		||||
							Image:   imageutils.GetE2EImage(imageutils.Agnhost),
 | 
			
		||||
							Command: []string{"/bin/sh"},
 | 
			
		||||
							Args: []string{
 | 
			
		||||
								"/bin/sh",
 | 
			
		||||
								"-c",
 | 
			
		||||
								"/usr/local/bin/iperf " + familyStr + "-c service-for-" + appName + " -p 8002 --reportstyle C && sleep 5",
 | 
			
		||||
							},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user