-
Notifications
You must be signed in to change notification settings - Fork 7
feat: PUC-529 : create provisioning network on successful deployment of neutron-server #598
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
Conversation
79995f7
to
d931f5f
Compare
group: apps | ||
version: v1 | ||
eventTypes: | ||
- ADD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So is this only when the deployment is created? Can we add some descriptions / comments in these to tell the user this is how it works? We could also make this happen on update as well if we check first if the provisioning network exists?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added comments. sure I will add logic for UPDATE too. what I noticed was 4 jobs are executing simultaneously on UPDATE event. We need to have some lock to ensure only one job runs.
source: | ||
resource: | ||
apiVersion: batch/v1 | ||
kind: Job |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do we ensure only 1 job happens since it happens only on add? If we do it on update that's fine. Is there a max number of jobs that should exist? Is there a cleanup rule?
What about running this as an Argo Workflow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Argo Workflow is just a question and not an ask to change things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes we can use workflow too
6da98e0
to
c9655ab
Compare
No description provided.