Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for Sort (0.1 sec)

  1. pilot/pkg/networking/core/cluster.go

    		// For service instances with the same port,
    		// we still need to capture all the instances on this port, as its required to populate telemetry metadata
    		// The first instance will be used as the "primary" instance; this means if we have an conflicts between
    		// Services the first one wins
    		port := int(instance.Port.TargetPort)
    		clustersToBuild[port] = append(clustersToBuild[port], instance)
    	}
    
    	bind := actualLocalHosts[0]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/listener_waypoint.go

    		for _, port := range svc.Ports {
    			if port.Protocol == protocol.UDP {
    				continue
    			}
    			portString := strconv.Itoa(port.Port)
    			cc := inboundChainConfig{
    				clusterName:   model.BuildSubsetKey(model.TrafficDirectionInboundVIP, "tcp", svc.Hostname, port.Port),
    				policyService: svc,
    				port: model.ServiceInstancePort{
    					ServicePort: port,
    					TargetPort:  uint32(port.Port),
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    						},
    					},
    					PortNames: map[int32]model.ServicePortName{
    						// Not a named port
    						80: {PortName: "80"},
    						// Named port found in WE
    						81: {PortName: "81", TargetPortName: "81-target"},
    						// Named port target found in WE
    						82: {PortName: "82", TargetPortName: "82-target"},
    						// Named port not found in WE
    						83: {PortName: "83", TargetPortName: "83-target"},
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/listener_builder_test.go

    	t.Helper()
    	for port, expect := range expected {
    		got := xdstest.EvaluateListenerFilterPredicates(predicate, port)
    		if got != expect {
    			t.Errorf("expected port %v to have match=%v, got match=%v", port, expect, got)
    		}
    	}
    }
    
    func TestSidecarInboundListenerFilters(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. pilot/pkg/simulation/traffic.go

    	}
    	// First find exact match for the IP/Port, then fallback to wildcard IP/Port
    	// There is no wildcard port
    	for _, l := range listeners {
    		if matchAddress(l.GetAddress(), input.Address, input.Port) {
    			return l
    		}
    	}
    	for _, l := range listeners {
    		if matchAddress(l.GetAddress(), "0.0.0.0", input.Port) {
    			return l
    		}
    	}
    
    	// Fallback to the outbound listener
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/analyzers_test.go

    	},
    	{
    		name:       "gatewayBadPort",
    		inputFiles: []string{"testdata/gateway-no-port.yaml"},
    		analyzer:   &gateway.IngressGatewayPortAnalyzer{},
    		expected: []message{
    			{msg.GatewayPortNotDefinedOnService, "Gateway httpbin-gateway"},
    		},
    	},
    	{
    		name:       "gatewayCorrectPort",
    		inputFiles: []string{"testdata/gateway-correct-port.yaml"},
    		analyzer:   &gateway.IngressGatewayPortAnalyzer{},
    		expected:   []message{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. pilot/pkg/xds/delta_test.go

    	s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{
    		Services: []*model.Service{
    			{
    				Hostname:       "adsupdate.example.com",
    				DefaultAddress: "10.11.0.1",
    				Ports: []*model.Port{
    					{
    						Name:     "http-main",
    						Port:     2080,
    						Protocol: protocol.HTTP,
    					},
    				},
    				Attributes: model.ServiceAttributes{
    					Name:      "adsupdate",
    					Namespace: "default",
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. pilot/pkg/features/pilot.go

    			"cannot be applied to the ExternalName service. "+
    			"If disabled, ExternalName behaves in fairly unexpected manner. Port matters, while it does not in Kubernetes. If it is a TCP port, "+
    			"all traffic on that port will be matched, which can have disastrous consequences. Additionally, the destination is seen as an opaque destination; "+
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. pkg/config/constants/constants.go

    	AmbientWaypointForTrafficTypeLabel = "istio.io/waypoint-for"
    
    	// AmbientWaypointInboundBinding has the format `<protocol>` or `<protocol>/<port>`. If the waypoint is
    	// captured by a zTunnel, the zTunnel  will send traffic to the specified port with tunnel information
    	// such as source/destination addresses, identity and HBONE target host using the specified protocol.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. pilot/pkg/bootstrap/server.go

    			clusterID = cluster.ID(provider.Kubernetes)
    		}
    	}
    	return clusterID
    }
    
    // Start starts all components of the error serving tap http serverPilot discovery service on the port specified in DiscoveryServerOptions.
    // If Port == 0, a port number is automatically chosen. Content serving is started by this method,
    // but is executed asynchronously. Serving can be canceled at any time by closing the provided stop channel.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
Back to top