Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 75 for EndpointPort (0.24 sec)

  1. common-protos/k8s.io/api/discovery/v1beta1/generated.proto

      // enable topology aware routing. May contain a maximum of 8 entries.
      // +listType=atomic
      repeated ForZone forZones = 1;
    }
    
    // EndpointPort represents a Port used by an EndpointSlice
    message EndpointPort {
      // name represents the name of this port. All ports in an EndpointSlice must have a unique name.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			Labels:       labels.Instance{"app": "ratings"},
    			Address:      "2.2.2.21",
    			EndpointPort: 8080,
    		},
    	}
    
    	wiDetails1 := &model.WorkloadInstance{
    		Name:      "details-1",
    		Namespace: "bookinfo-details",
    		Endpoint: &model.IstioEndpoint{
    			Labels:       labels.Instance{"app": "details"},
    			Address:      "2.2.2.21",
    			EndpointPort: 9090,
    		},
    	}
    
    	wiReviews1 := &model.WorkloadInstance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  3. pkg/proxy/iptables/proxier_test.go

    			Name:     ptr.To("p33"),
    			Port:     ptr.To[int32](33),
    			Protocol: ptr.To(v1.ProtocolUDP),
    		}}
    	}
    	complexSubset8 := func(eps *discovery.EndpointSlice) {
    		eps.AddressType = discovery.AddressTypeIPv4
    		eps.Endpoints = []discovery.Endpoint{{
    			Addresses: []string{"10.4.4.4"},
    			NodeName:  ptr.To(testHostname),
    		}}
    		eps.Ports = []discovery.EndpointPort{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/discovery/v1/generated.proto

      // enable topology aware routing.
      // +listType=atomic
      repeated ForZone forZones = 1;
    }
    
    // EndpointPort represents a Port used by an EndpointSlice
    // +structType=atomic
    message EndpointPort {
      // name represents the name of this port. All ports in an EndpointSlice must have a unique name.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/discovery/v1/types.go

    type ForZone struct {
    	// name represents the name of the zone.
    	Name string `json:"name" protobuf:"bytes,1,name=name"`
    }
    
    // EndpointPort represents a Port used by an EndpointSlice
    // +structType=atomic
    type EndpointPort struct {
    	// name represents the name of this port. All ports in an EndpointSlice must have a unique name.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_builder_test.go

    				{
    					Service:     tt.service,
    					ServicePort: tt.port,
    					Endpoint: &model.IstioEndpoint{
    						ServicePortName: tt.port.Name,
    						Address:         "192.168.1.1",
    						EndpointPort:    10001,
    						Locality: model.Locality{
    							ClusterID: "",
    							Label:     "region1/zone1/subzone1",
    						},
    						Labels:  tt.service.Attributes.Labels,
    						TLSMode: model.IstioMutualTLSModeLabel,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  7. pilot/pkg/model/validation.go

    	}
    
    	if instance.Endpoint != nil {
    		if err := instance.Endpoint.Labels.Validate(); err != nil {
    			errs = multierror.Append(errs, err)
    		}
    
    		if err := agent.ValidatePort(int(instance.Endpoint.EndpointPort)); err != nil {
    			errs = multierror.Append(errs, err)
    		}
    	}
    
    	port := instance.ServicePort
    	if port == nil {
    		errs = multierror.Append(errs, fmt.Errorf("missing service port"))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. pilot/pkg/networking/grpcgen/grpcgen_test.go

    				Protocol: protocol.GRPC, // SetEndpoints hardcodes this
    			},
    		},
    	})
    	sd.SetEndpoints(testSvcHost, "istio-system", []*model.IstioEndpoint{
    		{
    			Address:         "127.0.0.1",
    			EndpointPort:    uint32(xdsPort),
    			ServicePortName: "grpc-main",
    		},
    	})
    }
    
    // initPersistent creates echo-persistent.test:9999, type GRPC with one drained endpoint
    func initPersistent(sd *memory.ServiceDiscovery) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:04:02 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/listener_builder_test.go

    	// Hack up some instances for each Service
    	for _, s := range o.Services {
    		i := &model.ServiceInstance{
    			Service: s,
    			Endpoint: &model.IstioEndpoint{
    				Address:      "1.1.1.1",
    				EndpointPort: 8080, // service port is 80, target port is 8080
    			},
    			ServicePort: s.Ports[0],
    		}
    		cg.MemRegistry.AddInstance(i)
    	}
    	l := cg.Listeners(cg.SetupProxy(p))
    	xdstest.ValidateListeners(t, l)
    	return l
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  10. pilot/pkg/xds/endpoints/endpoint_builder.go

    		// 1. ep.Address can be empty since https://github.com/istio/istio/pull/45150, in this case we will replace it with gateway ip.
    		// 2. ep.Address can be uds when EndpointPort = 0
    		if ep.Address != "" && ep.EndpointPort != 0 && !netutil.IsValidIPAddress(ep.Address) {
    			return false
    		}
    		// filter out endpoints that don't match the subset
    		if !b.subsetLabels.SubsetOf(ep.Labels) {
    			return false
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 02:18:19 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top