Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 376 for servicePort (0.17 sec)

  1. pilot/pkg/serviceregistry/serviceregistry_test.go

    			Ports: []*networking.ServicePort{port},
    			WorkloadSelector: &networking.WorkloadSelector{
    				Labels: labels,
    			},
    			Resolution: networking.ServiceEntry_STATIC,
    		},
    	}
    	service := &v1.Service{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "service",
    			Namespace: namespace,
    		},
    		Spec: v1.ServiceSpec{
    			Ports: []v1.ServicePort{{
    				Name: "http",
    				Port: 80,
    			}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/conversion_test.go

    				"other/annotation": "test",
    			},
    			CreationTimestamp: metav1.Time{Time: tnow},
    		},
    		Spec: corev1.ServiceSpec{
    			ClusterIP: ip,
    			Selector:  map[string]string{"foo": "bar"},
    			Ports: []corev1.ServicePort{
    				{
    					Name:     "http",
    					Port:     8080,
    					Protocol: corev1.ProtocolTCP,
    				},
    				{
    					Name:     "https",
    					Protocol: corev1.ProtocolTCP,
    					Port:     443,
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. pkg/controller/endpoint/endpoints_controller_test.go

    					Ports:    []v1.ServicePort{{Port: 80}},
    					Type:     v1.ServiceTypeExternalName,
    				},
    			},
    		},
    		{
    			desc: "External name with ports should not receive endpoints",
    			service: &v1.Service{
    				ObjectMeta: metav1.ObjectMeta{Name: serviceName, Namespace: namespace},
    				Spec: v1.ServiceSpec{
    					Ports: []v1.ServicePort{{Port: 80}},
    					Type:  v1.ServiceTypeExternalName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    				if named, f := svc.PortNames[int32(port.ServicePort)]; f {
    					// get port name or target port
    					tv, ok := p.Ports[named.PortName]
    					if ok {
    						// if we match one, override it. Otherwise, use the service port
    						targetPort = tv
    					} else if targetPort == 0 {
    						targetPort = port.ServicePort
    					}
    				}
    			}
    			pl.Ports = append(pl.Ports, &workloadapi.Port{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. tests/integration/pilot/common/routing.go

    				Count:   10,
    				Address: svcName,
    				Port:    echo.Port{ServicePort: ports.TCP.ServicePort, Protocol: protocol.TCP},
    				Check: check.And(
    					check.OK(),
    					ConsistentHostChecker,
    				),
    			}
    			if c.Config().WorkloadClass() == echo.Proxyless {
    				callOpts.Port = echo.Port{ServicePort: ports.GRPC.ServicePort, Protocol: protocol.GRPC}
    			}
    			// Setup tests for various forms of the API
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  6. tests/integration/security/testdata/authz/egress-gateway.yaml.tmpl

                - test-egress
              port: 80
          route:
            - destination:
                host: "{{ .To.ClusterLocalFQDN }}"
                port:
                  number: {{ (.To.PortForName "http").ServicePort }}
              weight: 100
          headers:
            request:
              add:
                x-egress-test: "handled-by-egress-gateway"
    ---
    apiVersion: networking.istio.io/v1beta1
    kind: VirtualService
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 31 15:08:52 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. pkg/proxy/servicechangetracker_test.go

    		},
    		Spec:   v1.ServiceSpec{},
    		Status: v1.ServiceStatus{},
    	}
    	svcFunc(svc)
    	return svc
    }
    
    func addTestPort(array []v1.ServicePort, name string, protocol v1.Protocol, port, nodeport int32, targetPort int) []v1.ServicePort {
    	svcPort := v1.ServicePort{
    		Name:       name,
    		Protocol:   protocol,
    		Port:       port,
    		NodePort:   nodeport,
    		TargetPort: intstr.FromInt32(int32(targetPort)),
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listener.go

    							service.Hostname, servicePort.Port, node.ID)
    						continue
    					}
    
    					if conflictWithReservedListener(node, push, bind.Primary(), servicePort.Port, servicePort.Protocol) {
    						log.Debugf("buildSidecarOutboundListeners: skipping service port %s:%d for node %s as it conflicts with static listener",
    							service.Hostname, servicePort.Port, node.ID)
    						continue
    					}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. tests/integration/telemetry/policy/helper_test.go

    					Name:         "http",
    					Protocol:     protocol.HTTP,
    					ServicePort:  80,
    					WorkloadPort: 8080,
    				},
    				{
    					// HTTPS port, will match no listeners and fall through
    					Name:         "https",
    					Protocol:     protocol.HTTPS,
    					ServicePort:  443,
    					WorkloadPort: 8443,
    					TLS:          true,
    				},
    				{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. tests/integration/security/policy_attachment_only/testdata/authz/gateway-api.yaml.tmpl

      rules:
      - matches:
        - path: 
            type: PathPrefix
            value: /allow
          method: GET
        backendRefs:
        - name: "{{ .To.ServiceName }}"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 19:50:43 UTC 2023
    - 729 bytes
    - Viewed (0)
Back to top