Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
2c678f1e
Commit
2c678f1e
authored
May 06, 2016
by
Robert Bailey
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #25053 from yujuhong/rm_cahce_update
kubelet: do not force update the runtime cache
parents
222eb31f
43fc67a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
kubelet.go
pkg/kubelet/kubelet.go
+0
-6
No files found.
pkg/kubelet/kubelet.go
View file @
2c678f1e
...
@@ -2501,12 +2501,6 @@ func (kl *Kubelet) syncLoopIteration(configCh <-chan kubetypes.PodUpdate, handle
...
@@ -2501,12 +2501,6 @@ func (kl *Kubelet) syncLoopIteration(configCh <-chan kubetypes.PodUpdate, handle
break
break
}
}
glog
.
V
(
2
)
.
Infof
(
"SyncLoop (PLEG): %q, event: %#v"
,
format
.
Pod
(
pod
),
e
)
glog
.
V
(
2
)
.
Infof
(
"SyncLoop (PLEG): %q, event: %#v"
,
format
.
Pod
(
pod
),
e
)
// Force the container runtime cache to update.
if
err
:=
kl
.
runtimeCache
.
ForceUpdateIfOlder
(
kl
.
clock
.
Now
());
err
!=
nil
{
glog
.
Errorf
(
"SyncLoop: unable to update runtime cache"
)
// TODO (yujuhong): should we delay the sync until container
// runtime can be updated?
}
handler
.
HandlePodSyncs
([]
*
api
.
Pod
{
pod
})
handler
.
HandlePodSyncs
([]
*
api
.
Pod
{
pod
})
case
<-
syncCh
:
case
<-
syncCh
:
// Sync pods waiting for sync
// Sync pods waiting for sync
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment