- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 359 for labelSelectors (0.23 sec)
-
pilot/pkg/networking/core/listener.go
// A Kubernetes service with no endpoints means there are no endpoints at // all, so don't bother sending, as traffic will never work. If we did // send a wildcard listener, we may get into a situation where a scale // down leads to a listener conflict. Similarly, if we have a // labelSelector on the Service, then this may have endpoints not yet
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 55.1K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.27.md
- `LabelSelectors` specified in `topologySpreadConstraints` were validated to ensure that pods are scheduled as expected. Existing pods with invalid `LabelSelectors` could be updated, but new pods were required to specify valid `LabelSelectors`. ([#111802](https://github.com/kubernetes/kubernetes/pull/111802), [@maaoBit](https://github.com/maaoBit))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 23:01:06 UTC 2024 - 455.3K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_test.go
extSvcSelector := buildServiceWithPort("example2.com", 9999, protocol.TCP, tnow) extSvcSelector.Resolution = model.Passthrough extSvcSelector.Attributes.ServiceRegistry = provider.External extSvcSelector.Attributes.LabelSelectors = map[string]string{"foo": "bar"} tests := []struct { name string instances []*model.ServiceInstance services []*model.Service
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 93.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching_test.go
expectMatches: false, }, { name: "wildcard rule, match as requested", criteria: &v1.MatchResources{ NamespaceSelector: &metav1.LabelSelector{}, ObjectSelector: &metav1.LabelSelector{}, ResourceRules: []v1.NamedRuleWithOperations{{ RuleWithOperations: v1.RuleWithOperations{ Operations: []v1.OperationType{"*"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 38.2K bytes - Viewed (0) -
pkg/apis/admissionregistration/v1/defaults_test.go
Webhooks: []v1.ValidatingWebhook{{ FailurePolicy: &fail, MatchPolicy: &equivalent, TimeoutSeconds: &ten, NamespaceSelector: &metav1.LabelSelector{}, ObjectSelector: &metav1.LabelSelector{}, }}, }, }, { name: "MutatingWebhookConfiguration", original: &v1.MutatingWebhookConfiguration{ Webhooks: []v1.MutatingWebhook{{}}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 5.9K bytes - Viewed (0) -
pkg/api/pod/warnings_test.go
{ TopologyKey: `foo`, LabelSelector: &metav1.LabelSelector{}, }, { TopologyKey: `beta.kubernetes.io/arch`, LabelSelector: &metav1.LabelSelector{}, }, { TopologyKey: `beta.kubernetes.io/os`, LabelSelector: &metav1.LabelSelector{}, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 42.1K bytes - Viewed (0) -
pkg/config/schema/kubeclient/common.go
options.FieldSelector = opts.FieldSelector options.LabelSelector = opts.LabelSelector return c.Dynamic().Resource(g).Namespace(opts.Namespace).List(context.Background(), options) }, WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) { options.FieldSelector = opts.FieldSelector options.LabelSelector = opts.LabelSelector
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 16:38:40 UTC 2024 - 8.1K bytes - Viewed (0) -
pkg/apis/apps/validation/validation_test.go
Selector: &metav1.LabelSelector{MatchLabels: validSelector}, Template: validPodTemplate.Template, UpdateStrategy: apps.DaemonSetUpdateStrategy{ Type: apps.OnDeleteDaemonSetStrategyType, }, }, }, { ObjectMeta: metav1.ObjectMeta{Name: "abc-123", Namespace: metav1.NamespaceDefault}, Spec: apps.DaemonSetSpec{ Selector: &metav1.LabelSelector{MatchLabels: validSelector},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 111.9K bytes - Viewed (0) -
pkg/apis/admissionregistration/v1/defaults.go
policy := admissionregistrationv1.Equivalent obj.MatchPolicy = &policy } if obj.NamespaceSelector == nil { selector := metav1.LabelSelector{} obj.NamespaceSelector = &selector } if obj.ObjectSelector == nil { selector := metav1.LabelSelector{} obj.ObjectSelector = &selector } if obj.TimeoutSeconds == nil { obj.TimeoutSeconds = new(int32) *obj.TimeoutSeconds = 10 } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 3.5K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
return fmt.Errorf("failed to create k8s client: %v", err) } var podName, ns string if labelSelector != "" { pl, err := kubeClient.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.Namespace()), labelSelector) if err != nil { return fmt.Errorf("not able to locate pod with selector %s: %v", labelSelector, err) } if len(pl.Items) < 1 { return errors.New("no pods found") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 01:29:35 UTC 2024 - 20.5K bytes - Viewed (0)