Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 116 for LabelSelector (0.26 sec)

  1. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.ListOptions.yaml

    allowWatchBookmarks: true
    apiVersion: v1
    continue: continueValue
    fieldSelector: fieldSelectorValue
    kind: ListOptions
    labelSelector: labelSelectorValue
    limit: 7
    resourceVersion: resourceVersionValue
    resourceVersionMatch: resourceVersionMatchValue
    sendInitialEvents: true
    timeoutSeconds: 5
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 300 bytes
    - Viewed (0)
  2. hack/testdata/rollingupdate-daemonset.yaml

      template:
        metadata:
          labels:
            service: bind
        spec:
          affinity:
            podAntiAffinity:
              requiredDuringSchedulingIgnoredDuringExecution:
                - labelSelector:
                    matchExpressions:
                    - key: "service"
                      operator: "In"
                      values: ["bind"]
                  topologyKey: "kubernetes.io/hostname"
                  namespaces: []
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 735 bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.ListOptions.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 376 bytes
    - Viewed (0)
  4. hack/testdata/rollingupdate-daemonset-rv2.yaml

      template:
        metadata:
          labels:
            service: bind
        spec:
          affinity:
            podAntiAffinity:
              requiredDuringSchedulingIgnoredDuringExecution:
                - labelSelector:
                    matchExpressions:
                    - key: "service"
                      operator: "In"
                      values: ["bind"]
                  topologyKey: "kubernetes.io/hostname"
                  namespaces: []
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 802 bytes
    - Viewed (0)
  5. pkg/api/storage/util_test.go

    			},
    			expected: nil,
    		},
    		{
    			name: "MatchLabels warning",
    			template: &storage.CSIStorageCapacity{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "foo",
    				},
    				NodeTopology: &metav1.LabelSelector{
    					MatchLabels: map[string]string{
    						"beta.kubernetes.io/arch": "amd64",
    						"beta.kubernetes.io/os":   "linux",
    					},
    				},
    			},
    			expected: []string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/injection/image-auto.go

    			return true
    		}
    	}
    	return false
    }
    
    func selectorMatches(selector *metav1.LabelSelector, labels klabels.Set) bool {
    	// From webhook spec: "Default to the empty LabelSelector, which matchesWebhooks everything."
    	if selector == nil {
    		return true
    	}
    	s, err := metav1.LabelSelectorAsSelector(selector)
    	if err != nil {
    		return false
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_matcher.go

    }
    
    // GetParsedNamespaceSelector returns the converted LabelSelector which implements labels.Selector
    func (m *matchCriteria) GetParsedNamespaceSelector() (labels.Selector, error) {
    	return metav1.LabelSelectorAsSelector(m.constraints.NamespaceSelector)
    }
    
    // GetParsedObjectSelector returns the converted LabelSelector which implements labels.Selector
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. pkg/registry/apps/deployment/strategy_test.go

    			map[string]string{"c": "d"},
    			field.ErrorList{
    				&field.Error{
    					Type:  field.ErrorTypeInvalid,
    					Field: field.NewPath("spec").Child("selector").String(),
    					BadValue: &metav1.LabelSelector{
    						MatchLabels:      map[string]string{"c": "d"},
    						MatchExpressions: []metav1.LabelSelectorRequirement{},
    					},
    					Detail: "field is immutable",
    				},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:17:45 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  9. pkg/kube/informerfactory/factory.go

    	f.lock.Lock()
    	defer f.lock.Unlock()
    
    	key := informerKey{
    		gvr:           resource,
    		labelSelector: opts.LabelSelector,
    		fieldSelector: opts.FieldSelector,
    		informerType:  opts.InformerType,
    		namespace:     opts.Namespace,
    	}
    	inf, exists := f.informers[key]
    	if exists {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/validator.go

    	}
    
    	// validate labelSelector
    	if scale.LabelSelectorPath != nil {
    		labelSelectorPath := strings.TrimPrefix(*scale.LabelSelectorPath, ".") // ignore leading period
    		labelSelector, _, err := unstructured.NestedString(obj.UnstructuredContent(), strings.Split(labelSelectorPath, ".")...)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 14:00:05 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top