- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for svc3 (0.04 sec)
-
pilot/pkg/serviceregistry/kube/controller/controller_test.go
}, }, []*model.Service{svc1, svc2, svc3}, 2, meshWatcher, fx, controller, ) // permit all discovery namespaces by omitting discovery selectors (1 create event should trigger for the nsC service) updateMeshConfig( &meshconfig.MeshConfig{ DiscoverySelectors: []*meshconfig.LabelSelector{}, }, []*model.Service{svc1, svc2, svc3, svc4}, 1, meshWatcher, fx,
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/model/push_context_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go
s.addService(t, "svc1", map[string]string{}, map[string]string{}, []int32{80}, map[string]string{"app": "a"}, "10.0.0.1") s.assertEvent(t, s.podXdsName("pod1"), s.svcXdsName("svc1")) s.labelService(t, "svc1", testNS, map[string]string{constants.AmbientUseWaypointLabel: "test-wp"}) s.assertEvent(t, s.svcXdsName("svc1")) s.assertNoEvent(t)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 01:04:50 UTC 2024 - 70.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller_test.go
for _, svc := range gotServices { if v, ok := gotIPMap[svc.AutoAllocatedIPv4Address]; ok && v != svc.Hostname.String() { t.Errorf("multiple allocations of same IP address to different services with different hostname: %s", svc.AutoAllocatedIPv4Address) } gotIPMap[svc.AutoAllocatedIPv4Address] = svc.Hostname.String() serviceIPMap[svc.Hostname.String()] = svc.AutoAllocatedIPv4Address }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 92.9K bytes - Viewed (0) -
pkg/apis/core/v1/defaults_test.go
} } } func TestSetDefaultService(t *testing.T) { svc := &v1.Service{} obj2 := roundTrip(t, runtime.Object(svc)) svc2 := obj2.(*v1.Service) if svc2.Spec.SessionAffinity != v1.ServiceAffinityNone { t.Errorf("Expected default session affinity type:%s, got: %s", v1.ServiceAffinityNone, svc2.Spec.SessionAffinity) } if svc2.Spec.SessionAffinityConfig != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0) -
pilot/pkg/model/sidecar_test.go
}, }, { Hostname: "baz.svc.cluster.local", Ports: port7443, Attributes: ServiceAttributes{ Name: "baz", Namespace: "ns3", }, }, { Hostname: "bar.svc.cluster.local", Ports: port7442, Attributes: ServiceAttributes{ Name: "bar", Namespace: "ns2", }, }, { Hostname: "barprime.svc.cluster.local", Ports: port7442,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 07 09:38:49 UTC 2024 - 74.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceregistry_test.go
func makeService(t *testing.T, c kubernetes.Interface, svc *v1.Service) { t.Helper() // avoid mutating input svc = svc.DeepCopy() // simulate actual k8s behavior for i, port := range svc.Spec.Ports { if port.TargetPort.IntVal == 0 && port.TargetPort.StrVal == "" { svc.Spec.Ports[i].TargetPort.IntVal = port.Port } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 51.2K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller_test.go
sliceInfo := &topologycache.SliceInfo{ ServiceKey: "ns/svc", AddressType: discovery.AddressTypeIPv4, ToCreate: []*discovery.EndpointSlice{ { ObjectMeta: metav1.ObjectMeta{ Name: "svc-abc", Namespace: "ns", Labels: map[string]string{ discovery.LabelServiceName: "svc", discovery.LabelManagedBy: controllerName, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route.go
for _, service := range wrapper.Services { delete(serviceRegistry, service.Hostname) } } for _, svc := range serviceRegistry { for _, port := range svc.Ports { if port.Protocol.IsHTTPOrSniffed() { hash, destinationRule := hashForService(push, node, svc, port) if hash != nil { dependentDestinationRules = append(dependentDestinationRules, destinationRule) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 56.1K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 88.1K bytes - Viewed (0)