Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 216 for servicePort (0.14 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top