Update Nomad configurations and ACL policies for media jobs#84
Merged
ExtraToast merged 4 commits intomainfrom Apr 13, 2026
Merged
Update Nomad configurations and ACL policies for media jobs#84ExtraToast merged 4 commits intomainfrom
ExtraToast merged 4 commits intomainfrom
Conversation
… be available on the singular node that is allowed to runit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request primarily reduces resource allocations for several media services and updates operational policies and constraints in the infrastructure configuration. The most significant changes are grouped below:
Resource allocation reductions for media services:
memoryandmemory_maxallocations for thedownloads,jellyfin,radarr, andsonarrjobs in their respective Nomad job files to optimize resource usage. (infra/nomad/jobs/media/downloads.nomad.hcl[1] [2] [3];infra/nomad/jobs/media/jellyfin.nomad.hcl[4];infra/nomad/jobs/media/radarr.nomad.hcl[5];infra/nomad/jobs/media/sonarr.nomad.hcl[6]Operational and scheduling changes:
max_parallelto 0 in thejellyfinjob, which means updates will be rolled out serially rather than in parallel. (infra/nomad/jobs/media/jellyfin.nomad.hclinfra/nomad/jobs/media/jellyfin.nomad.hclL11-R11)alloyjob to ensure it only runs on nodes withmeta.node_typeset tocloud. (infra/nomad/jobs/observability/alloy.nomad.hclinfra/nomad/jobs/observability/alloy.nomad.hclR6-R10)Policy and permissions updates:
setup.shto grantwritepermissions (instead ofread) for multiple resource types, and removed theread-fsandalloc-execcapabilities, leaving onlyalloc-node-exec. (infra/scripts/setup.shinfra/scripts/setup.shL920-R945)