Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for NodeV1 (0.16 sec)

  1. pkg/controlplane/instance.go

    	apiv1 "k8s.io/api/core/v1"
    	discoveryv1 "k8s.io/api/discovery/v1"
    	eventsv1 "k8s.io/api/events/v1"
    	networkingapiv1 "k8s.io/api/networking/v1"
    	networkingapiv1alpha1 "k8s.io/api/networking/v1alpha1"
    	nodev1 "k8s.io/api/node/v1"
    	policyapiv1 "k8s.io/api/policy/v1"
    	rbacv1 "k8s.io/api/rbac/v1"
    	resourcev1alpha2 "k8s.io/api/resource/v1alpha2"
    	schedulingapiv1 "k8s.io/api/scheduling/v1"
    	storageapiv1 "k8s.io/api/storage/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/upgrade/compute_test.go

    		return map[string][]string{
    			f.etcdVersion: {"node1"},
    		}, nil
    	}
    
    	if f.componentVersion == "" {
    		return nil, errors.New("get component version failed")
    	}
    
    	if f.componentVersion == "multiVersion" {
    		return map[string][]string{
    			"node1": {"node1"},
    			"node2": {"node2"},
    		}, nil
    	}
    
    	return map[string][]string{
    		f.componentVersion: {"node1"},
    	}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 08:39:51 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/preemption/preemption_test.go

    	// Prepare 4 nodes names.
    	nodeNames := []string{"node1", "node2", "node3", "node4"}
    	tests := []struct {
    		name          string
    		nodesStatuses framework.NodeToStatusMap
    		expected      sets.Set[string] // set of expected node names.
    	}{
    		{
    			name: "No node should be attempted",
    			nodesStatuses: framework.NodeToStatusMap{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. pkg/volume/util/util_test.go

    											Key:      v1.LabelHostname,
    											Operator: v1.NodeSelectorOpIn,
    											Values: []string{
    												"node1",
    											},
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    			},
    			expectedNodeNames: []string{
    				"node1",
    			},
    		},
    		{
    			name: "PV node affinity required single match expression with multiple nodes",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/storage/v1/types.go

    	// refer to a given node as "node1", but the storage system may refer to
    	// the same node as "nodeA". When Kubernetes issues a command to the storage
    	// system to attach a volume to a specific node, it can use this field to
    	// refer to the node name using the ID that the storage system will
    	// understand, e.g. "nodeA" instead of "node1". This field is required.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 32K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go

    			return []string{pod.Spec.NodeName}, nil
    		},
    	})
    	defer store.Stop()
    	// In background, update the store.
    	go func() {
    		store.Add(makeTestPodDetails("pod1", 2, "node1", map[string]string{"label": "value1"}))
    		store.Add(makeTestPodDetails("pod2", 3, "node1", map[string]string{"label": "value1"}))
    		store.Add(makeTestPodDetails("pod3", 5, "node2", map[string]string{"label": "value2"}))
    	}()
    
    	// list by empty MatchValues.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  7. pkg/scheduler/scheduler_test.go

    		testSchedulerProfile2 = "test-scheduler-profile-2"
    		testSchedulerProfile3 = "test-scheduler-profile-3"
    	)
    
    	nodes := []runtime.Object{
    		st.MakeNode().Name("node1").UID("node1").Obj(),
    		st.MakeNode().Name("node2").UID("node2").Obj(),
    		st.MakeNode().Name("node3").UID("node3").Obj(),
    	}
    
    	cases := []struct {
    		name                        string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
  8. pkg/volume/util/util.go

    // in the form of:
    //
    //	nodeAffinity:
    //	  required:
    //	    nodeSelectorTerms:
    //	    - matchExpressions:
    //	      - key: kubernetes.io/hostname
    //	        operator: In
    //	        values:
    //	        - <node1>
    //	        - <node2>
    func GetLocalPersistentVolumeNodeNames(pv *v1.PersistentVolume) []string {
    	if pv == nil || pv.Spec.NodeAffinity == nil || pv.Spec.NodeAffinity.Required == nil {
    		return nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
Back to top