- Sort Score
- Result 10 results
- Languages All
Results 21 - 27 of 27 for labelServiceName (0.23 sec)
-
pkg/controller/endpointslicemirroring/reconciler.go
compareLabels := cloneAndRemoveKeys(existingSlices[0].Labels, discovery.LabelManagedBy, discovery.LabelServiceName) // Return early if first slice matches desired endpoints, labels and annotations totals = totalChanges(existingSlices[0], desiredSet) if totals.added == 0 && totals.updated == 0 && totals.removed == 0 &&
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 18:08:12 UTC 2023 - 13.1K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier_test.go
eps := &discovery.EndpointSlice{ ObjectMeta: metav1.ObjectMeta{ Name: fmt.Sprintf("%s-%d", name, sliceNum), Namespace: namespace, Labels: map[string]string{discovery.LabelServiceName: name}, }, } epsFunc(eps) return eps } func TestCleanupLeftovers(t *testing.T) { _, ctx := ktesting.NewTestContext(t) ipt := iptablestest.NewFake() ipvs := ipvstest.NewFake()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 186.8K bytes - Viewed (0) -
pkg/proxy/iptables/proxier_test.go
eps := &discovery.EndpointSlice{ ObjectMeta: metav1.ObjectMeta{ Name: fmt.Sprintf("%s-%d", name, sliceNum), Namespace: namespace, Labels: map[string]string{discovery.LabelServiceName: name}, }, } epsFunc(eps) return eps } func makeNSN(namespace, name string) types.NamespacedName { return types.NamespacedName{Namespace: namespace, Name: name} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 249.9K bytes - Viewed (1) -
pilot/pkg/xds/mesh_network_test.go
baseMeta := metav1.ObjectMeta{ Name: w.name, Labels: labels.Instance{ "app": w.name, label.SecurityTlsMode.Name: model.IstioMutualTLSModeLabel, discoveryv1.LabelServiceName: w.name, }, Namespace: w.namespace, } podMeta := baseMeta podMeta.Name = w.name + "-" + rand.String(4) for k, v := range w.labels { podMeta.Labels[k] = v }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 24.6K bytes - Viewed (0) -
pkg/proxy/endpointschangetracker_test.go
ObjectMeta: metav1.ObjectMeta{ Name: fmt.Sprintf("%s-%d", name, slice), Namespace: namespace, Annotations: map[string]string{}, Labels: map[string]string{ discovery.LabelServiceName: name, }, }, AddressType: discovery.AddressTypeIPv4, } epsFunc(eps) return eps } func TestUpdateEndpointsMap(t *testing.T) { emptyEndpoint := func(eps *discovery.EndpointSlice) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 21 14:44:08 UTC 2023 - 79.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
) { if labels == nil { labels = make(map[string]string) } // Add the reference to the service. Used by EndpointSlice logic only. labels[discovery.LabelServiceName] = name if refs == nil { refs = make([]*corev1.ObjectReference, len(ips)) } var portNum int32 = 1001 eas := make([]corev1.EndpointAddress, 0) for i, ip := range ips {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceregistry_test.go
}) } endpointSlice := &discovery.EndpointSlice{ ObjectMeta: metav1.ObjectMeta{ Name: name, Namespace: namespace, Labels: map[string]string{ discovery.LabelServiceName: serviceName, }, }, AddressType: addrType, Endpoints: sliceEndpoint, Ports: esps, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 51.2K bytes - Viewed (0)