Skip to content

Conversation

haseebsyed12
Copy link
Contributor

No description provided.

@haseebsyed12 haseebsyed12 force-pushed the puc-529_create_prov_ntw branch from 79995f7 to d931f5f Compare January 15, 2025 13:57
@haseebsyed12 haseebsyed12 changed the title create provisioning network on successful deployment of neutron-server feat: PUC-529 : create provisioning network on successful deployment of neutron-server Jan 15, 2025
group: apps
version: v1
eventTypes:
- ADD
Copy link
Contributor

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?

Copy link
Contributor Author

@haseebsyed12 haseebsyed12 Jan 15, 2025

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
Copy link
Contributor

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?

Copy link
Contributor

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.

Copy link
Contributor Author

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

@haseebsyed12 haseebsyed12 force-pushed the puc-529_create_prov_ntw branch from 6da98e0 to c9655ab Compare January 15, 2025 14:47
@haseebsyed12 haseebsyed12 requested a review from cardoe January 15, 2025 14:52
@cardoe cardoe added this pull request to the merge queue Jan 16, 2025
Merged via the queue into main with commit c8948fe Jan 16, 2025
14 checks passed
@cardoe cardoe deleted the puc-529_create_prov_ntw branch January 16, 2025 14:08
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.

2 participants