- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 590 for labelSelectors (0.15 sec)
-
cni/pkg/config/config.go
b.WriteString("InitTerminationMsg: " + c.InitTerminationMsg + "\n") b.WriteString("InitExitCode: " + fmt.Sprint(c.InitExitCode) + "\n") b.WriteString("LabelSelectors: " + c.LabelSelectors + "\n") b.WriteString("FieldSelectors: " + c.FieldSelectors + "\n") return b.String()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 5.9K bytes - Viewed (0) -
pilot/pkg/model/service.go
out.Labels[k] = v } } if s.ExportTo != nil { out.ExportTo = s.ExportTo.Copy() } if s.LabelSelectors != nil { out.LabelSelectors = make(map[string]string, len(s.LabelSelectors)) for k, v := range s.LabelSelectors { out.LabelSelectors[k] = v } } out.ClusterExternalAddresses = s.ClusterExternalAddresses.DeepCopy() if s.ClusterExternalPorts != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 46.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/conversion.go
// alpha.istio.io/kubernetes-serviceaccounts. SubjectAltNames: svc.ServiceAccounts, } if len(svc.Attributes.LabelSelectors) > 0 { se.WorkloadSelector = &networking.WorkloadSelector{Labels: svc.Attributes.LabelSelectors} } // Based on networking.istio.io/exportTo annotation for k := range svc.Attributes.ExportTo { // k is Private or Public
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 16.9K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go
{Name: "node-b", Score: 20}, {Name: "node-c", Score: 60}, {Name: "node-d", Score: 100}, }, enableMatchLabelKeys: false, }, { name: "matchLabelKeys ANDed with LabelSelector when LabelSelector is empty", pod: st.MakePod().Name("p").Label("foo", "").Label("bar", ""). SpreadConstraint(1, "zone", v1.ScheduleAnyway, st.MakeLabelSelector().Obj(), nil, nil, nil, []string{"foo"}).
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 60K bytes - Viewed (0) -
pkg/kube/namespace/filter.go
func (d *discoveryNamespacesFilter) selectorsChanged( discoverySelectors []*meshapi.LabelSelector, notify bool, ) { d.lock.Lock() defer d.lock.Unlock() var selectors []labels.Selector newDiscoveryNamespaces := sets.New[string]() namespaceList := d.namespaces.List("", labels.Everything()) // convert LabelSelectors to Selectors for _, selector := range discoverySelectors {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 10 17:12:52 UTC 2024 - 9.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/conversion_test.go
t.Fatalf("service IPs incorrect => %q, want %q", actualIPs, expectedIPs) } if !reflect.DeepEqual(service.Attributes.LabelSelectors, localSvc.Spec.Selector) { t.Fatalf("service label selectors incorrect => %q, want %q", service.Attributes.LabelSelectors, localSvc.Spec.Selector) } sa := service.ServiceAccounts if sa == nil || len(sa) != 4 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 12.7K bytes - Viewed (0) -
pkg/kube/krt/internal.go
if ok { return ac.Labels } panic(fmt.Sprintf("No Labels, got %T", a)) } // getLabelSelector returns the labels for an object, if possible. // Warning: this will panic if the labelSelectors is not available. func getLabelSelector(a any) map[string]string { ak, ok := a.(LabelSelectorer) if ok { return ak.GetLabelSelector() } val := reflect.ValueOf(a) if val.Kind() == reflect.Ptr {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 5.6K bytes - Viewed (0) -
pkg/kube/krt/core.go
type Equaler[K any] interface { Equals(k K) bool } // LabelSelectorer is an optional interface that can be implemented by collection types. // If implemented, this will be used to determine an objects' LabelSelectors type LabelSelectorer interface { GetLabelSelector() map[string]string } // Labeler is an optional interface that can be implemented by collection types.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 6.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/conversion.go
Attributes: model.ServiceAttributes{ ServiceRegistry: provider.Kubernetes, Name: svc.Name, Namespace: svc.Namespace, Labels: svc.Labels, ExportTo: exportTo, LabelSelectors: svc.Spec.Selector, }, } switch svc.Spec.Type { case corev1.ServiceTypeNodePort: if _, ok := svc.Annotations[annotation.TrafficNodeSelector.Name]; !ok {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 9.4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/podtopologyspread/filtering_test.go
{key: "zone", value: "zone1"}: 3, {key: "zone", value: "zone2"}: 2, }, }, enableMatchLabelKeys: false, }, { name: "matchLabelKeys ANDed with LabelSelector when LabelSelector isn't empty", pod: st.MakePod().Name("p").Label("foo", "").Label("bar", "a"). SpreadConstraint(1, "zone", v1.DoNotSchedule, fooSelector, nil, nil, nil, []string{"bar"}). Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 10:42:29 UTC 2024 - 143.1K bytes - Viewed (0)