-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deploy: enqueue configs on pod events #9953
deploy: enqueue configs on pod events #9953
Conversation
cc: @deads2k |
We're updating DC status based on this somewhere? |
We now have dc.Status.Replicas (all running pods from all replication controllers), dc.Status.UpdatedReplicas (all pods from the latest replication controller), dc.Status.AvailableReplicas (all available pods), and dc.Status.UnavailableReplicas and the deployment config controller is updating those. |
Seems like this code won't play friendly with pod adoption by RCs owned by the DC. You should choose which information is authoritative: pods or RCs. I think that it should be RCs. |
Isn't there work happening upstream to disallow overlapping selectors? On Wed, Jul 20, 2016 at 7:10 PM, David Eads [email protected]
|
Adoption isn't the same as overlapping. Adoption is just picking up pods that match your selection criteria, not necessarily pods that are created by a different RC. |
Don't you want your newly adopted pods to be reflected as quickly as On Thu, Jul 21, 2016 at 1:49 PM, David Eads [email protected]
|
I think that I want to have one source of truth for that information. What would you do if they disagreed? Sum of RCs gives you 10, sum of pods gives you 11. |
The thing is that RCs lack AvailableReplicas so we can only get that info from pods or unless kubernetes/kubernetes#28381 is fixed upstream. |
Ok, can't say I'm excited about it. I'd like to come back and revisit this next release. [merge] |
[Test]ing while waiting on the merge queue |
Evaluated for origin test up to a227c50 |
In my TODO list to fix the upstream issue |
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/6729/) |
secrets [merge] |
yum [merge] |
#10002 [merge] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/6786/) (Image: devenv-rhel7_4653) |
[merge] #9490 On Sat, Jul 23, 2016 at 8:25 AM, OpenShift Bot [email protected]
|
Evaluated for origin merge up to a227c50 |
Split from #9799
This commit is valuable on its own since we get a synced config status at all times.
@mfojtik @smarterclayton