- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for ClusterLocal (0.22 sec)
-
pilot/pkg/model/cluster_local_test.go
t.Run(c.name, func(t *testing.T) { g := NewWithT(t) env := &model.Environment{Watcher: mesh.NewFixedWatcher(c.m)} env.Init() clusterLocal := env.ClusterLocal().GetClusterLocalHosts().IsClusterLocal(host.Name(c.host)) g.Expect(clusterLocal).To(Equal(c.expected)) }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 3.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/multicluster.go
startNsController: startNsController, caBundleWatcher: caBundleWatcher, revision: revision, XDSUpdater: opts.XDSUpdater, clusterLocal: clusterLocal, secretNamespace: secretNamespace, client: kc, s: s, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 12.7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/autoserviceexportcontroller_test.go
Client: client, ClusterID: "", DomainSuffix: env.DomainSuffix, ClusterLocal: env.ClusterLocal(), }) stop := test.NewStop(t) client.RunAndWait(stop) go sc.Run(stop) t.Run("exportable", func(t *testing.T) { createSimpleService(t, client, "exportable-ns", "foo") assertServiceExport(t, client, "exportable-ns", "foo", true) })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 06 16:02:24 UTC 2023 - 4.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/autoserviceexportcontroller.go
} // autoServiceExportOptions provide options for creating a autoServiceExportController. type autoServiceExportOptions struct { Client kube.Client ClusterID cluster.ID DomainSuffix string ClusterLocal model.ClusterLocalProvider } // newAutoServiceExportController creates a new autoServiceExportController. func newAutoServiceExportController(opts autoServiceExportOptions) *autoServiceExportController {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 5.7K bytes - Viewed (0) -
pilot/pkg/bootstrap/servicecontroller.go
args.RegistryOptions.KubeOptions, s.serviceEntryController, s.configController, s.istiodCertBundleWatcher, args.Revision, s.shouldStartNsController(), s.environment.ClusterLocal(), s.server, s.multiclusterController) return
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 3.2K bytes - Viewed (0) -
pilot/pkg/xds/endpoints/endpoint_builder.go
proxyView model.ProxyView clusterID cluster.ID locality *corev3.Locality destinationRule *model.ConsolidatedDestRule service *model.Service clusterLocal bool nodeType model.NodeType failoverPriorityLabels []byte // These fields are provided for convenience only subsetName string subsetLabels labels.Instance hostname host.Name
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 02:18:19 UTC 2024 - 26.1K bytes - Viewed (0) -
tests/integration/pilot/multicluster_test.go
setup func(t framework.TestContext) }{ { "MeshConfig.serviceSettings", func(t framework.TestContext) { i.PatchMeshConfigOrFail(t, t, fmt.Sprintf(` serviceSettings: - settings: clusterLocal: true hosts: - "%s" `, apps.B.Config().ClusterLocalFQDN())) }, }, { "subsets", func(t framework.TestContext) { cfg := tmpl.EvaluateOrFail(t, `
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 8.2K bytes - Viewed (0) -
pkg/config/mesh/mesh_test.go
t.Fatalf("ApplyMeshConfigDefaults() failed: %v", err) } assert.Equal(t, got, want) // Verify overrides got, err = mesh.ApplyMeshConfigDefaults(` serviceSettings: - settings: clusterLocal: true host: - "*.myns.svc.cluster.local" ingressClass: foo enableTracing: false trustDomainAliases: ["default", "both"] defaultServiceExportTo: - "foo" outboundTrafficPolicy:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 11.7K bytes - Viewed (0) -
pilot/pkg/xds/xds_test.go
meshConfig := mesh.DefaultMeshConfig() meshConfig.ServiceSettings = []*v1alpha1.MeshConfig_ServiceSettings{ {Hosts: []string{"*"}, Settings: &v1alpha1.MeshConfig_ServiceSettings_Settings{ ClusterLocal: local, }}, } fakeOpts := tt.fakeOpts fakeOpts.MeshConfig = meshConfig s := xds.NewFakeDiscoveryServer(t, fakeOpts) for clusterID := range want {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 13.8K bytes - Viewed (0) -
pilot/pkg/networking/grpcgen/grpcgen_test.go
"istio.io/istio/pkg/test/echo/server/endpoint" "istio.io/istio/pkg/test/env" ) // Address of the test gRPC service, used in tests. // Avoid using "istiod" as it is implicitly considered clusterLocal var testSvcHost = "test.istio-system.svc.cluster.local" // Local integration tests for proxyless gRPC. // The tests will start an in-process Istiod, using the memory store, and use
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 09:04:02 UTC 2024 - 16.9K bytes - Viewed (0)