- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for serviceInstances (0.4 sec)
-
pilot/pkg/serviceregistry/serviceentry/controller.go
curr config.Config, services []*model.Service, ) (map[configKey][]*model.ServiceInstance, []*model.ServiceInstance) { currentServiceEntry := curr.Spec.(*networking.ServiceEntry) var serviceInstances []*model.ServiceInstance serviceInstancesByConfig := map[configKey][]*model.ServiceInstance{} // for service entry with labels if currentServiceEntry.WorkloadSelector != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 36.8K bytes - Viewed (0) -
tests/fuzz/pilot_model_fuzzer.go
// Create service instances serviceInstances := make([]*model.ServiceInstance, 0, 20) number, err := f.GetInt() if err != nil { return 0 } // We allow a maximum of 20 service instances numberOfS := number % 20 for i := 0; i < numberOfS; i++ { si, err := NewSI(f) if err != nil { return 0 } serviceInstances = append(serviceInstances, si) } // Create services
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 18:13:06 UTC 2023 - 4.6K bytes - Viewed (0) -
tools/bug-report/pkg/testdata/output/multi_line_entries.log
2020-06-29T23:37:27.287957Z...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Sep 01 20:55:53 UTC 2020 - 1.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller_test.go
} if len(sd.serviceInstances.instances[key]) != 0 { t.Fatalf("service instances store `instances` memory leak, expect 0, got %d", len(sd.serviceInstances.instances[key])) } if len(sd.serviceInstances.instancesBySE[namespacedName]) != 0 { t.Fatalf("service instances store `instancesBySE` memory leak, expect 0, got %d", len(sd.serviceInstances.instancesBySE[namespacedName])) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 92.9K bytes - Viewed (0) -
architecture/networking/pilot.md
This is composed of two controllers - one driven from core Kubernetes types ("Kube Controller") and one by Istio types ("ServiceEntry controller"). ```mermaid graph TD subgraph Kube Controller s(Services) e(Endpoints) p(Pods) ksi(ServiceInstances) kwi(WorkloadInstances) s-->ksi e-->ksi
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 07 17:53:24 UTC 2024 - 19.1K bytes - Viewed (0) -
pilot/pkg/model/push_context_test.go
instancePlainText := &ServiceInstance{ Endpoint: &IstioEndpoint{ Address: "192.168.1.2", EndpointPort: 1000000, TLSMode: DisabledTLSModeLabel, }, } cases := []struct { name string serviceNamespace string servicePort int serviceResolution Resolution serviceInstances []*ServiceInstance wanted MutualTLSMode }{
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
Metadata: &model.NodeMetadata{Namespace: "nsa", ClusterID: clusterID}, } serviceInstances := controller.GetProxyServiceTargets(svcNode) if len(serviceInstances) != 1 { t.Fatalf("GetProxyServiceTargets() expected 1 instance, got %d", len(serviceInstances)) } hostname := kube.ServiceHostname("svc1", "nsa", defaultFakeDomainSuffix) if serviceInstances[0].Service.Hostname != hostname {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
tools/bug-report/pkg/testdata/input/ingress.log
2020-06-29T23:37:27.287957Z...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 03 15:51:03 UTC 2020 - 11K bytes - Viewed (0) -
pilot/pkg/xds/eds_test.go
// TODO: parse response, check if data captured matches what we expect. // TODO: use this in integration tests. // TODO: refine the output // TODO: dump the ServiceInstances as well func testEdsz(t *testing.T, s *xdsfake.FakeDiscoveryServer, proxyID string) { req, err := http.NewRequest(http.MethodGet, "/debug/edsz?proxyID="+proxyID, nil) if err != nil { t.Fatal(err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 20:58:47 UTC 2024 - 39.6K bytes - Viewed (0) -
pilot/pkg/model/service.go
TargetPort: e.Endpoint.EndpointPort, }, } } // DeepCopy creates a copy of ServiceInstance. func (instance *ServiceInstance) DeepCopy() *ServiceInstance { return &ServiceInstance{ Service: instance.Service.DeepCopy(), Endpoint: instance.Endpoint.DeepCopy(), ServicePort: &Port{ Name: instance.ServicePort.Name, Port: instance.ServicePort.Port, Protocol: instance.ServicePort.Protocol, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 46.3K bytes - Viewed (0)