Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for ConfigsUpdated (0.69 sec)

  1. pilot/pkg/xds/pushqueue_test.go

    		firstTime := time.Now()
    		p.Enqueue(proxies[0], &model.PushRequest{
    			Full: false,
    			ConfigsUpdated: sets.New(model.ConfigKey{
    				Kind: kind.ServiceEntry,
    				Name: "foo",
    			}),
    			Start: firstTime,
    		})
    
    		p.Enqueue(proxies[0], &model.PushRequest{
    			Full:           false,
    			ConfigsUpdated: sets.New(model.ConfigKey{Kind: kind.ServiceEntry, Name: "bar", Namespace: "ns1"}),
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. pilot/pkg/xds/workload.go

    	w *model.WatchedResource,
    ) (model.Resources, model.DeletedResources, model.XdsLogDetails, bool, error) {
    	updatedAddresses := model.ConfigNameOfKind(req.ConfigsUpdated, kind.Address)
    	isReq := req.IsRequest()
    	if len(updatedAddresses) == 0 && len(req.ConfigsUpdated) > 0 {
    		// Nothing changed..
    		return nil, nil, model.XdsLogDetails{}, false, nil
    	}
    
    	subs := sets.New(w.ResourceNames...)
    	var addresses sets.String
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 14:14:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. pilot/pkg/xds/ecds_test.go

    		},
    		{
    			name:           "no_relevant_config_update",
    			proxyNamespace: "default",
    			request: &model.PushRequest{
    				Full:           true,
    				ConfigsUpdated: sets.New(model.ConfigKey{Kind: kind.AuthorizationPolicy}),
    			},
    			watchedResources: []string{"extenstions.istio.io/wasmplugin/default.default-plugin-with-sec", "extenstions.istio.io/wasmplugin/istio-system.root-plugin"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. pilot/pkg/xds/lds.go

    			return false
    		}
    	default:
    		if !req.Full {
    			// LDS only handles full push
    			return false
    		}
    	}
    	// If none set, we will always push
    	if len(req.ConfigsUpdated) == 0 {
    		return true
    	}
    	for config := range req.ConfigsUpdated {
    		if !skippedLdsConfigs[proxy.Type].Contains(config.Kind) {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 15:58:06 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceentry/controller.go

    func getUpdatedConfigs(services []*model.Service) sets.Set[model.ConfigKey] {
    	configsUpdated := sets.NewWithLength[model.ConfigKey](len(services))
    	for _, svc := range services {
    		configsUpdated.Insert(model.ConfigKey{
    			Kind:      kind.ServiceEntry,
    			Name:      string(svc.Hostname),
    			Namespace: svc.Attributes.Namespace,
    		})
    	}
    	return configsUpdated
    }
    
    // serviceEntryHandler defines the handler for service entries
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  6. pilot/pkg/xds/ecds.go

    func ecdsNeedsPush(req *model.PushRequest) bool {
    	if req == nil {
    		return true
    	}
    	// If none set, we will always push
    	if len(req.ConfigsUpdated) == 0 {
    		return true
    	}
    	// Only push if config updates is triggered by EnvoyFilter, WasmPlugin, or Secret.
    	for config := range req.ConfigsUpdated {
    		switch config.Kind {
    		case kind.EnvoyFilter:
    			return true
    		case kind.WasmPlugin:
    			return true
    		case kind.Secret:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 18:25:42 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. pilot/pkg/xds/eds.go

    func canSendPartialFullPushes(req *model.PushRequest) bool {
    	// If we don't know what configs are updated, just send a full push
    	if len(req.ConfigsUpdated) == 0 {
    		return false
    	}
    	for cfg := range req.ConfigsUpdated {
    		if skippedEdsConfigs.Contains(cfg.Kind) {
    			// the updated config does not impact EDS, skip it
    			// this happens when push requests are merged due to debounce
    			continue
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 15:58:06 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. pilot/pkg/xds/rds.go

    	if req == nil {
    		return true
    	}
    	if !req.Full {
    		// RDS only handles full push
    		return false
    	}
    	// If none set, we will always push
    	if len(req.ConfigsUpdated) == 0 {
    		return true
    	}
    	for config := range req.ConfigsUpdated {
    		if !skippedRdsConfigs.Contains(config.Kind) {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 07:19:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. pilot/pkg/xds/proxy_dependencies.go

    	// Empty changes means "all" to get a backward compatibility.
    	if len(req.ConfigsUpdated) == 0 {
    		return true
    	}
    	if proxy.IsWaypointProxy() || proxy.IsZTunnel() {
    		// Optimizations do not apply since scoping uses different mechanism
    		// TODO: implement ambient aware scoping
    		return true
    	}
    
    	for config := range req.ConfigsUpdated {
    		if proxyDependentOnConfig(proxy, config, req.Push) {
    			return true
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 15:58:06 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. pilot/pkg/xds/nds.go

    		return headlessEndpointsUpdated(req)
    	}
    	// If none set, we will always push
    	if len(req.ConfigsUpdated) == 0 {
    		return true
    	}
    	for config := range req.ConfigsUpdated {
    		if _, f := skippedNdsConfigs[config.Kind]; !f {
    			return true
    		}
    	}
    	return false
    }
    
    func headlessEndpointsUpdated(req *model.PushRequest) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 15:58:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top