Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 53 for LabelSelector (0.17 sec)

  1. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      // See
      // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
      // for more examples of label selectors.
      //
      // Default to the empty LabelSelector, which matches everything.
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector namespaceSelector = 1;
    
      // ObjectSelector decides whether to run the validation based on if the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/admissionregistration/v1/types.go

    	// }
    	//
    	// See
    	// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
    	// for more examples of label selectors.
    	//
    	// Default to the empty LabelSelector, which matches everything.
    	// +optional
    	NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty" protobuf:"bytes,1,opt,name=namespaceSelector"`
    	// ObjectSelector decides whether to run the validation based on if the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  3. operator/pkg/apis/istio/v1alpha1/values_types.proto

      //  “security” and value “S1”.
      repeated k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector podAntiAffinityLabelSelector = 12 [deprecated = true];
    
      // See PodAntiAffinityLabelSelector.
      repeated k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector podAntiAffinityTermLabelSelector = 13 [deprecated = true];
    
      // Ports Configuration for the egress gateway service.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	servicesEqual(svcList, expectedSvcList)
    }
    
    func TestController_ServiceWithFixedDiscoveryNamespaces(t *testing.T) {
    	meshWatcher := mesh.NewFixedWatcher(&meshconfig.MeshConfig{
    		DiscoverySelectors: []*meshconfig.LabelSelector{
    			{
    				MatchLabels: map[string]string{
    					"pilot-discovery": "enabled",
    				},
    			},
    			{
    				MatchExpressions: []*meshconfig.LabelSelectorRequirement{
    					{
    						Key:      "env",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/apps/v1/types.go

    	// It must match the pod template's labels.
    	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
    	Selector *metav1.LabelSelector `json:"selector" protobuf:"bytes,2,opt,name=selector"`
    
    	// template is the object that describes the pod that will be created if
    	// insufficient replicas are detected. Each pod stamped out by the StatefulSet
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    			},
    			pdbs: []*policy.PodDisruptionBudget{
    				{
    					Spec:   policy.PodDisruptionBudgetSpec{Selector: &metav1.LabelSelector{MatchLabels: map[string]string{"app": "foo"}}},
    					Status: policy.PodDisruptionBudgetStatus{DisruptionsAllowed: 1},
    				},
    			},
    			expected: [][]candidate{
    				{
    					candidate{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  7. pkg/controller/replicaset/replica_set_test.go

    				{UID: "123", Controller: &isController},
    			},
    			ResourceVersion: "18",
    		},
    		Spec: apps.ReplicaSetSpec{
    			Replicas: pointer.Int32(int32(replicas)),
    			Selector: &metav1.LabelSelector{MatchLabels: selectorMap},
    			Template: v1.PodTemplateSpec{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{
    						"name": "foo",
    						"type": "production",
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  8. pkg/apis/storage/validation/validation_test.go

    				capacity := goodCapacity
    				capacity.NodeTopology = &metav1.LabelSelector{}
    				return &capacity
    			}(),
    		},
    		"bad-topology-fields": {
    			isExpectedFailure: true,
    			capacity: func() *storage.CSIStorageCapacity {
    				capacity := goodCapacity
    				capacity.NodeTopology = &metav1.LabelSelector{
    					MatchExpressions: []metav1.LabelSelectorRequirement{{
    						Key:      "foo",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  9. pkg/controller/statefulset/stateful_set_utils_test.go

    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      name,
    			Namespace: v1.NamespaceDefault,
    			UID:       types.UID("test"),
    		},
    		Spec: apps.StatefulSetSpec{
    			Selector: &metav1.LabelSelector{
    				MatchLabels: map[string]string{"foo": "bar"},
    			},
    			Replicas:             ptr.To(replicas),
    			Template:             template,
    			VolumeClaimTemplates: claims,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  10. pkg/controller/daemon/daemon_controller.go

    	}
    
    	nodeList, err := dsc.nodeLister.List(labels.Everything())
    	if err != nil {
    		return fmt.Errorf("couldn't get list of nodes when syncing daemon set %#v: %v", ds, err)
    	}
    
    	everything := metav1.LabelSelector{}
    	if reflect.DeepEqual(ds.Spec.Selector, &everything) {
    		dsc.eventRecorder.Eventf(ds, v1.EventTypeWarning, SelectingAllReason, "This daemon set is selecting all pods. A non-empty selector is required.")
    		return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
Back to top