Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for NodeName (0.18 sec)

  1. pkg/controller/podgc/gc_controller_test.go

    				{name: "c2", phase: v1.PodPending, nodeName: "worker-1"},
    				{name: "d2", phase: v1.PodRunning, nodeName: "worker-1"},
    				{name: "e2", phase: v1.PodUnknown, nodeName: "worker-1"},
    
    				// pods a3, b3, c3, d3 and e3 are on node worker-2
    				{name: "a3", nodeName: "worker-2"},
    				{name: "b3", deletionTimeStamp: &metav1.Time{}, nodeName: "worker-2"},
    				{name: "c3", phase: v1.PodPending, nodeName: "worker-2"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/informers_test.go

    )
    
    func TestExistingPodAddedWhenNsLabeled(t *testing.T) {
    	setupLogging()
    	NodeName = "testnode"
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    		Status: corev1.PodStatus{
    			PodIP: "11.1.1.12",
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. pkg/volume/util/operationexecutor/operation_executor.go

    	// IsOperationPending returns true if an operation for the given volumeName
    	// and one of podName or nodeName is pending, otherwise it returns false
    	IsOperationPending(volumeName v1.UniqueVolumeName, podName volumetypes.UniquePodName, nodeName types.NodeName) bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. pkg/volume/testing/volume_host.go

    	host := &fakeVolumeHost{rootDir: rootDir, kubeClient: kubeClient, nodeName: nodeName, csiDriverLister: driverLister, volumeAttachmentLister: volumeAttachLister}
    	host.mounter = mount.NewFakeMounter(nil)
    	host.hostUtil = hostutil.NewFakeHostUtil(pathToTypeMap)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/apiclient/wait.go

    }
    
    // getStaticPodSingleHash computes hashes for a single Static Pod resource
    func getStaticPodSingleHash(client clientset.Interface, nodeName string, component string) (string, error) {
    
    	staticPodName := fmt.Sprintf("%s-%s", component, nodeName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. pkg/volume/util/operationexecutor/operation_executor_test.go

    	pdName := "pd-volume"
    
    	// Act
    	for i := range volumesToAttach {
    		volumesToAttach[i] = VolumeToAttach{
    			VolumeName: v1.UniqueVolumeName(pdName),
    			NodeName:   types.NodeName(fmt.Sprintf("node%d", i)),
    			VolumeSpec: &volume.Spec{
    				PersistentVolume: &v1.PersistentVolume{
    					Spec: v1.PersistentVolumeSpec{
    						AccessModes: []v1.PersistentVolumeAccessMode{v1.ReadWriteOnce},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  7. pkg/kubelet/volumemanager/reconciler/reconciler_common.go

    func NewReconciler(
    	kubeClient clientset.Interface,
    	controllerAttachDetachEnabled bool,
    	loopSleepDuration time.Duration,
    	waitForAttachTimeout time.Duration,
    	nodeName types.NodeName,
    	desiredStateOfWorld cache.DesiredStateOfWorld,
    	actualStateOfWorld cache.ActualStateOfWorld,
    	populatorHasAddedPods func() bool,
    	operationExecutor operationexecutor.OperationExecutor,
    	mounter mount.Interface,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. cmd/kubemark/app/hollow_node.go

    		return bootstrap.LoadClientCert(context.TODO(), c.KubeconfigPath, c.BootstrapKubeconfigPath, c.CertDirectory, types.NodeName(c.NodeName))
    	}
    	return nil
    }
    
    func (c *hollowNodeConfig) createHollowKubeletOptions() *kubemark.HollowKubeletOptions {
    	return &kubemark.HollowKubeletOptions{
    		NodeName:            c.NodeName,
    		KubeletPort:         c.KubeletPort,
    		KubeletReadOnlyPort: c.KubeletReadOnlyPort,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    					ResourceVersion: 2,
    				},
    				{
    					Type:            watch.Modified,
    					PrevObject:      &v1.Pod{ObjectMeta: metav1.ObjectMeta{ResourceVersion: "2"}},
    					PrevObjFields:   fields.Set{"spec.nodeName": ""},
    					Object:          &v1.Pod{ObjectMeta: metav1.ObjectMeta{ResourceVersion: "3"}},
    					ObjFields:       fields.Set{"spec.nodeName": "host"},
    					ResourceVersion: 3,
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  10. pkg/controller/daemon/update.go

    				// record the replacement
    				if allowedNewNodes == nil {
    					allowedNewNodes = make([]string, 0, len(nodeToDaemonPods))
    				}
    				allowedNewNodes = append(allowedNewNodes, nodeName)
    			default:
    				node, err := dsc.nodeLister.Get(nodeName)
    				if err != nil {
    					return fmt.Errorf("couldn't get node for nodeName %q: %v", nodeName, err)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
Back to top