Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for externalname (0.23 sec)

  1. pilot/pkg/serviceregistry/kube/conversion_test.go

    	}
    
    	if service.Attributes.Type != string(extSvc.Spec.Type) ||
    		service.Attributes.ExternalName != extSvc.Spec.ExternalName {
    		t.Fatalf("service attributes incorrect => %v/%v, want %v/%v",
    			service.Attributes.Type, service.Attributes.ExternalName, extSvc.Spec.Type, extSvc.Spec.ExternalName)
    	}
    }
    
    func TestExternalClusterLocalServiceConversion(t *testing.T) {
    	serviceName := "service1"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. pkg/api/service/warnings_test.go

    	}, {
    		name: "externalIPs set when type is ExternalName",
    		tweakSvc: func(s *api.Service) {
    			s.Spec.Type = api.ServiceTypeExternalName
    			s.Spec.ExternalIPs = []string{"1.2.3.4"}
    		},
    		numWarnings: 1,
    	}, {
    		name: "externalName set when type is not ExternalName",
    		tweakSvc: func(s *api.Service) {
    			s.Spec.Type = api.ServiceTypeClusterIP
    			s.Spec.ExternalName = "example.com"
    		},
    		numWarnings: 1,
    	}}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 26 22:57:57 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  3. pilot/pkg/features/pilot.go

    		"If enabled, ExternalName Services will be treated as simple aliases: anywhere where we would match the concrete service, "+
    			"we also match the ExternalName. In general, this mirrors Kubernetes behavior more closely. However, it means that policies (routes and DestinationRule) "+
    			"cannot be applied to the ExternalName service. "+
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. pkg/registry/core/service/storage/alloc.go

    	// use cases:
    	// A: service changing types from ExternalName TO ClusterIP types ==> allocate all new
    	// B: service changing types from ClusterIP types TO ExternalName ==> release all allocated
    	// C: Service upgrading to dual stack  ==> partial allocation
    	// D: service downgrading from dual stack ==> partial release
    
    	// CASE A:
    	// Update service from ExternalName to non-ExternalName, should initialize ClusterIP.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 37.3K bytes
    - Viewed (0)
  5. pilot/pkg/model/service_test.go

    		},
    		{
    			first: &Service{
    				Attributes: ServiceAttributes{
    					K8sAttributes: K8sAttributes{
    						ExternalName: "foo.com",
    					},
    				},
    			},
    			other: &Service{
    				Attributes: ServiceAttributes{
    					K8sAttributes: K8sAttributes{
    						ExternalName: "bar.com",
    					},
    				},
    			},
    			shouldEq: false,
    			name:     "different external names",
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. pkg/config/analysis/msg/messages.yaml

        code: IST0150
        level: Warning
        description: "Proxy may prevent tcp named ports and unmatched traffic for ports serving TCP protocol from being forwarded correctly for ExternalName services."
        template: "Port name for ExternalName service is invalid. Proxy may prevent tcp named ports and unmatched traffic for ports serving TCP protocol from being forwarded correctly"
    
      - name: "EnvoyFilterUsesRelativeOperation"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. pkg/registry/core/service/storage/storage.go

    	// Set ipFamilies and ipFamilyPolicy if needed.
    	r.defaultOnReadIPFamilies(service)
    
    	// We unintentionally defaulted internalTrafficPolicy when it's not needed
    	// for the ExternalName type. It's too late to change the field in storage,
    	// but we can drop the field when read.
    	defaultOnReadInternalTrafficPolicy(service)
    }
    
    func defaultOnReadInternalTrafficPolicy(service *api.Service) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (1)
  8. pkg/proxy/servicechangetracker_test.go

    			service: makeTestService("ns2", "external-name", func(svc *v1.Service) {
    				svc.Spec.Type = v1.ServiceTypeExternalName
    				svc.Spec.ClusterIP = "172.16.55.4" // Should be ignored
    				svc.Spec.ExternalName = "foo2.bar.com"
    				svc.Spec.Ports = addTestPort(svc.Spec.Ports, "portz", "UDP", 1235, 5321, 0)
    			}),
    			expected: map[ServicePortName]*BaseServicePortInfo{},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  9. tests/integration/pilot/common/traffic.go

    	RunSkipAmbient("tls-origination", tlsOriginationCases, "not workload agnostic")
    	RunSkipAmbient("instanceip", instanceIPTests, "not supported")
    	RunCase("services", serviceCases)
    	RunSkipAmbient("externalname", externalNameCases, "Relies on X-Forwarded-Client-Cert in checker")
    	RunSkipAmbient("host", hostCases, "Relies on X-Forwarded-Client-Cert in checker")
    	RunSkipAmbient("envoyfilter", envoyFilterCases, "not supported")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 19:10:01 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. pkg/proxy/util/utils_test.go

    			service: &v1.Service{
    				ObjectMeta: metav1.ObjectMeta{Namespace: "foo", Name: "bar"},
    				Spec: v1.ServiceSpec{
    					ClusterIP: "",
    				},
    			},
    			shouldSkip: true,
    		},
    		{
    			// ExternalName type service
    			service: &v1.Service{
    				ObjectMeta: metav1.ObjectMeta{Namespace: "foo", Name: "bar"},
    				Spec: v1.ServiceSpec{
    					ClusterIP: "1.2.3.4",
    					Type:      v1.ServiceTypeExternalName,
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top