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
9c7b3906
Commit
9c7b3906
authored
Dec 12, 2016
by
Michail Kargakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log enqueueing replica sets for availability checks
parent
83a77fa5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
replica_set.go
pkg/controller/replicaset/replica_set.go
+1
-0
replication_controller.go
pkg/controller/replication/replication_controller.go
+1
-0
No files found.
pkg/controller/replicaset/replica_set.go
View file @
9c7b3906
...
...
@@ -354,6 +354,7 @@ func (rsc *ReplicaSetController) updatePod(old, cur interface{}) {
// Note that this still suffers from #29229, we are just moving the problem one level
// "closer" to kubelet (from the deployment to the replica set controller).
if
changedToReady
&&
curRS
.
Spec
.
MinReadySeconds
>
0
{
glog
.
V
(
2
)
.
Infof
(
"ReplicaSet %q will be enqueued after %ds for availability check"
,
curRS
.
Name
,
curRS
.
Spec
.
MinReadySeconds
)
rsc
.
enqueueReplicaSetAfter
(
curRS
,
time
.
Duration
(
curRS
.
Spec
.
MinReadySeconds
)
*
time
.
Second
)
}
}
...
...
pkg/controller/replication/replication_controller.go
View file @
9c7b3906
...
...
@@ -412,6 +412,7 @@ func (rm *ReplicationManager) updatePod(old, cur interface{}) {
// Note that this still suffers from #29229, we are just moving the problem one level
// "closer" to kubelet (from the deployment to the replication controller manager).
if
changedToReady
&&
curRC
.
Spec
.
MinReadySeconds
>
0
{
glog
.
V
(
2
)
.
Infof
(
"ReplicationController %q will be enqueued after %ds for availability check"
,
curRC
.
Name
,
curRC
.
Spec
.
MinReadySeconds
)
rm
.
enqueueControllerAfter
(
curRC
,
time
.
Duration
(
curRC
.
Spec
.
MinReadySeconds
)
*
time
.
Second
)
}
}
...
...
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