Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 81 for matchLabels (0.22 sec)

  1. pkg/controller/statefulset/stateful_set_utils_test.go

    			UID:       uid,
    		},
    		Spec: apps.StatefulSetSpec{
    			Selector: &metav1.LabelSelector{
    				// Purposely leaving MatchLabels nil, so to ensure it will break if any link
    				// in the chain ignores the set-based MatchExpressions.
    				MatchLabels:      nil,
    				MatchExpressions: testMatchExpressions,
    			},
    			Replicas: ptr.To(replicas),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  2. 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",
    					},
    				},
    				Spec: v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  3. pilot/pkg/model/push_context_test.go

    			Spec: &extensions.WasmPlugin{
    				Phase:    extensions.PluginPhase_AUTHN,
    				Priority: &wrapperspb.Int32Value{Value: 5},
    				Selector: &selectorpb.WorkloadSelector{
    					MatchLabels: map[string]string{
    						"istio": "ingressgateway",
    					},
    				},
    			},
    		},
    		"authn-med-prio-all": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    			matched := true
    
    			for k, v := range paramRef.Selector.MatchLabels {
    				if l, hasLabel := ls[k]; !hasLabel {
    					matched = false
    					break
    				} else if l != v {
    					matched = false
    					break
    				}
    			}
    
    			// Empty selector matches everything
    			if len(paramRef.Selector.MatchExpressions) == 0 && len(paramRef.Selector.MatchLabels) == 0 {
    				matched = true
    			}
    
    			if !matched {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  5. pilot/pkg/model/sidecar_test.go

    		Meta: config.Meta{
    			Name:      "drRule1",
    			Namespace: "mynamespace",
    		},
    		Spec: &networking.DestinationRule{
    			Host: "httpbin.org",
    			WorkloadSelector: &v1beta1.WorkloadSelector{
    				MatchLabels: map[string]string{"app": "app1"},
    			},
    			TrafficPolicy: &networking.TrafficPolicy{
    				ConnectionPool: &networking.ConnectionPoolSettings{
    					Http: &networking.ConnectionPoolSettings_HTTPSettings{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  6. tests/integration/ambient/baseline_test.go

    					"Namespace":   apps.Namespace.Name(),
    				}, `
    apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
      name: global-strict
    spec:
      selector:
        matchLabels:
          app: "{{ .Destination }}"
      mtls:
        mode: STRICT
      portLevelMtls:
        8080:
          mode: PERMISSIVE
    				`).ApplyOrFail(t)
    				opt = opt.DeepCopy()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    // A label selector is a label query over a set of resources. The result of matchLabels and
    // matchExpressions are ANDed. An empty label selector matches all objects. A null
    // label selector matches no objects.
    // +structType=atomic
    type LabelSelector struct {
    	// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
    	// map is equivalent to an element of matchExpressions, whose key field is "key", the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (0)
  8. 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{
    						victims: &extenderv1.Victims{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  9. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

    }
    
    // A label selector is a label query over a set of resources. The result of matchLabels and
    // matchExpressions are ANDed. An empty label selector matches all objects. A null
    // label selector matches no objects.
    // +structType=atomic
    message LabelSelector {
      // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
      // map is equivalent to an element of matchExpressions, whose key field is "key", the
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

    }
    
    // A label selector is a label query over a set of resources. The result of matchLabels and
    // matchExpressions are ANDed. An empty label selector matches all objects. A null
    // label selector matches no objects.
    // +structType=atomic
    message LabelSelector {
      // matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
      // map is equivalent to an element of matchExpressions, whose key field is "key", the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 53.7K bytes
    - Viewed (0)
Back to top