- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for destinationRule (0.21 sec)
-
pilot/pkg/networking/core/route/route.go
if push == nil { return nil, nil } mergedDR := node.SidecarScope.DestinationRule(model.TrafficDirectionOutbound, node, svc.Hostname) destinationRule := mergedDR.GetRule() if destinationRule == nil { return nil, nil } rule := destinationRule.Spec.(*networking.DestinationRule) consistentHash := rule.GetTrafficPolicy().GetLoadBalancer().GetConsistentHash()
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
Services: exampleService, Configs: []config.Config{ { Meta: config.Meta{ GroupVersionKind: gvk.DestinationRule, Name: "acme", Namespace: "istio-system", }, Spec: &networking.DestinationRule{ Host: "*.example.org", TrafficPolicy: &networking.TrafficPolicy{ LoadBalancer: &networking.LoadBalancerSettings{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 88.1K bytes - Viewed (0) -
pilot/pkg/model/push_context.go
func (ps *PushContext) initDefaultExportMaps() { ps.exportToDefaults.destinationRule = sets.New[visibility.Instance]() if ps.Mesh.DefaultDestinationRuleExportTo != nil { for _, e := range ps.Mesh.DefaultDestinationRuleExportTo { ps.exportToDefaults.destinationRule.Insert(visibility.Instance(e)) } } else { // default to * ps.exportToDefaults.destinationRule.Insert(visibility.Public) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0) -
tests/integration/ambient/baseline_test.go
spec: hosts: - "{{.Destination}}" http: - route: - destination: host: "{{.Destination}}" subset: v1 --- apiVersion: networking.istio.io/v1beta1 kind: DestinationRule metadata: name: route namespace: spec: host: "{{.Destination}}" subsets: - labels: version: v1 name: v1 - labels: version: v2 name: v2
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller_test.go
cfg := config.Config{ Meta: config.Meta{ GroupVersionKind: gvk.DestinationRule, Name: "fakeDestinationRule", Namespace: "default", Domain: "cluster.local", CreationTimestamp: GlobalTime, }, Spec: &networking.DestinationRule{ Host: "fakehost", }, } _, err := store.Create(cfg) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 92.9K bytes - Viewed (0)