Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for DRAINING (0.13 sec)

  1. pilot/pkg/serviceregistry/kube/controller/endpointslice.go

    		svc != nil &&
    		svc.Attributes.Labels[features.PersistentSessionLabel] != "" &&
    		(e.Conditions.Serving == nil || *e.Conditions.Serving) &&
    		(e.Conditions.Terminating == nil || *e.Conditions.Terminating) {
    		return model.Draining
    	}
    
    	return model.UnHealthy
    }
    
    func (esc *endpointSliceController) updateEndpointCacheForSlice(hostName host.Name, slice *v1.EndpointSlice) {
    	var endpoints []*model.IstioEndpoint
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. pkg/envoy/proxy.go

    }
    
    func (e *envoy) Drain(skipExit bool) error {
    	adminPort := uint32(e.AdminPort)
    
    	err := DrainListeners(adminPort, e.Sidecar, skipExit)
    	if err != nil {
    		log.Infof("failed draining listeners for Envoy on port %d: %v", adminPort, err)
    	}
    	return err
    }
    
    func (e *envoy) UpdateConfig(config []byte) error {
    	return os.WriteFile(e.ConfigPath, config, 0o666)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/interface.go

    	// same value `X`.  If the QueuingConfig's DesiredNumQueues field
    	// is zero then the other queuing-specific config parameters are
    	// not changed, so that the queues continue draining as before.
    	// In any case, reconfiguration does not discard any queue unless
    	// and until it is undesired and empty.
    	BeginConfigChange(QueuingConfig) (QueueSetCompleter, error)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. pilot/cmd/pilot-agent/options/options.go

    	exitOnZeroActiveConnectionsEnv = env.Register("EXIT_ON_ZERO_ACTIVE_CONNECTIONS",
    		false,
    		"When set to true, terminates proxy when number of active connections become zero during draining").Get()
    
    	useExternalWorkloadSDSEnv = env.Register("USE_EXTERNAL_WORKLOAD_SDS", false,
    		"When set to true, the istio-agent will require an external SDS and will throw an error if the workload SDS socket is not found").Get()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 09 19:21:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster.go

    				// status received in EDS. With this setting, the DRAINING and UNHEALTHY endpoints are kept - both marked
    				// as UNHEALTHY ('coarse state'), which is what will show in config dumps.
    				// DRAINING/UNHEALTHY will not be used normally for new requests. They will be used if cookie/header
    				// selects them.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher.go

    func (c *cacheWatcher) stopLocked() {
    	if !c.stopped {
    		c.stopped = true
    		// stop without draining the input channel was requested.
    		if !c.drainInputBuffer {
    			close(c.done)
    		}
    		close(c.input)
    	}
    
    	// Even if the watcher was already stopped, if it previously was
    	// using draining mode and it's not using it now we need to
    	// close the done channel now. Otherwise we could leak the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 12:22:41 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    				ResourceVersion: fmt.Sprintf("%d", rv),
    			},
    		},
    		ResourceVersion: rv,
    	}
    }
    
    // TestCacheWatcherDraining verifies the cacheWatcher.process goroutine is properly cleaned up when draining was requested
    func TestCacheWatcherDraining(t *testing.T) {
    	var lock sync.RWMutex
    	var w *cacheWatcher
    	count := 0
    	filter := func(string, labels.Set, fields.Set) bool { return true }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  8. tests/integration/ambient/baseline_test.go

    			if opt.Scheme != scheme.TCP {
    				return
    			}
    			// Ensure we don't get stuck on old connections with old RBAC rules. This causes 45s test times
    			// due to draining.
    			opt.NewConnectionPerRequest = true
    
    			t.NewSubTest("permissive").Run(func(t framework.TestContext) {
    				t.ConfigIstio().Eval(apps.Namespace.Name(), map[string]string{
    					"Destination": dst.Config().Service,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Striped.java

            if (existing != null) {
              return existing;
            }
          }
          drainQueue();
          return created;
        }
    
        // N.B. Draining the queue is only necessary to ensure that we don't accumulate empty references
        // in the array. We could skip this if we decide we don't care about holding on to Reference
        // objects indefinitely.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 20:55:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  10. pilot/pkg/model/service.go

    }
    
    // Endpoint health status.
    type HealthStatus int32
    
    const (
    	// Healthy.
    	Healthy HealthStatus = 1
    	// Unhealthy.
    	UnHealthy HealthStatus = 2
    	// Draining - the constant matches envoy
    	Draining HealthStatus = 3
    )
    
    // IstioEndpoint defines a network address (IP:port) associated with an instance of the
    // service. A service has one or more instances each running in a
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 46.3K bytes
    - Viewed (0)
Back to top