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

Refactor custom wait loops to ansible 2.8+ k8s module wait_* parameters #390

Open
1 task
jmaupetit opened this issue Nov 5, 2019 · 0 comments
Open
1 task

Comments

@jmaupetit
Copy link
Contributor

jmaupetit commented Nov 5, 2019

Purpose

We want Arnold deployments to be synchronous for crucial steps. Hence, we've implemented wait loops that ensure that our deployment respects particular conditions (the number of pods with a particular status, etc.).

Ansible 2.8 k8s module introduced new parameters that does exactly what we tried to achieve [1]. Switching to this new standard will drastically simplify our code.

Proposal

  • use k8s module wait_* parameters

References

[1] https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#id3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant