Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 530 for LabelSelector (0.14 sec)

  1. pkg/apis/apps/v1beta1/defaults_test.go

    						Type:          appsv1beta1.OnDeleteStatefulSetStrategyType,
    						RollingUpdate: nil,
    					},
    					RevisionHistoryLimit: ptr.To[int32](10),
    					Selector: &metav1.LabelSelector{
    						MatchLabels:      map[string]string{"foo": "bar"},
    						MatchExpressions: []metav1.LabelSelectorRequirement{},
    					},
    				},
    			},
    		},
    		{
    			name: "Alternate update strategy",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. pkg/api/pod/warnings.go

    				t.TopologyKey,
    				msg,
    			))
    		}
    
    		// warn if labelSelector is empty which is no-match.
    		if t.LabelSelector == nil {
    			warnings = append(warnings, fmt.Sprintf("%s: a null labelSelector results in matching no pod", fieldPath.Child("spec", "topologySpreadConstraints").Index(i).Child("labelSelector")))
    		}
    	}
    
    	// use of deprecated annotations
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. pkg/registry/networking/networkpolicy/strategy_test.go

    		Spec: networking.NetworkPolicySpec{
    			PodSelector: metav1.LabelSelector{
    				MatchLabels: map[string]string{"a": "b"},
    			},
    		},
    	}
    	egress := networking.NetworkPolicyEgressRule{
    		To: []networking.NetworkPolicyPeer{
    			{
    				NamespaceSelector: &metav1.LabelSelector{
    					MatchLabels: map[string]string{"c": "d"},
    				},
    			},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/zz_generated.deepcopy.go

    func (in *ListOptions) DeepCopyInto(out *ListOptions) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	if in.LabelSelector != nil {
    		out.LabelSelector = in.LabelSelector.DeepCopySelector()
    	}
    	if in.FieldSelector != nil {
    		out.FieldSelector = in.FieldSelector.DeepCopySelector()
    	}
    	if in.TimeoutSeconds != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:25 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. pkg/registry/core/pod/storage/eviction_test.go

    			pdbs: []runtime.Object{&policyv1.PodDisruptionBudget{
    				ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "default"},
    				Spec:       policyv1.PodDisruptionBudgetSpec{Selector: &metav1.LabelSelector{MatchLabels: map[string]string{"a": "true"}}},
    				Status:     policyv1.PodDisruptionBudgetStatus{DisruptionsAllowed: 0},
    			}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  6. manifests/charts/gateways/istio-ingress/templates/_affinity.tpl

        {{- end }}
    {{- end }}
    {{- end }}
    
    {{- define "podAntiAffinityRequiredDuringScheduling" }}
        {{- range $index, $item := .podAntiAffinityLabelSelector }}
        - labelSelector:
            matchExpressions:
            - key: {{ $item.key }}
              operator: {{ $item.operator }}
              {{- if $item.values }}
              values:
              {{- $vals := split "," $item.values }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 10 21:23:08 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/util.go

    	webhooks, err := client.AdmissionregistrationV1().MutatingWebhookConfigurations().List(ctx, metav1.ListOptions{
    		LabelSelector: label.IoIstioRev.Name,
    	})
    	if err != nil {
    		return nil, err
    	}
    	return webhooks.Items, nil
    }
    
    // GetWebhooksWithTag returns webhooks tagged with istio.io/tag=<tag>.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 17:43:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. pkg/kube/inject/webhook_test.go

    			},
    			podSpec: podSpec,
    			meta: metav1.ObjectMeta{
    				Name:      "policy-disabled-always-inject-with-labels",
    				Namespace: "test-namespace",
    				Labels:    map[string]string{"foo": "bar"},
    			},
    			want: true,
    		},
    		{
    			config: &Config{
    				Policy:              InjectionPolicyEnabled,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 39K bytes
    - Viewed (1)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/policies.go

    			return nil
    		}
    		meshCfg := krt.FetchOne(ctx, MeshConfig.AsCollection())
    		// If there are any PeerAuthentications in our cache, send our static STRICT policy
    		return &model.WorkloadAuthorization{
    			LabelSelector: model.LabelSelector{},
    			Authorization: &security.Authorization{
    				Name:      staticStrictPolicyName,
    				Namespace: meshCfg.GetRootNamespace(),
    				Scope:     security.Scope_WORKLOAD_SELECTOR,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. pkg/registry/apps/daemonset/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: Tue Nov 08 01:52:02 UTC 2022
    - 4.7K bytes
    - Viewed (0)
Back to top