mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 20:21:20 +00:00
Merge pull request #5534 from bprashanth/generic_storage_interface
Add a GenericRESTStorage interface
This commit is contained in:
@@ -379,6 +379,7 @@ func (m *Master) init(c *Config) {
|
||||
if c.SyncPodStatus {
|
||||
go util.Forever(podCache.UpdateAllContainers, m.cacheTimeout)
|
||||
go util.Forever(podCache.GarbageCollectPodStatus, time.Minute*30)
|
||||
// Note the pod cache needs access to an un-decorated RESTStorage
|
||||
podStorage = podStorage.WithPodStatus(podCache)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user