Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 718 for port1 (0.05 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    						// 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"},
    					},
    					LabelSelector: model.NewSelector(map[string]string{"app": "foo"}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/services.go

    			Addresses:       addresses,
    			Ports:           ports,
    			Waypoint:        waypointAddress,
    			SubjectAltNames: svc.Spec.SubjectAltNames,
    		})
    	}
    	return res
    }
    
    func (a *index) constructService(svc *v1.Service, w *Waypoint) *workloadapi.Service {
    	ports := make([]*workloadapi.Port, 0, len(svc.Spec.Ports))
    	for _, p := range svc.Spec.Ports {
    		ports = append(ports, &workloadapi.Port{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener_test.go

    			ports:          privilegedPorts,
    			expectListener: false,
    		},
    		{
    			name:           "unprivileged proxy; explicit NONE mode; unprivileged ports",
    			unprivileged:   true,
    			mode:           model.InterceptionNone,
    			ports:          unprivilegedPorts,
    			expectListener: true,
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			for _, port := range tc.ports {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  4. tests/integration/security/reachability_test.go

    							{
    								Port: echo.Port{
    									Name: ports.HTTP2.Name,
    								},
    							},
    							{
    								Port: echo.Port{
    									Name: ports.HTTPS.Name,
    								},
    							},
    							{
    								Port: echo.Port{
    									Name: ports.TCP.Name,
    								},
    							},
    							{
    								Port: echo.Port{
    									Name: ports.GRPC.Name,
    								},
    							},
    						}
    					}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. samples/bookinfo/platform/kube/bookinfo-psa.yaml

    ##################################################################################################
    apiVersion: v1
    kind: Service
    metadata:
      name: details
      labels:
        app: details
        service: details
    spec:
      ports:
      - port: 9080
        name: http
      selector:
        app: details
    ---
    apiVersion: v1
    kind: ServiceAccount
    metadata:
      name: bookinfo-details
      labels:
        account: details
    ---
    apiVersion: apps/v1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. samples/bookinfo/platform/kube/bookinfo.yaml

    ##################################################################################################
    apiVersion: v1
    kind: Service
    metadata:
      name: details
      labels:
        app: details
        service: details
    spec:
      ports:
      - port: 9080
        name: http
      selector:
        app: details
    ---
    apiVersion: v1
    kind: ServiceAccount
    metadata:
      name: bookinfo-details
      labels:
        account: details
    ---
    apiVersion: apps/v1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/peer_authentication_simulation_test.go

    spec:
     hosts:
     - foo.bar
     endpoints:
     - address: 1.1.1.1
     location: MESH_INTERNAL
     resolution: STATIC
     ports:
     - name: http
       number: 8000
       protocol: HTTP
    ---`
    	mkCall := func(port int, tls simulation.TLSMode) simulation.Call {
    		r := simulation.Call{Protocol: simulation.HTTP, Port: port, CallMode: simulation.CallModeInbound, TLS: tls}
    		if tls == simulation.MTLS {
    			r.Alpn = "istio"
    		}
    		return r
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. pkg/config/kube/conversion.go

    	MySQL   = 3306
    	MongoDB = 27017
    )
    
    // Ports be skipped for protocol sniffing. Applications bound to these ports will be broken if
    // protocol sniffing is enabled.
    var wellKnownPorts = sets.New[int32](
    	SMTP,
    	DNS,
    	MySQL,
    	MongoDB,
    )
    
    var (
    	grpcWeb    = string(protocol.GRPCWeb)
    	grpcWebLen = len(grpcWeb)
    )
    
    // ConvertProtocol from k8s protocol and port name
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. pkg/proxy/nftables/proxier_test.go

    			svc.Spec.ClusterIP = "172.30.55.4"
    			svc.Spec.Ports = addTestPort(svc.Spec.Ports, "something", "UDP", 1234, 4321, 0)
    			svc.Spec.Ports = addTestPort(svc.Spec.Ports, "somethingelse", "UDP", 1235, 5321, 0)
    			svc.Spec.Ports = addTestPort(svc.Spec.Ports, "sctpport", "SCTP", 1236, 6321, 0)
    		}),
    		makeTestService("somewhere-else", "node-port", func(svc *v1.Service) {
    			svc.Spec.Type = v1.ServiceTypeNodePort
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    		pl := &workloadapi.PortList{
    			Ports: make([]*workloadapi.Port, 0, len(svc.Ports)),
    		}
    		res[n] = pl
    		for _, port := range svc.Ports {
    			targetPort := port.TargetPort
    			// The svc.Ports represents the workloadapi.Service, which drops the port name info and just has numeric target Port.
    			// TargetPort can be 0 which indicates its a named port. Check if its a named port and replace with the real targetPort if so.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top