Skip to content

Conversation

@allisonlarson
Copy link
Contributor

@allisonlarson allisonlarson commented Nov 7, 2025

Description

Adds the read-job and submit-recommendation permissions to the default scale policy. Both are needed for the nomad-autoscaler (enterprise) to run using the nomad targets. Additional APM and target permissions are still required.

Testing & Reproduction steps

Run the autoscaler with ACLs enabled, and using the scale policy.

Links

Internal ref: https://hashicorp.atlassian.net/browse/NMD-955

Contributor Checklist

  • Changelog Entry If this PR changes user-facing behavior, please generate and add a
    changelog entry using the make cl command.
  • Testing Please add tests to cover any new functionality or to demonstrate bug fixes and
    ensure regressions will be caught.
  • Documentation If the change impacts user-facing functionality such as the CLI, API, UI,
    and job configuration, please update the Nomad website documentation to reflect this. Refer to
    the website README for docs guidelines. Please also consider whether the
    change requires notes within the upgrade guide.

Reviewer Checklist

  • Backport Labels Please add the correct backport labels as described by the internal
    backporting document.
  • Commit Type Ensure the correct merge method is selected which should be "squash and merge"
    in the majority of situations. The main exceptions are long-lived feature branches or merges where
    history should be preserved.
  • Enterprise PRs If this is an enterprise only PR, please add any required changelog entry
    within the public repository.
  • If a change needs to be reverted, we will roll out an update to the code within 7 days.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

Adds the `read-job` and `submit-recommendation` permissions to the
default `scale` policy. Both are needed for the nomad-autoscaler
(enterprise) to run using the nomad targets. Additional APM and target
permissions are still required.
@allisonlarson allisonlarson requested review from a team as code owners November 7, 2025 00:03
@jrasell jrasell added this to the 1.11.x milestone Nov 7, 2025
@aimeeu aimeeu added the theme/docs Documentation issues and enhancements label Nov 7, 2025
aimeeu
aimeeu previously approved these changes Nov 7, 2025
Copy link
Contributor

@aimeeu aimeeu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for updating the docs!

gulducat
gulducat previously approved these changes Nov 7, 2025
Copy link
Member

@gulducat gulducat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

recommending just a bit of wiggle on the changelog

Copy link
Member

@gulducat gulducat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚖️

@aimeeu
Copy link
Contributor

aimeeu commented Nov 10, 2025

Note: in prep for migrating the docs to the web-unified-docs repo, the docs freeze starts on Friday, 11/14. Which release is this code going into? I need to figure out where the docs in this PR should go.

@allisonlarson
Copy link
Contributor Author

@aimeeu this won't be going into 1.11.0 release, but will be in the next one (I think 1.11.1?)

@allisonlarson allisonlarson added backport/ent/1.8.x+ent Changes are backported to 1.8.x+ent backport/ent/1.10.x+ent backport to 1.10.x+ent release line backport/1.11.x backport to 1.11.x release line labels Nov 12, 2025
@allisonlarson allisonlarson merged commit 75f43fd into main Nov 12, 2025
48 checks passed
@allisonlarson allisonlarson deleted the b-fix-scale-permissions branch November 12, 2025 17:47
aimeeu added a commit to hashicorp/web-unified-docs that referenced this pull request Nov 19, 2025
…1345)

## Description

This moves the docs content from Allison Larson's merged PR
hashicorp/nomad#27061

NMD-955 port from nomad/release-1.11.x to nomad/1.11.1


## Links

Jira: [NMD-955]

## Contributor checklists

Review urgency:

- [ ] ASAP: Bug fixes, broken content, imminent releases
- [ ] 3 days: Small changes, easy reviews
- [ ] 1 week: Default expectation
- [x] Best effort: No urgency

Pull request:

- [x] Verify that the PR is set to merge into the correct base branch
- [ ] Verify that all status checks passed
- [ ] Verify that the preview environment deployed successfully
- [ ] Add additional reviewers if they are not part of assigned groups

Content:

- [ ] I added redirects for any moved or removed pages
- [ ] I followed the [Education style
guide](https://github.com/hashicorp/web-unified-docs/tree/main/docs/style-guide)
- [ ] I looked at the local or Vercel build to make sure the content
rendered correctly

## Reviewer checklist

- [ ] This PR is set to merge into the correct base branch.
- [ ] The content does not contain technical inaccuracies.
- [ ] The content follows the Education content and style guides.
- [ ] I have verified and tested changes to instructions for end users.


[NMD-955]:
https://hashicorp.atlassian.net/browse/NMD-955?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/ent/1.8.x+ent Changes are backported to 1.8.x+ent backport/ent/1.10.x+ent backport to 1.10.x+ent release line backport/1.11.x backport to 1.11.x release line theme/docs Documentation issues and enhancements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants