- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for DRAINING (0.14 sec)
-
pilot/pkg/features/experimental.go
"If not empty, services with this label will use header based persistent sessions", ).Get() DrainingLabel = env.Register( "PILOT_DRAINING_LABEL", "istio.io/draining", "If not empty, endpoints with the label value present will be sent with status DRAINING.", ).Get() EnableDistributionTracking = env.Register( "PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING", false,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:02:38 UTC 2024 - 10.2K bytes - Viewed (0) -
pilot/pkg/xds/endpoints/endpoint_builder.go
if !features.SendUnhealthyEndpoints.Load() && ep.HealthStatus == model.UnHealthy { return false } // Draining endpoints are only sent to 'persistent session' clusters. draining := ep.HealthStatus == model.Draining || features.DrainingLabel != "" && ep.Labels[features.DrainingLabel] != "" if draining { persistentSession := b.service.Attributes.Labels[features.PersistentSessionLabel] != "" if !persistentSession {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 02:18:19 UTC 2024 - 26.1K bytes - Viewed (0) -
src/time/tick_test.go
// When using Go 1.23 sync timers/tickers, draining is never needed // (that's the whole point of the sync timer/ticker change). drain1 := func() { for range drainTries { select { case <-C: return default: } Sleep(sched) } } // drainAsync removes potential stale time values after Stop/Reset. // When using Go 1 async timers, draining one or two values
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:10:37 UTC 2024 - 14.7K bytes - Viewed (0) -
pilot/pkg/networking/grpcgen/grpcgen_test.go
} if len(ep.GetEndpoints()) == 0 { t.Fatal("No endpoint not found for persistent session cluster") } lbep1 := ep.GetEndpoints()[0] if lbep1.LbEndpoints[0].HealthStatus.Number() != 3 { t.Fatal("Draining status not included") } }) t.Run("gRPC-dial", func(t *testing.T) { for _, host := range []string{ testSvcHost, //"istiod.istio-system.svc", //"istiod.istio-system", //"istiod",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 09:04:02 UTC 2024 - 16.9K bytes - Viewed (0) -
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) -
pilot/pkg/networking/core/cluster.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 33K bytes - Viewed (0) -
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) -
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) -
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) -
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)