mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Pods should see services only from their own ns
This commit is contained in:
		@@ -192,13 +192,13 @@ func startComponents(manifestURL string) (apiServerURL string) {
 | 
			
		||||
	// Kubelet (localhost)
 | 
			
		||||
	testRootDir := makeTempDirOrDie("kubelet_integ_1.")
 | 
			
		||||
	glog.Infof("Using %s as root dir for kubelet #1", testRootDir)
 | 
			
		||||
	standalone.SimpleRunKubelet(cl, etcdClient, &fakeDocker1, machineList[0], testRootDir, manifestURL, "127.0.0.1", 10250)
 | 
			
		||||
	standalone.SimpleRunKubelet(cl, etcdClient, &fakeDocker1, machineList[0], testRootDir, manifestURL, "127.0.0.1", 10250, api.NamespaceDefault)
 | 
			
		||||
	// Kubelet (machine)
 | 
			
		||||
	// Create a second kubelet so that the guestbook example's two redis slaves both
 | 
			
		||||
	// have a place they can schedule.
 | 
			
		||||
	testRootDir = makeTempDirOrDie("kubelet_integ_2.")
 | 
			
		||||
	glog.Infof("Using %s as root dir for kubelet #2", testRootDir)
 | 
			
		||||
	standalone.SimpleRunKubelet(cl, etcdClient, &fakeDocker2, machineList[1], testRootDir, "", "127.0.0.1", 10251)
 | 
			
		||||
	standalone.SimpleRunKubelet(cl, etcdClient, &fakeDocker2, machineList[1], testRootDir, "", "127.0.0.1", 10251, api.NamespaceDefault)
 | 
			
		||||
 | 
			
		||||
	return apiServer.URL
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user