Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 376 for servicePort (0.44 sec)

  1. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    				{
    					ServicePort: &model.Port{
    						Name:     "tcp-port-1",
    						Port:     8080,
    						Protocol: "TCP",
    					},
    					TargetPort: 8080,
    				},
    				{
    					ServicePort: &model.Port{
    						Name:     "tcp-port-2",
    						Port:     9090,
    						Protocol: "TCP",
    					},
    					TargetPort: 9090,
    				},
    				{
    					ServicePort: &model.Port{
    						Name:     "tcp-port-1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  2. pkg/api/service/testing/make.go

    // SetPorts sets the service ports list.
    func SetPorts(ports ...api.ServicePort) Tweak {
    	return func(svc *api.Service) {
    		svc.Spec.Ports = ports
    	}
    }
    
    // MakeServicePort helps construct ServicePort objects which pass API
    // validation.
    func MakeServicePort(name string, port int, tgtPort intstr.IntOrString, proto api.Protocol) api.ServicePort {
    	return api.ServicePort{
    		Name:       name,
    		Port:       int32(port),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. tests/integration/security/policy_attachment_only/testdata/requestauthn/gateway-api.yaml.tmpl

    spec:
      parentRefs:
      - name: {{ .To.ServiceName }}-gateway
      hostnames:
      - "*.{{ .To.ServiceName }}.com"
      rules:
      - backendRefs:
        - name: "{{ .To.ServiceName }}"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 27 22:08:42 UTC 2023
    - 574 bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/kube/templates/service.yaml

    {{- end }}
    {{- if .IPFamilyPolicy }}
      ipFamilyPolicy: {{ .IPFamilyPolicy }}
    {{- end }}
    {{- if .Headless }}
      clusterIP: None
    {{- end }}
      ports:
    {{- range $i, $p := .ServicePorts }}
      - name: {{ $p.Name }}
        port: {{ $p.ServicePort }}
        targetPort: {{ $p.WorkloadPort }}
    {{- end }}
      selector:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 917 bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/config.go

    	for i, p := range c.Ports {
    		if p.WorkloadPort == 0 && p.ServicePort > 0 && !portGen.Instance.IsUsed(p.ServicePort) {
    			c.Ports[i].WorkloadPort = p.ServicePort
    			portGen.Instance.SetUsed(p.ServicePort)
    		}
    	}
    
    	// Final pass: assign default values for any ports that haven't been specified.
    	for i, p := range c.Ports {
    		if p.ServicePort == 0 {
    			c.Ports[i].ServicePort = portGen.Service.Next(p.Protocol)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. releasenotes/notes/43173.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: installation
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 07 16:31:59 UTC 2023
    - 164 bytes
    - Viewed (0)
  7. pkg/test/framework/components/istio/ingress.go

    	} else {
    		addrs, ports = c.AddressesForPort(opts.Port.ServicePort)
    	}
    	if addrs == nil || ports == nil {
    		scopes.Framework.Warnf("failed to get host and port for %s/%d", opts.Port.Protocol, opts.Port.ServicePort)
    	}
    	addr = addrs[0]
    	port = ports[0]
    	// Even if they set ServicePort, when load balancer is disabled, we may need to switch to NodePort, so replace it.
    	opts.Port.ServicePort = port
    	if opts.HTTP.Headers == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 17:13:34 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. tests/integration/ambient/testdata/gateway-api.yaml

    spec:
      parentRefs:
      - name: {{ .To.ServiceName }}-gateway
      hostnames:
      - "*.{{ .To.ServiceName }}.com"
      rules:
      - backendRefs:
        - name: "{{ .To.ServiceName }}"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 21:02:05 UTC 2024
    - 574 bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/controller.go

    		return nil
    	}
    
    	var servicePort *model.Port
    	for _, p := range svc.Ports {
    		if p.Port == reqSvcPort {
    			servicePort = p
    			break
    		}
    	}
    	if servicePort == nil {
    		return nil
    	}
    
    	// Now get the target Port for this service port
    	targetPort := findServiceTargetPort(servicePort, k8sService)
    	if targetPort.num == 0 {
    		targetPort.num = servicePort.Port
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  10. pkg/config/validation/validation_test.go

    				Ports: []*networking.ServicePort{
    					{Number: 80, Protocol: "http", Name: "http-valid1"},
    				},
    			},
    			valid:   true,
    			warning: true,
    		},
    		{
    			name: "workload selector without labels",
    			in: &networking.ServiceEntry{
    				Hosts: []string{"google.com"},
    				Ports: []*networking.ServicePort{
    					{Number: 80, Protocol: "http", Name: "http-valid1"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
Back to top