Skip to content
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

Do not fail fast for CreateContainerConfigError when message include issues mounting the secret, to let the pods be recreated and possible succeed #885

Merged
merged 2 commits into from
Apr 5, 2022

Conversation

d1egoaz
Copy link
Contributor

@d1egoaz d1egoaz commented Apr 4, 2022

Intention is to stop failing fast and give the pod time to be recreated while the secret is being created, my theory is that with more time the pod will be able to run (with some kubernetes retries) after the secret is finally created.

What would be the side effect of reverting this?:

  • I can think of some deploys are going to take more time to fail, but they will eventually give up (retries) and will fail as something is wrong trying to create the pod, it just that it will take more time to return the deployment result.

Reverts #218

@d1egoaz d1egoaz requested a review from a team as a code owner April 4, 2022 22:07
@d1egoaz d1egoaz requested review from JamesOwenHall and camteasdale143 and removed request for a team April 4, 2022 22:07
Intention is to allow the pod to be recreated a few times while the secret is being created,
currently it's failing fast, my theory is that with more time the pod will be able to run after the
secret is finally created
@d1egoaz d1egoaz force-pushed the d1egoaz_improve-error-detection branch from d7aef28 to 3f5da11 Compare April 4, 2022 22:43
@d1egoaz d1egoaz changed the title revert PR that tried to fail fast to allow the pod to try to run Revert PR that tried to fail fast when there are container initialization issues to give pods time to be recreated and possible succeed Apr 4, 2022
@d1egoaz d1egoaz merged commit 4f4da19 into master Apr 5, 2022
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems April 5, 2022 15:16 Inactive
@d1egoaz d1egoaz changed the title Revert PR that tried to fail fast when there are container initialization issues to give pods time to be recreated and possible succeed Do not fail fast for CreateContainerConfigError when message include issues mounting the secret, to let the pods be recreated and possible succeed Apr 5, 2022
@d1egoaz d1egoaz deleted the d1egoaz_improve-error-detection branch April 5, 2022 18:54
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems September 26, 2023 12:54 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants