Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for Se (0.24 sec)

  1. pkg/kube/krt/join_test.go

    	})
    
    	se := &istioclient.ServiceEntry{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "svc-entry",
    			Namespace: "namespace",
    		},
    		Spec: istio.ServiceEntry{WorkloadSelector: &istio.WorkloadSelector{Labels: map[string]string{"app": "foo"}}},
    	}
    	sec.Create(se)
    	assert.EventuallyEqual(t, fetch, []SimpleEndpoint{
    		{pod.Name, se.Name, pod.Namespace, pod.Status.PodIP},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. tests/integration/ambient/waypoint_test.go

    func SetWaypoint(t framework.TestContext, svc string, waypoint string) {
    	setWaypointInternal(t, svc, apps.Namespace.Name(), waypoint, true)
    }
    
    func SetWaypointServiceEntry(t framework.TestContext, se, namespace string, waypoint string) {
    	setWaypointInternal(t, se, namespace, waypoint, false)
    }
    
    func setWaypointInternal(t framework.TestContext, name, ns string, waypoint string, service bool) {
    	for _, c := range t.Clusters() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/util/workloadinstances/index_test.go

    	// GetByIP should return nil
    
    	verifyGetByIP("1.1.1.1", nil)
    }
    
    func TestIndex_FindAll(t *testing.T) {
    	// Setup a couple of workload instances for test. These will be selected by the `selector` SE
    	wi1 := &model.WorkloadInstance{
    		Name:      selector.Name,
    		Namespace: selector.Namespace,
    		Endpoint: &model.IstioEndpoint{
    			Address: "2.2.2.2",
    			Labels:  map[string]string{"app": "wle"}, // should match
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. pilot/pkg/xds/cds_test.go

    				Number:   80,
    				Protocol: "HTTP",
    				Name:     "http",
    			}},
    			SubjectAltNames: []string{"se-top"},
    			Resolution:      networking.ServiceEntry_STATIC,
    			Endpoints: []*networking.WorkloadEntry{{
    				Address:        "1.1.1.1",
    				ServiceAccount: "se-endpoint",
    			}},
    		},
    	}
    	seNONE := config.Config{
    		Meta: config.Meta{
    			Name:             "service-entry",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 02:06:39 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    		})
    	}
    }
    
    func TestServiceEntryWorkloads(t *testing.T) {
    	cases := []struct {
    		name   string
    		inputs []any
    		se     *networkingclient.ServiceEntry
    		result []*workloadapi.Workload
    	}{
    		{
    			name:   "dns without endpoints",
    			inputs: []any{},
    			se: &networkingclient.ServiceEntry{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "name",
    					Namespace: "ns",
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/fake.go

    	}
    
    	serviceDiscovery := aggregate.NewController(aggregate.Options{})
    	se := serviceentry.NewController(
    		configController,
    		xdsUpdater,
    		env.Watcher,
    		serviceentry.WithClusterID(opts.ClusterID))
    	// TODO allow passing in registry, for k8s, mem reigstry
    	serviceDiscovery.AddRegistry(se)
    	msd := memregistry.NewServiceDiscovery(opts.Services...)
    	msd.XdsUpdater = xdsUpdater
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. tests/integration/pilot/multiplecontrolplanes/main_test.go

    				{
    					name:       "workloads in SE configured namespace can reach external service",
    					statusCode: http.StatusOK,
    					from:       apps.NS[1].A,
    				},
    				{
    					name:       "workloads in non-SE configured namespace, but same usergroup can reach external service",
    					statusCode: http.StatusOK,
    					from:       apps.NS[2].A,
    				},
    				{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 16:52:52 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceregistry_test.go

    	stop := istiotest.NewStop(t)
    	go configController.Run(stop)
    
    	se := serviceentry.NewController(configController, xdsUpdater, meshWatcher)
    	client.RunAndWait(stop)
    
    	kc.AppendWorkloadHandler(se.WorkloadInstanceHandler)
    	se.AppendWorkloadHandler(kc.WorkloadInstanceHandler)
    
    	go kc.Run(stop)
    	go se.Run(stop)
    
    	return configController, client.Kube(), xdsUpdater
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/serviceentry/store.go

    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/util/sets"
    )
    
    type hostPort struct {
    	host instancesKey
    	port int
    }
    
    // stores all the service instances from SE, WLE and pods
    type serviceInstancesStore struct {
    	ip2instance map[string][]*model.ServiceInstance
    	// service instances by hostname -> config
    	instances map[instancesKey]map[configKeyWithParent][]*model.ServiceInstance
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. istioctl/pkg/precheck/precheck.go

    	if err != nil {
    		return err
    	}
    	for _, se := range ses.Items {
    		if se.Spec.Resolution != networking.ServiceEntry_NONE {
    			continue
    		}
    		changed := false
    		for _, p := range se.Spec.Ports {
    			if p.TargetPort != 0 && p.Number != p.TargetPort {
    				changed = true
    			}
    		}
    		if changed {
    			res := ObjectToInstance(se)
    			messages.Add(msg.NewUpdateIncompatibility(res,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 02:57:30 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top