- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for SyncResults (0.3 sec)
-
pkg/kubelet/container/sync_result.go
type PodSyncResult struct { // Result of different sync actions SyncResults []*SyncResult // Error encountered in SyncPod() and KillPod() that is not already included in SyncResults SyncError error } // AddSyncResult adds multiple SyncResult to current PodSyncResult func (p *PodSyncResult) AddSyncResult(result ...*SyncResult) { p.SyncResults = append(p.SyncResults, result...) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 19 15:48:08 UTC 2020 - 4.6K bytes - Viewed (0) -
pkg/kubelet/reason_cache.go
// StartContainer action will change the cache. func (c *ReasonCache) Update(uid types.UID, result kubecontainer.PodSyncResult) { for _, r := range result.SyncResults { if r.Action != kubecontainer.StartContainer { continue } name := r.Target.(string) if r.Error != nil { c.add(uid, name, r.Error, r.Message) } else { c.Remove(uid, name) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 3.3K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container.go
} containerResults <- killContainerResult }(container) } wg.Wait() close(containerResults) for containerResult := range containerResults { syncResults = append(syncResults, containerResult) } return } // pruneInitContainersBeforeStart ensures that before we begin creating init // containers, we have reduced the number of outstanding init containers still
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 54.7K bytes - Viewed (0) -
pkg/kubelet/kubelet.go
kl.reasonCache.Update(pod.UID, result) if err := result.Error(); err != nil { // Do not return error if the only failures were pods in backoff for _, r := range result.SyncResults { if r.Error != kubecontainer.ErrCrashLoopBackOff && r.Error != images.ErrImagePullBackOff { // Do not record an event here, as we keep all event logging for sync pod failures
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0)