Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 359 for labelSelectors (0.26 sec)

  1. pkg/test/framework/components/istio/ingress.go

    	Service types.NamespacedName
    	// LabelSelector is the value for the label on the ingress kubernetes objects
    	LabelSelector string
    
    	// Cluster to be used in a multicluster environment
    	Cluster cluster.Cluster
    }
    
    func newIngress(ctx resource.Context, cfg ingressConfig) (i ingress.Instance) {
    	if cfg.LabelSelector == "" {
    		cfg.LabelSelector = defaultIngressIstioLabel
    	}
    	c := &ingressImpl{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 17:13:34 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. pkg/scheduler/testing/wrappers.go

    	return &s.NodeSelector
    }
    
    // LabelSelectorWrapper wraps a LabelSelector inside.
    type LabelSelectorWrapper struct{ metav1.LabelSelector }
    
    // MakeLabelSelector creates a LabelSelector wrapper.
    func MakeLabelSelector() *LabelSelectorWrapper {
    	return &LabelSelectorWrapper{metav1.LabelSelector{}}
    }
    
    // Label applies a {k,v} pair to the inner LabelSelector.
    func (s *LabelSelectorWrapper) Label(k, v string) *LabelSelectorWrapper {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  3. pkg/config/schema/codegen/templates/clients.go.tmpl

    					options.FieldSelector = opts.FieldSelector
    					options.LabelSelector = opts.LabelSelector
    					return l(options)
    				},
    				WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
    					options.FieldSelector = opts.FieldSelector
    					options.LabelSelector = opts.LabelSelector
    					return w(options)
    				},
    			},
    			gvrToObject(g),
    			0,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 13:57:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  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. 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)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go

    	GetMatchPolicy() *v1.MatchPolicyType
    	// GetNamespaceSelector gets the webhook NamespaceSelector field.
    	GetNamespaceSelector() *metav1.LabelSelector
    	// GetObjectSelector gets the webhook ObjectSelector field.
    	GetObjectSelector() *metav1.LabelSelector
    	// GetSideEffects gets the webhook SideEffects field.
    	GetSideEffects() *v1.SideEffectClass
    	// GetTimeoutSeconds gets the webhook TimeoutSeconds field.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. pkg/quota/v1/evaluator/core/pods_test.go

    					Affinity: &api.Affinity{
    						PodAffinity: &api.PodAffinity{
    							RequiredDuringSchedulingIgnoredDuringExecution: []api.PodAffinityTerm{
    								{LabelSelector: &metav1.LabelSelector{}, Namespaces: []string{"ns1"}, NamespaceSelector: &metav1.LabelSelector{}},
    							},
    						},
    					},
    				},
    			},
    			wantSelectors: []corev1.ScopedResourceSelectorRequirement{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.6K bytes
    - Viewed (0)
Back to top