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 Actions #18627

Closed
22 of 32 tasks
philrenaud opened this issue Sep 29, 2023 · 1 comment · Fixed by #18794
Closed
22 of 32 tasks

☂️ Nomad Actions #18627

philrenaud opened this issue Sep 29, 2023 · 1 comment · Fixed by #18794
Assignees
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/actions Nomad Task Actions type/enhancement

Comments

@philrenaud
Copy link
Contributor

philrenaud commented Sep 29, 2023

Nomad Actions

Operator-sanctioned sets of actions in a Nomad job spec that users can execute, allowing for fine-grained control over task execution with ACL policies using the principle of least privilege.

Divided into two main phases:

  • alloc_exec-enabled actions
  • ACL-granular actions

Draft implementation
Figma

RFC (NMD-184)

  • Draft RFC
  • Circulate and discuss
  • RFC Approval

Scaffolding

UI

API

Expanded Functionality

  • Run action on one specific, one random, or many allocs
  • Actions with passed arguments / user-provided params
    • Presently out of scope
  • Action.tags
  • Action.ui.style (=critical, =primary, etc.)
  • Alias nomad job action to nomad action #19039

Docs

  • Add Actions block to jobspec docs
  • Add running actions to ui tutorials
  • Add nomad action to cli docs

ACL

(Items considered phase 2 - #18800)

  • Blanket ACL rules (namespace.actions.policy)
  • Task-level ACL rules (namespace.job.group.task.action.policy)
  • Arbitrary tag-level ACL rules (action.tags.includes(x)

Expansion

@philrenaud philrenaud added this to the 1.7.0 milestone Sep 29, 2023
@philrenaud philrenaud self-assigned this Sep 29, 2023
@philrenaud philrenaud added the theme/actions Nomad Task Actions label Sep 29, 2023
@lgfa29 lgfa29 added the stage/accepted Confirmed, and intend to work on. No timeline committment though. label Oct 5, 2023
@philrenaud philrenaud changed the title ☂️ Task Actions ☂️ Nomad Actions Oct 6, 2023
@philrenaud philrenaud linked a pull request Oct 18, 2023 that will close this issue
@philrenaud philrenaud reopened this Oct 20, 2023
@philrenaud philrenaud removed this from the 1.7.0 milestone Dec 1, 2023
@philrenaud
Copy link
Contributor Author

Marking as complete/closed; this feature has happily been released in the wild for 6+ months and any further governance work can be handled in #18800

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/actions Nomad Task Actions type/enhancement
Projects
Status: 1.7 - Beta (ETA October 31)
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants