Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for ExternalIPs (0.3 sec)

  1. pkg/api/service/util.go

    func ExternallyAccessible(service *api.Service) bool {
    	return service.Spec.Type == api.ServiceTypeLoadBalancer ||
    		service.Spec.Type == api.ServiceTypeNodePort ||
    		(service.Spec.Type == api.ServiceTypeClusterIP && len(service.Spec.ExternalIPs) > 0)
    }
    
    // RequestsOnlyLocalTraffic checks if service requests OnlyLocal traffic.
    func RequestsOnlyLocalTraffic(service *api.Service) bool {
    	if service.Spec.Type != api.ServiceTypeLoadBalancer &&
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 30 15:56:47 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. cluster/addons/calico-policy-controller/bgpconfigurations-crd.yaml

                    type: array
                  serviceExternalIPs:
                    description: ServiceExternalIPs are the CIDR blocks for Kubernetes
                      Service External IPs. Kubernetes Service ExternalIPs will only be
                      advertised if they are within one of these blocks.
                    items:
                      description: ServiceExternalIPBlock represents a single allowed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 20:48:43 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  3. pkg/util/node/node.go

    // node, and the first IP is used as the `.status.HostIP` for all pods on the node.
    func GetNodeHostIPs(node *v1.Node) ([]net.IP, error) {
    	// Re-sort the addresses with InternalIPs first and then ExternalIPs
    	allIPs := make([]net.IP, 0, len(node.Status.Addresses))
    	for _, addr := range node.Status.Addresses {
    		if addr.Type == v1.NodeInternalIP {
    			ip := netutils.ParseIPSloppy(addr.Address)
    			if ip != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 27 23:24:38 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. pkg/proxy/conntrack/cleanup_test.go

    	svc := &v1.Service{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "cleanup-test",
    			Namespace: "test",
    		},
    		Spec: v1.ServiceSpec{
    			ClusterIP:   testClusterIP,
    			ExternalIPs: []string{testExternalIP},
    			Ports: []v1.ServicePort{
    				{
    					Name:     "dns-tcp",
    					Port:     testPort,
    					Protocol: v1.ProtocolTCP,
    				},
    				{
    					Name:     "dns-udp",
    					Port:     testPort,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. pkg/proxy/util/utils.go

    		if ip != nil {
    			// Since ip is parsed ok, GetIPFamilyFromIP will never return v1.IPFamilyUnknown
    			ipFamily := GetIPFamilyFromIP(ip)
    			ipFamilyMap[ipFamily] = append(ipFamilyMap[ipFamily], ip)
    		} else {
    			// ExternalIPs may not be validated by the api-server.
    			// Specifically empty strings validation, which yields into a lot
    			// of bad error logs.
    			if len(strings.TrimSpace(ipStr)) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/ingress/status.go

    		for _, ip := range svc.Status.LoadBalancer.Ingress {
    			if ip.IP == "" {
    				addrs = append(addrs, ip.Hostname)
    			} else {
    				addrs = append(addrs, ip.IP)
    			}
    		}
    
    		addrs = append(addrs, svc.Spec.ExternalIPs...)
    		return addrs
    	}
    
    	// get all pods acting as ingress gateways
    	igSelector := getIngressGatewaySelector(ingressSelector, ingressService)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top