Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 376 for servicePort (0.5 sec)

  1. pilot/pkg/serviceregistry/memory/discovery.go

    		return
    	}
    	if instance.Endpoint.ServicePortName == "" {
    		instance.Endpoint.ServicePortName = instance.ServicePort.Name
    	}
    	instance.Service = svc
    	sd.ip2instance[instance.Endpoint.Address] = append(sd.ip2instance[instance.Endpoint.Address], instance)
    
    	key := fmt.Sprintf("%s:%d", service, instance.ServicePort.Port)
    	instanceList := sd.instancesByPortNum[key]
    	sd.instancesByPortNum[key] = append(instanceList, instance)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 23:10:01 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/HEAD/extensions.v1beta1.Ingress.yaml

          name: nameValue
        serviceName: serviceNameValue
        servicePort: servicePortValue
      ingressClassName: ingressClassNameValue
      rules:
      - host: hostValue
        http:
          paths:
          - backend:
              resource:
                apiGroup: apiGroupValue
                kind: kindValue
                name: nameValue
              serviceName: serviceNameValue
              servicePort: servicePortValue
            path: pathValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/HEAD/networking.k8s.io.v1beta1.Ingress.yaml

          name: nameValue
        serviceName: serviceNameValue
        servicePort: servicePortValue
      ingressClassName: ingressClassNameValue
      rules:
      - host: hostValue
        http:
          paths:
          - backend:
              resource:
                apiGroup: apiGroupValue
                kind: kindValue
                name: nameValue
              serviceName: serviceNameValue
              servicePort: servicePortValue
            path: pathValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 06 21:25:20 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.30.0/extensions.v1beta1.Ingress.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/proxy/proxy_test.go

    			services: []*v1.Service{
    				{
    					ObjectMeta: metav1.ObjectMeta{Namespace: "one", Name: "alfa"},
    					Spec: v1.ServiceSpec{
    						Type:      v1.ServiceTypeClusterIP,
    						ClusterIP: "hit",
    						Ports: []v1.ServicePort{
    							{Port: 1234, TargetPort: intstr.FromInt32(1234)},
    						},
    					},
    				},
    			},
    			endpoints: matchingEndpoints,
    
    			clusterMode:  expectation{error: true},
    			endpointMode: expectation{error: true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:27 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/util.go

    	explicitName bool
    }
    
    func findServiceTargetPort(servicePort *model.Port, k8sService *v1.Service) serviceTargetPort {
    	for _, p := range k8sService.Spec.Ports {
    		// TODO(@hzxuzhonghu): check protocol as well as port
    		if p.Name == servicePort.Name || p.Port == int32(servicePort.Port) {
    			if p.TargetPort.Type == intstr.Int && p.TargetPort.IntVal > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 28 02:01:47 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceentry/util_test.go

    	se1 := config.Config{
    		Meta: config.Meta{GroupVersionKind: gvk.ServiceEntry, Namespace: "default", Name: "se-1"},
    		Spec: &networking.ServiceEntry{
    			Hosts: []string{"*.google.com"},
    			Ports: []*networking.ServicePort{
    				{Number: 80, Name: "http-number", Protocol: "http"},
    				{Number: 8080, Name: "http2-number", Protocol: "http2"},
    			},
    			WorkloadSelector: &networking.WorkloadSelector{
    				Labels: map[string]string{"app": "foo"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 17 22:32:10 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. pkg/apis/networking/v1beta1/conversion_test.go

    		external v1beta1.IngressSpec
    		internal networking.IngressSpec
    	}{
    		"service-port-number": {
    			external: v1beta1.IngressSpec{
    				Backend: &v1beta1.IngressBackend{
    					ServiceName: "test-backend",
    					ServicePort: intstr.FromInt32(8080),
    				},
    			},
    			internal: networking.IngressSpec{
    				DefaultBackend: &networking.IngressBackend{
    					Service: &networking.IngressServiceBackend{
    						Name: "test-backend",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. pkg/proxy/config/api_test.go

    		ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "s1"},
    		Spec:       v1.ServiceSpec{Ports: []v1.ServicePort{{Protocol: "TCP", Port: 10}}}}
    	service1v2 := &v1.Service{
    		ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "s1"},
    		Spec:       v1.ServiceSpec{Ports: []v1.ServicePort{{Protocol: "TCP", Port: 20}}}}
    	service2 := &v1.Service{
    		ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "s2"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. istioctl/pkg/describe/describe_test.go

    	http := "HTTP"
    	cases := []struct {
    		port             corev1.ServicePort
    		expectedProtocol string
    	}{
    		{
    			port: corev1.ServicePort{
    				Name:     "http",
    				Protocol: corev1.ProtocolTCP,
    			},
    			expectedProtocol: "HTTP",
    		},
    		{
    			port: corev1.ServicePort{
    				Name:     "GRPC-port",
    				Protocol: corev1.ProtocolTCP,
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:54:01 UTC 2024
    - 30.4K bytes
    - Viewed (0)
Back to top