- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for externalname (0.39 sec)
-
pilot/pkg/model/push_context_test.go
{Name: "alias1", ExternalName: "alias2"}, {Name: "alias2", ExternalName: "concrete"}, }, }, { name: "looping alias", input: []service{ {Name: "alias1", ExternalName: "alias2"}, {Name: "alias2", ExternalName: "alias1"}, }, output: []service{ {Name: "alias1", ExternalName: "alias2"}, {Name: "alias2", ExternalName: "alias1"}, }, }, }
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/controller_test.go
} if svcList[i].MeshExternal != exp.MeshExternal { t.Fatalf("i=%v, MeshExternal==%v, should be %v: externalName='%s'", i+1, exp.MeshExternal, svcList[i].MeshExternal, k8sSvcs[i].Spec.ExternalName) } if svcList[i].Resolution != exp.Resolution { t.Fatalf("i=%v, Resolution=='%v', should be '%v'", i+1, svcList[i].Resolution, exp.Resolution) }
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/networking/core/sidecar_simulation_test.go
}, }) } service := `apiVersion: v1 kind: Service metadata: name: alias namespace: default spec: type: ExternalName externalName: concrete.default.svc.cluster.local ` + `--- apiVersion: v1 kind: Service metadata: name: concrete namespace: default spec: clusterIP: 1.2.3.4 ports:` + ports
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 84.7K bytes - Viewed (0) -
pilot/pkg/model/push_context.go
func resolveServiceAliases(allServices []*Service, configsUpdated sets.Set[ConfigKey]) { // rawAlias builds a map of Service -> AliasFor. So this will be ExternalName -> Service. // In an edge case, we can have ExternalName -> ExternalName; we resolve that below. rawAlias := map[NamespacedHostname]host.Name{} for _, s := range allServices { if s.Resolution != Alias { continue }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route.go
// TODO: this will not work if we have Alias -> Alias -> Concrete service. if features.EnableExternalNameAlias && service != nil && service.Attributes.K8sAttributes.ExternalName != "" { h = host.Name(service.Attributes.K8sAttributes.ExternalName) } port := listenerPort if destination.GetPort() != nil { port = int(destination.GetPort().GetNumber()) } else if service != nil && len(service.Ports) == 1 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 56.1K bytes - Viewed (0) -
pkg/apis/core/v1/defaults_test.go
svc: v1.Service{ Spec: v1.ServiceSpec{ InternalTrafficPolicy: &cluster, }, }, }, { name: "must not set default internalTrafficPolicy when type is ExternalName", expectedInternalTrafficPolicy: nil, svc: v1.Service{ Spec: v1.ServiceSpec{ Type: v1.ServiceTypeExternalName, }, }, }, {
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/config/kube/gateway/conversion.go
// We only care about listeners on the same protocol continue } bannedHostnames.Insert(gw.OriginalHostname) } rpi := routeParentReference{ InternalName: pr.InternalName, InternalKind: ir.Kind, Hostname: pr.OriginalHostname, DeniedReason: referenceAllowed(pr, kind, pk, hostnames, localNamespace), OriginalReference: ref,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 84.7K bytes - Viewed (0)