Merge pull request #35724 from mtaufen/disable-cmount-for-e2e-node
Automatic merge from submit-queue Temporarily disable GCI mounter in e2e node tests This is just so we have an off-switch ready to go if we need it. Don't merge unless we need to disable this functionality in the e2e node tests.
This commit is contained in:
		@@ -278,7 +278,9 @@ func RunRemote(archive string, host string, cleanup bool, junitFilePrefix string
 | 
				
			|||||||
		// Insert args at beginning of testArgs, so any values from command line take precedence
 | 
							// Insert args at beginning of testArgs, so any values from command line take precedence
 | 
				
			||||||
		testArgs = fmt.Sprintf("--experimental-mounter-rootfs-path=%s ", mounterRootfsPath) + testArgs
 | 
							testArgs = fmt.Sprintf("--experimental-mounter-rootfs-path=%s ", mounterRootfsPath) + testArgs
 | 
				
			||||||
		testArgs = fmt.Sprintf("--experimental-mounter-path=%s ", mounterPath) + testArgs
 | 
							testArgs = fmt.Sprintf("--experimental-mounter-path=%s ", mounterPath) + testArgs
 | 
				
			||||||
		glog.Infof("GCI node and GCI mounter both detected, setting --experimental-mounter-path=%q and --experimental-mounter-rootfs-path=%q accordingly", mounterPath, mounterRootfsPath)
 | 
					
 | 
				
			||||||
 | 
							// Temporarily disabled (associated Kubelet flags commented out in k8s.io/kubernetes/test/e2e_node/services/services.go):
 | 
				
			||||||
 | 
							// glog.Infof("GCI node and GCI mounter both detected, setting --experimental-mounter-path=%q and --experimental-mounter-rootfs-path=%q accordingly", mounterPath, mounterRootfsPath)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Run the tests
 | 
						// Run the tests
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -211,8 +211,10 @@ func (e *E2EServices) startKubelet() (*server, error) {
 | 
				
			|||||||
		"--eviction-pressure-transition-period", "30s",
 | 
							"--eviction-pressure-transition-period", "30s",
 | 
				
			||||||
		"--feature-gates", framework.TestContext.FeatureGates,
 | 
							"--feature-gates", framework.TestContext.FeatureGates,
 | 
				
			||||||
		"--v", LOG_VERBOSITY_LEVEL, "--logtostderr",
 | 
							"--v", LOG_VERBOSITY_LEVEL, "--logtostderr",
 | 
				
			||||||
		"--experimental-mounter-path", framework.TestContext.MounterPath,
 | 
					
 | 
				
			||||||
		"--experimental-mounter-rootfs-path", framework.TestContext.MounterRootfsPath,
 | 
							// Temporarily disabled:
 | 
				
			||||||
 | 
							// "--experimental-mounter-path", framework.TestContext.MounterPath,
 | 
				
			||||||
 | 
							// "--experimental-mounter-rootfs-path", framework.TestContext.MounterRootfsPath,
 | 
				
			||||||
	)
 | 
						)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if framework.TestContext.RuntimeIntegrationType != "" {
 | 
						if framework.TestContext.RuntimeIntegrationType != "" {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user