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
b1cd74bd
Commit
b1cd74bd
authored
Mar 16, 2016
by
Eric Paris
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #23050 from tobad357/cni-pod-infinite-restart
Fix for issue #22932 infinite pod restarts with CNI
parents
9f64eb16
3d530f7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
manager.go
pkg/kubelet/dockertools/manager.go
+1
-1
No files found.
pkg/kubelet/dockertools/manager.go
View file @
b1cd74bd
...
...
@@ -807,7 +807,7 @@ func (dm *DockerManager) podInfraContainerChanged(pod *api.Pod, podInfraContaine
glog
.
V
(
4
)
.
Infof
(
"host: %v, %v"
,
pod
.
Spec
.
SecurityContext
.
HostNetwork
,
networkMode
)
return
true
,
nil
}
}
else
{
}
else
if
dm
.
networkPlugin
.
Name
()
!=
"cni"
&&
dm
.
networkPlugin
.
Name
()
!=
"kubenet"
{
// Docker only exports ports from the pod infra container. Let's
// collect all of the relevant ports and export them.
for
_
,
container
:=
range
pod
.
Spec
.
Containers
{
...
...
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