Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for Se (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_workloadentry_test.go

    	s := newAmbientTestServer(t, testC, testNW)
    
    	s.addServiceEntry(t, "se.istio.io", []string{"240.240.23.45"}, "se1", testNS, map[string]string{"app": "a"}, []string{"127.0.0.1", "127.0.0.2"})
    	s.assertWorkloads(t, "", workloadapi.WorkloadStatus_HEALTHY, "se1")
    	s.assertEvent(t, s.seIPXdsName("se1", "127.0.0.1"), s.seIPXdsName("se1", "127.0.0.2"), "ns1/se.istio.io")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/peer_authentication_simulation_test.go

          app: foo
      mtls:
        mode: DISABLE
      portLevelMtls:
        9000:
          mode: PERMISSIVE
    ---`
    	sePort8000 := `
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
     name: se
    spec:
     hosts:
     - foo.bar
     endpoints:
     - address: 1.1.1.1
     location: MESH_INTERNAL
     resolution: STATIC
     ports:
     - name: http
       number: 8000
       protocol: HTTP
    ---`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/serviceexportcache_test.go

    	}
    }
    
    func newServiceExport() *unstructured.Unstructured {
    	se := &mcsapi.ServiceExport{
    		TypeMeta: metav1.TypeMeta{
    			Kind:       "ServiceExport",
    			APIVersion: mcs.MCSSchemeGroupVersion.String(),
    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      serviceExportName,
    			Namespace: serviceExportNamespace,
    		},
    	}
    	return toUnstructured(se)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top