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

Nomad Job Action with periodic schedule #24741

Open
suikast42 opened this issue Dec 20, 2024 · 6 comments
Open

Nomad Job Action with periodic schedule #24741

suikast42 opened this issue Dec 20, 2024 · 6 comments

Comments

@suikast42
Copy link
Contributor

Hello and merry christmas ,

I define some backup actions for my postgres deployment over job action.

But I can't find any 'nomad' way to trigger the this actions over periodic way.

This could be very handy.

@rahadiangg
Copy link

you can use periodic block

@suikast42
Copy link
Contributor Author

you can use periodic block

I know the periodic block. But how can I trigger a sepecific action in periodic block ?

@tgross
Copy link
Member

tgross commented Jan 6, 2025

Just some design thinking on this: architecturally an action block is driven by user intent -- there's a HTTP request that creates a websocket that gets hooked up to a streaming RPC. Having a "periodic action" would require a new mechanism on the client to execute the action. We'd need to decide where to pipe the stdout/stderr too -- they can't go into the client logs, for example, because those aren't accessible to job authors.

@suikast42
Copy link
Contributor Author

I had feared that this is the case. Should I close this issue or is it planed to do so ?

@tgross
Copy link
Member

tgross commented Jan 7, 2025

I don't think it's an insurmountable problem. I'll mark it for further discussion and roadmapping.

@tgross tgross added the hcc/jira label Jan 7, 2025
@tgross tgross moved this from Needs Triage to Needs Roadmapping in Nomad - Community Issues Triage Jan 7, 2025
@tgross tgross added the theme/actions Nomad Task Actions label Jan 7, 2025
@suikast42
Copy link
Contributor Author

Ok. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs Roadmapping
Development

No branches or pull requests

3 participants