Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for serviceentry (0.54 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    		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",
    				},
    				Spec: networking.ServiceEntry{
    					Addresses: []string{"1.2.3.4"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    	Waypoints krt.Collection[Waypoint],
    	Namespaces krt.Collection[*v1.Namespace],
    ) krt.TransformationMulti[*networkingclient.ServiceEntry, model.WorkloadInfo] {
    	return func(ctx krt.HandlerContext, se *networkingclient.ServiceEntry) []model.WorkloadInfo {
    		eps := se.Spec.Endpoints
    		// If we have a DNS service, endpoints are not required
    		implicitEndpoints := len(eps) == 0 &&
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/analyzers_test.go

    		inputFiles: []string{
    			"testdata/serviceentry-missing-addresses-protocol.yaml",
    		},
    		analyzer: &serviceentry.ProtocolAddressesAnalyzer{},
    		expected: []message{
    			{msg.ServiceEntryAddressesRequired, "ServiceEntry default/service-entry-test-03"},
    			{msg.ServiceEntryAddressesRequired, "ServiceEntry default/service-entry-test-04"},
    			{msg.ServiceEntryAddressesRequired, "ServiceEntry default/service-entry-test-07"},
    		},
    	},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/peer_authentication_simulation_test.go

      selector:
        matchLabels:
          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)
  5. pkg/workloadapi/workload.proto

      //
      // cluster/group/kind/namespace/name/section-name
      //
      // As an example, a ServiceEntry with two WorkloadEntries inlined could become
      // two Workloads with the following UIDs:
      // - cluster1/networking.istio.io/v1alpha3/ServiceEntry/default/external-svc/endpoint1
      // - cluster1/networking.istio.io/v1alpha3/ServiceEntry/default/external-svc/endpoint2
      //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  6. pilot/test/xds/fake.go

    	t.Cleanup(s.Shutdown)
    
    	serviceHandler := func(_, curr *model.Service, _ model.Event) {
    		pushReq := &model.PushRequest{
    			Full:           true,
    			ConfigsUpdated: sets.New(model.ConfigKey{Kind: kind.ServiceEntry, Name: string(curr.Hostname), Namespace: curr.Attributes.Namespace}),
    			Reason:         model.NewReasonStats(model.ServiceUpdate),
    		}
    		s.ConfigUpdate(pushReq)
    	}
    
    	if opts.DefaultClusterName == "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go

    	// want to index ServiceEntry/WorkloadEntry or possibly allow specifying
    	// the ServiceAccounts directly on a Gateway resource.
    	ServiceAccounts []string
    }
    
    // fetchWaypointForInstance attempts to find a Waypoint a given object is an instance of.
    // TODO should this also lookup waypoints by workload.addresses + workload.services[].vip?
    // ServiceEntry and WorkloadEntry likely won't have the gateway-name label.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. pilot/pkg/model/endpointshards.go

    		cache:       cache,
    	}
    }
    
    // must be called with lock
    func (e *EndpointIndex) clearCacheForService(svc, ns string) {
    	e.cache.Clear(sets.Set[ConfigKey]{{
    		Kind:      kind.ServiceEntry,
    		Name:      svc,
    		Namespace: ns,
    	}: {}})
    }
    
    // Shardz returns a full deep copy of the global map of shards. This should be used only for testing
    // and debugging, as the cloning is expensive.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. pilot/pkg/bootstrap/server.go

    	"istio.io/istio/pilot/pkg/server"
    	"istio.io/istio/pilot/pkg/serviceregistry/aggregate"
    	"istio.io/istio/pilot/pkg/serviceregistry/provider"
    	"istio.io/istio/pilot/pkg/serviceregistry/serviceentry"
    	"istio.io/istio/pilot/pkg/status"
    	"istio.io/istio/pilot/pkg/status/distribution"
    	tb "istio.io/istio/pilot/pkg/trustbundle"
    	"istio.io/istio/pilot/pkg/xds"
    	"istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/config"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  10. pilot/pkg/features/pilot.go

    	}()
    
    	CanonicalServiceForMeshExternalServiceEntry = env.Register("LABEL_CANONICAL_SERVICES_FOR_MESH_EXTERNAL_SERVICE_ENTRIES", false,
    		"If enabled, metadata representing canonical services for ServiceEntry resources with a location of mesh_external will be populated"+
    			"in the cluster metadata for those endpoints.").Get()
    
    	LocalClusterSecretWatcher = env.Register("LOCAL_CLUSTER_SECRET_WATCHER", false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top