Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for DRAINING (0.12 sec)

  1. pilot/cmd/pilot-agent/status/ready/probe.go

    	}
    	return err
    }
    
    type ServerInfoState int32
    
    const (
    	// Server is live and serving traffic.
    	Live ServerInfoState = 0
    	// Server is draining listeners in response to external health checks failing.
    	Draining ServerInfoState = 1
    	// Server has not yet completed cluster manager initialization.
    	PreInitializing ServerInfoState = 2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ReaderInputStream.java

        int totalBytesRead = 0;
        boolean doneEncoding = endOfInput;
    
        DRAINING:
        while (true) {
          // We stay in draining mode until there are no bytes left in the output buffer. Then we go
          // back to encoding/flushing.
          if (draining) {
            totalBytesRead += drain(b, off + totalBytesRead, len - totalBytesRead);
            if (totalBytesRead == len || doneFlushing) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ReaderInputStream.java

        int totalBytesRead = 0;
        boolean doneEncoding = endOfInput;
    
        DRAINING:
        while (true) {
          // We stay in draining mode until there are no bytes left in the output buffer. Then we go
          // back to encoding/flushing.
          if (draining) {
            totalBytesRead += drain(b, off + totalBytesRead, len - totalBytesRead);
            if (totalBytesRead == len || doneFlushing) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  4. istioctl/pkg/util/configdump/listener.go

    		return nil, err
    	}
    
    	dal := make([]*admin.ListenersConfigDump_DynamicListener, 0)
    	for _, l := range listenerDump.DynamicListeners {
    		// If a listener was reloaded, it would contain both the active and draining state
    		// delete the draining state for proper comparison
    		l.DrainingState = nil
    		if l.ActiveState != nil {
    			dal = append(dal, l)
    		}
    	}
    
    	// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. pkg/envoy/agent.go

    }
    
    func (a *Agent) DisableDraining() {
    	a.skipDrain.Store(true)
    }
    
    func (a *Agent) DrainNow() {
    	log.Infof("Agent draining proxy")
    	err := a.proxy.Drain(true)
    	if err != nil {
    		log.Warnf("Error in invoking drain listeners endpoint: %v", err)
    	}
    	// If we drained now, skip draining + waiting later
    	// When we terminate, we will instead exit immediately
    	a.DisableDraining()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 24 16:04:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/plugin/pkg/audit/buffered/buffered.go

    			// This lets the batching routine continue draining the queue immediately.
    			b.delegateBackend.ProcessEvents(events...)
    		}()
    	} else {
    		func() {
    			defer runtime.HandleCrash()
    
    			// Execute the real processing in a goroutine to keep it from blocking.
    			// This lets the batching routine continue draining the queue immediately.
    			b.delegateBackend.ProcessEvents(events...)
    		}()
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
Back to top