- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 94 for drain1 (0.17 sec)
-
pkg/envoy/agent.go
// 3. SIGTERM. We will drain, wait termination drain duration, then exit. This is the standard pod shutdown; SIGTERM arrives when pod shutdown starts. // If the pod's terminationGracePeriod is shorter than our drain duration (rare), we may be a SIGKILL. // 4. /drain + SIGTERM. This is the shutdown when using Kubernetes native sidecars. // /drain is called when the pod shutdown starts. We start draining, forever.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 24 16:04:22 UTC 2024 - 9K bytes - Viewed (0) -
pkg/envoy/admin.go
// limitations under the License. package envoy import ( "bytes" "fmt" "io" "net/http" "strings" "istio.io/istio/pkg/log" ) // DrainListeners drains inbound listeners of Envoy so that inflight requests // can gracefully finish and even continue making outbound calls as needed. func DrainListeners(adminPort uint32, inboundonly bool, skipExit bool) error { var drainURL string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 19 20:22:09 UTC 2023 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/change_test.go
} // Let all the established get request loops soak time.Sleep(5 * time.Second) // Tear down close(stopChan) // Let loops drain drained = make(chan struct{}) go func() { defer close(drained) wg.Wait() }() select { case <-drained: case <-time.After(wait.ForeverTestTimeout): t.Fatal("timed out waiting for clients to complete") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 13:59:03 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/queue/MultiEndPointQueue.java
} void stopped(EndPointQueue queue) { waiting.remove(queue); endpoints.remove(queue); queue.dispatch(new EndOfStream()); } public void drain(Collection<InterHubMessage> drainTo) { drainTo.addAll(queue); queue.clear(); } private void flush() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 3.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/main1.c
Austin Clements <******@****.***> 1683216807 -0400
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.7K bytes - Viewed (0) -
src/internal/types/testdata/check/main1.go
Robert Griesemer <******@****.***> 1662082688 -0700
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 249 bytes - Viewed (0) -
src/unique/handle_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:14:07 UTC 2024 - 2.5K bytes - Viewed (0) -
pilot/pkg/server/instance.go
requiredTerminations sync.WaitGroup } func (i *instance) Start(stop <-chan struct{}) error { shutdown := func() { close(i.done) } // First, drain all startup tasks and immediately return if any fail. for startupDone := false; !startupDone; { select { case next := <-i.components: t0 := time.Now() if err := next.task(stop); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 4.6K bytes - Viewed (0) -
releasenotes/notes/35059.yaml
apiVersion: release-notes/v2 kind: feature area: traffic-management issue: - 34855 releaseNotes: - | **Added** support for envoy to track active connections during drain and quit if active connections become zero instead of waiting for entire drain duration. This is disabled by default and can be enabled by setting
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Oct 08 06:31:19 UTC 2021 - 396 bytes - Viewed (0) -
android/guava/src/com/google/common/io/ReaderInputStream.java
if (result.isOverflow()) { // Not enough room in output buffer--drain it, creating a bigger buffer if necessary. startDraining(true); continue DRAINING; } else if (result.isUnderflow()) { // If encoder underflows, it means either: // a) the final flush() succeeded; next drain (then done) // b) we encoded all of the input; next flush
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 9.3K bytes - Viewed (0)