Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 101 for externalname (1.01 sec)

  1. pkg/apis/core/validation/validation_test.go

    		numErrs: 0,
    	}, {
    		name: "valid ExternalName",
    		tweakSvc: func(s *core.Service) {
    			s.Spec.Type = core.ServiceTypeExternalName
    			s.Spec.ExternalName = "foo.bar.example.com"
    		},
    		numErrs: 0,
    	}, {
    		name: "valid ExternalName (trailing dot)",
    		tweakSvc: func(s *core.Service) {
    			s.Spec.Type = core.ServiceTypeExternalName
    			s.Spec.ExternalName = "foo.bar.example.com."
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  2. pkg/controller/endpointslice/endpointslice_controller.go

    		// The service has been deleted, return nil so that it won't be retried.
    		return nil
    	}
    
    	if service.Spec.Type == v1.ServiceTypeExternalName {
    		// services with Type ExternalName receive no endpoints from this controller;
    		// Ref: https://issues.k8s.io/105986
    		return nil
    	}
    
    	if service.Spec.Selector == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/route/route.go

    	// TODO: this will not work if we have Alias -> Alias -> Concrete service.
    	if features.EnableExternalNameAlias && service != nil && service.Attributes.K8sAttributes.ExternalName != "" {
    		h = host.Name(service.Attributes.K8sAttributes.ExternalName)
    	}
    	port := listenerPort
    	if destination.GetPort() != nil {
    		port = int(destination.GetPort().GetNumber())
    	} else if service != nil && len(service.Ports) == 1 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  4. pkg/apis/core/types.go

    type ServiceSpec struct {
    	// Type determines how the Service is exposed. Defaults to ClusterIP. Valid
    	// options are ExternalName, ClusterIP, NodePort, and LoadBalancer.
    	// "ExternalName" maps to the specified externalName.
    	// "ClusterIP" allocates a cluster-internal IP address for load-balancing to
    	// endpoints. Endpoints are determined by the selector or if that is not
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  5. pkg/controller/endpoint/endpoints_controller.go

    			return err
    		}
    		e.triggerTimeTracker.DeleteService(namespace, name)
    		return nil
    	}
    
    	if service.Spec.Type == v1.ServiceTypeExternalName {
    		// services with Type ExternalName receive no endpoints from this controller;
    		// Ref: https://issues.k8s.io/105986
    		return nil
    	}
    
    	if service.Spec.Selector == nil {
    		// services without a selector receive no endpoints from this controller;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. pkg/apis/core/validation/validation.go

    		}
    
    		// The value (a CNAME) may have a trailing dot to denote it as fully qualified
    		cname := strings.TrimSuffix(service.Spec.ExternalName, ".")
    		if len(cname) > 0 {
    			allErrs = append(allErrs, ValidateDNS1123Subdomain(cname, specPath.Child("externalName"))...)
    		} else {
    			allErrs = append(allErrs, field.Required(specPath.Child("externalName"), ""))
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (1)
  7. pilot/pkg/serviceregistry/kube/controller/controller.go

    		// only add when it is nodePort gateway service
    		c.nodeSelectorsForServices[currConv.Hostname] = nodeSelector
    		c.Unlock()
    		needsFullPush = c.updateServiceNodePortAddresses(currConv)
    	}
    
    	// For ExternalName, we need to update the EndpointIndex, as we will store endpoints just based on the Service.
    	if !features.EnableExternalNameAlias && curr != nil && curr.Spec.Type == v1.ServiceTypeExternalName {
    		updateEDSCache = true
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  8. pkg/printers/internalversion/printers_test.go

    		},
    		{
    			// Test ExternalName service
    			service: api.Service{
    				ObjectMeta: metav1.ObjectMeta{Name: "test7"},
    				Spec: api.ServiceSpec{
    					Type:         api.ServiceTypeExternalName,
    					ExternalName: "my.database.example.com",
    				},
    			},
    			options: printers.GenerateOptions{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.15.md

    - kube-proxy: os exit when CleanupAndExit is set to true ([#76732](https://github.com/kubernetes/kubernetes/pull/76732), [@JieJhih](https://github.com/JieJhih))
    - Kubernetes will now allow trailing dots in the externalName of Services of type ExternalName. ([#78385](https://github.com/kubernetes/kubernetes/pull/78385), [@thz](https://github.com/thz))
    
    ### Node
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 278.9K bytes
    - Viewed (0)
  10. pkg/apis/core/v1/defaults_test.go

    			svc: v1.Service{
    				Spec: v1.ServiceSpec{
    					InternalTrafficPolicy: &cluster,
    				},
    			},
    		},
    		{
    			name:                          "must not set default internalTrafficPolicy when type is ExternalName",
    			expectedInternalTrafficPolicy: nil,
    			svc: v1.Service{
    				Spec: v1.ServiceSpec{
    					Type: v1.ServiceTypeExternalName,
    				},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
Back to top