- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,419 for relisting (0.4 sec)
-
pkg/kubelet/pleg/pleg.go
// PodLifeCycleEventType define the event type of pod life cycle events. type PodLifeCycleEventType string type RelistDuration struct { // The period for relisting. RelistPeriod time.Duration // The relisting threshold needs to be greater than the relisting period + // the relisting time, which can vary significantly. Set a conservative // threshold to avoid flipping between healthy and unhealthy. RelistThreshold time.Duration }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 26 16:14:26 UTC 2023 - 2.7K bytes - Viewed (0) -
pkg/kubelet/pleg/generic.go
podRecords podRecords // Time of the last relisting. relistTime atomic.Value // Cache for storing the runtime states required for syncing pods. cache kubecontainer.Cache // For testability. clock clock.Clock // Pods that failed to have their status retrieved during a relist. These pods will be // retried during the next relisting. podsToReinspect map[types.UID]*kubecontainer.Pod
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 19.3K bytes - Viewed (0) -
pkg/kubelet/pleg/evented.go
// Fall back to Generic PLEG relisting since Evented PLEG is not working. klog.V(4).InfoS("Fall back to Generic PLEG relisting since Evented PLEG is not working") e.Stop() e.genericPleg.Stop() // Stop the existing Generic PLEG which runs with longer relisting period when Evented PLEG is in use. e.Update(e.relistDuration) // Update the relisting period to the default value for the Generic PLEG.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 10:46:06 UTC 2024 - 16.4K bytes - Viewed (0) -
pkg/kubelet/pleg/generic_test.go
// listing 1 - everything ok, infra container set up for pod pleg.Relist() actualEvents := getEventsFromChannel(ch) actualStatus, actualErr := pleg.cache.Get(podID) assert.Equal(t, goodStatus, actualStatus) assert.Equal(t, nil, actualErr) assert.Exactly(t, []*PodLifecycleEvent{goodEvent}, actualEvents)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 24.8K bytes - Viewed (0) -
pkg/kubelet/metrics/metrics.go
) // PLEGRelistDuration is a Histogram that tracks the duration (in seconds) it takes for relisting pods in the Kubelet's // Pod Lifecycle Event Generator (PLEG). PLEGRelistDuration = metrics.NewHistogram( &metrics.HistogramOpts{ Subsystem: KubeletSubsystem, Name: PLEGRelistDurationKey, Help: "Duration in seconds for relisting pods in PLEG.", Buckets: metrics.DefBuckets,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 22 15:13:25 UTC 2024 - 45.6K bytes - Viewed (0) -
pkg/kubelet/kubelet.go
// Generic PLEG relies on relisting for discovering container events. // A longer period means that kubelet will take longer to detect container // changes and to update pod status. On the other hand, a shorter period // will cause more frequent relisting (e.g., container runtime operations), // leading to higher cpu usage. // Note that even though we set the period to 1s, the relisting itself can
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0) -
pkg/features/kube_features.go
// which avoids frequent relisting of containers which helps optimize performance. EventedPLEG featuregate.Feature = "EventedPLEG" // owner: @andrewsykim @SergeyKanzhelev // GA: v1.20 // // Ensure kubelet respects exec probe timeouts. Feature gate exists in-case existing workloads // may depend on old behavior where exec probe timeouts were ignored.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 22:51:23 UTC 2024 - 45.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go
var err error switch watchCalls { case 0: w = watch.NewFakeWithChanSize(10, false) for i := 2; i < 8; i++ { w.Add(makePod(i)) } // Emit an error to force relisting. w.Error(nil) w.Stop() case 1: w = watch.NewFakeWithChanSize(10, false) for i := 12; i < 18; i++ { w.Add(makePod(i)) } w.Stop() default:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 82.9K bytes - Viewed (0) -
pkg/kube/inject/testdata/inject/hello-existing-cncf-networks.yaml
Kevin Conner <******@****.***> 1591395781 -0700
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 05 22:23:01 UTC 2020 - 525 bytes - Viewed (0) -
src/cmd/go/testdata/script/list_overlay.txt
# Test listing with overlays # Overlay in an existing directory go list -overlay overlay.json -f '{{.GoFiles}}' . stdout '^\[f.go\]$' # Overlays in a non-existing directory go list -overlay overlay.json -f '{{.GoFiles}}' ./dir stdout '^\[g.go\]$' # Overlays in an existing directory with already existing files go list -overlay overlay.json -f '{{.GoFiles}}' ./dir2 stdout '^\[h.go i.go\]$' # Overlay that removes a file from a directory
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 12 21:13:04 UTC 2020 - 1.3K bytes - Viewed (0)