-
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
Prevent deployer pod creation conflicts #8588
Prevent deployer pod creation conflicts #8588
Conversation
LGTM |
Does this handle cases where the controller's pod cache is not populated yet (like on startup)? What about cases where the cache has not yet observed a deletion of the pod? |
This controller doesn't use a pod cache, so everything is responsive to updates to the RC. No caching issues to worry about. |
[test] |
Can you create a soak extended test that proves this fixes the issue? We don't have to merge it, but I want to see code and a run that proves it's not regressing |
[test] |
Take advantage of a single-controller assumption by checking for the existence of deployer pods before trying to create new ones. This allows the controller to progress the phase of the deployment without incurring a resource conflict during create under most circumstances- a behavior which can result in poor interactions with the quota system which will charge quota for the conflicting pod.
50a101e
to
552aa83
Compare
Evaluated for origin test up to 552aa83 |
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/3185/) |
Waiting for the rc1 fix to merge |
Approved as per earlier decision today, [merge] On Thu, Apr 21, 2016 at 6:10 PM, OpenShift Bot [email protected]
|
#7429 flake [merge] |
#7429 flake again. [merge] |
It's not the same flake, I think our merges are blanks:( |
[merge] |
1 similar comment
[merge] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/5664/) (Image: devenv-rhel7_4016) |
Failed because of image import retry on a method I didn't wrap: [merge] On Fri, Apr 22, 2016 at 3:45 PM, OpenShift Bot [email protected]
|
Evaluated for origin merge up to 552aa83 |
Take advantage of a single-controller assumption by checking for the
existence of deployer pods before trying to create new ones. This allows
the controller to progress the phase of the deployment without incurring
a resource conflict during create under most circumstances- a behavior
which can result in poor interactions with the quota system which will
charge quota for the conflicting pod.