Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for serviceentry (0.28 sec)

  1. pilot/pkg/serviceregistry/serviceentry/conversion.go

    	serviceEntry := cfg.Spec.(*networking.ServiceEntry)
    	if serviceEntry == nil {
    		return nil
    	}
    	if services == nil {
    		services = convertServices(cfg)
    	}
    
    	endpointsNum := len(serviceEntry.Endpoints)
    	hostnameToServiceInstance := false
    	if len(serviceEntry.Endpoints) == 0 && serviceEntry.WorkloadSelector == nil && isDNSTypeServiceEntry(serviceEntry) {
    		hostnameToServiceInstance = true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    				makeInstance(httpStatic, "2.2.2.2", 18080, httpStatic.Spec.(*networking.ServiceEntry).Ports[1], nil, MTLS),
    				makeInstance(httpStatic, "3.3.3.3", 1080, httpStatic.Spec.(*networking.ServiceEntry).Ports[0], nil, MTLS),
    				makeInstance(httpStatic, "3.3.3.3", 8080, httpStatic.Spec.(*networking.ServiceEntry).Ports[1], nil, MTLS),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    		makeInstance(httpStatic, "2.2.2.2", 18080, httpStatic.Spec.(*networking.ServiceEntry).Ports[1], nil, MTLS),
    		makeInstance(httpStatic, "3.3.3.3", 1080, httpStatic.Spec.(*networking.ServiceEntry).Ports[0], nil, MTLS),
    		makeInstance(httpStatic, "3.3.3.3", 8080, httpStatic.Spec.(*networking.ServiceEntry).Ports[1], nil, MTLS),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/serviceentry/store_test.go

    	}
    	instances := []*model.ServiceInstance{
    		makeInstance(selector, "1.1.1.1", 444, selector.Spec.(*networking.ServiceEntry).Ports[0], nil, PlainText),
    		makeInstance(selector, "1.1.1.1", 445, selector.Spec.(*networking.ServiceEntry).Ports[1], nil, PlainText),
    		makeInstance(dnsSelector, "1.1.1.1", 444, dnsSelector.Spec.(*networking.ServiceEntry).Ports[0], nil, PlainText),
    	}
    	cKey := configKey{
    		namespace: "default",
    		name:      "test-wle",
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceregistry_test.go

    	})
    
    	t.Run("External only: the port name of the workloadEntry and serviceEntry does not match, "+
    		"and the serivceEntry target port is not set, use serviceEntry port.number", func(t *testing.T) {
    		store, _, fx := setupTest(t)
    		makeIstioObject(t, store, serviceEntry)
    		makeIstioObject(t, store, config.Config{
    			Meta: config.Meta{
    				Name:             "workload",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  6. pilot/pkg/xds/cds_test.go

    			}},
    		},
    	}
    	seEDS := config.Config{
    		Meta: config.Meta{
    			Name:             "service-entry",
    			Namespace:        "test",
    			GroupVersionKind: gvk.ServiceEntry,
    			Domain:           "cluster.local",
    		},
    		Spec: &networking.ServiceEntry{
    			Hosts: []string{"example.default.svc.cluster.local"},
    			Ports: []*networking.ServicePort{{
    				Number:   80,
    				Protocol: "HTTP",
    				Name:     "http",
    			}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 02:06:39 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceentry/controller.go

    // from a ServiceEntry selector, the parent is the ServiceEntry
    // This is used to distinguish between 1 config (Pod/SE) selected by 2 different parents (ServiceEntry).
    type configKeyWithParent struct {
    	configKey
    	parent types.NamespacedName
    }
    
    // configKey unique identifies a config object managed by this registry (ServiceEntry and WorkloadEntry)
    type configKey struct {
    	kind      configType
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  8. pkg/config/schema/collections/collections.agent.gen.go

    	}.MustBuild()
    
    	ServiceEntry = resource.Builder{
    		Identifier: "ServiceEntry",
    		Group:      "networking.istio.io",
    		Kind:       "ServiceEntry",
    		Plural:     "serviceentries",
    		Version:    "v1alpha3",
    		VersionAliases: []string{
    			"v1beta1",
    			"v1",
    		},
    		Proto: "istio.networking.v1alpha3.ServiceEntry", StatusProto: "istio.meta.v1alpha1.IstioStatus",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. pilot/pkg/xds/pushqueue_test.go

    		}
    		expectedEds := sets.New(
    			model.ConfigKey{
    				Kind:      kind.ServiceEntry,
    				Name:      "foo",
    				Namespace: "",
    			},
    			model.ConfigKey{
    				Kind:      kind.ServiceEntry,
    				Name:      "bar",
    				Namespace: "ns1",
    			},
    		)
    		if !reflect.DeepEqual(model.ConfigsOfKind(info.ConfigsUpdated, kind.ServiceEntry), expectedEds) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/crdclient/client_test.go

    		selectedLabels := labels[i%len(labels)]
    		obj := &clientnetworkingv1alpha3.ServiceEntry{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      fmt.Sprintf("test-service-entry-%d", i),
    				Namespace: "test",
    				Labels:    selectedLabels,
    			},
    			Spec: v1alpha3.ServiceEntry{},
    		}
    
    		clienttest.NewWriter[*clientnetworkingv1alpha3.ServiceEntry](t, fake).Create(obj)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 02:58:52 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top