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
613c42b8
Commit
613c42b8
authored
May 10, 2017
by
Random-Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make a log line more clear in kuberuntime_manager.go.
parent
32e927f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
kuberuntime_manager.go
pkg/kubelet/kuberuntime/kuberuntime_manager.go
+5
-1
No files found.
pkg/kubelet/kuberuntime/kuberuntime_manager.go
View file @
613c42b8
...
...
@@ -380,7 +380,11 @@ func (m *kubeGenericRuntimeManager) podSandboxChanged(pod *v1.Pod, podStatus *ku
// Needs to create a new sandbox when readySandboxCount > 1 or the ready sandbox is not the latest one.
sandboxStatus
:=
podStatus
.
SandboxStatuses
[
0
]
if
readySandboxCount
>
1
||
sandboxStatus
.
State
!=
runtimeapi
.
PodSandboxState_SANDBOX_READY
{
if
readySandboxCount
>
1
{
glog
.
V
(
2
)
.
Infof
(
"More than 1 sandboxes for pod %q are ready. Need to reconcile them"
,
format
.
Pod
(
pod
))
return
true
,
sandboxStatus
.
Metadata
.
Attempt
+
1
,
sandboxStatus
.
Id
}
if
sandboxStatus
.
State
!=
runtimeapi
.
PodSandboxState_SANDBOX_READY
{
glog
.
V
(
2
)
.
Infof
(
"No ready sandbox for pod %q can be found. Need to start a new one"
,
format
.
Pod
(
pod
))
return
true
,
sandboxStatus
.
Metadata
.
Attempt
+
1
,
sandboxStatus
.
Id
}
...
...
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