• HashiCorp Developer

  • HashiCorp Cloud Platform
  • Terraform
  • Packer
  • Consul
  • Vault
  • Boundary
  • Nomad
  • Waypoint
  • Vagrant
Nomad
  • Install
  • Intro
  • Tutorials
  • Documentation
  • API
  • Tools
  • Plugins
  • Sign up
Nomad Home

Tutorials

Skip to main contentTutorials

Get Started

  • CLI Quick Start
  • Cluster Setup
  • Manage Jobs
  • Web UI

Fundamentals

  • Job Specifications

Use Cases

  • Autoscaling
  • Stateful Workloads
  • Task Dependencies

Production

  • Access Control
  • Advanced Scheduling
  • Edge Computing
  • Enterprise
  • Governance and Policy
  • Job Failure Handling
  • Job Updates
  • Manage Clusters
  • Nomad Variables
  • Transport Security
  • Windows

Integrations

  • Consul Service Mesh
  • Load Balancing
  • Monitor
  • Nomad Pack
  • Plugins
  • Service Discovery on Nomad
  • Templates
  • Vault

  • Resources

  • Tutorial Library
  • Community Forum
    (opens in new tab)
  • Support
    (opens in new tab)
  • GitHub
    (opens in new tab)
  1. Developer
  2. Nomad
  3. Tutorials
  4. Advanced Scheduling

Define Application Placement Preferences

Express placement preferences for job allocations within your cluster using affinities and spread. Prevent priority inversion with preemption.

Start
5 tutorials
  •  
    1min
    Advanced Scheduling with Nomad
    Learn about advanced scheduling features including affinity and spread.
    • Nomad
  •  
    10min
    Prevent Priority Inversion with Preemption
    Enable and use preemption for service and batch jobs in Nomad to keep critical jobs running by evicting lower priority work.
    • Nomad
  •  
    7min
    Express Job Placement Preferences with Affinities
    Express placement preferences for your jobs using affinities. Affinities act like soft constraints, and jobs using them will run even if the affinity can not be met.
    • Nomad
  •  
    7min
    Increase Failure Tolerance with Spread
    Prevent failures across a physical domain such as datacenter or rack from affecting application availability by using spread criteria in your jobs.
    • Nomad
  •  
    13min
    Oversubscribe Memory
    Enable and configure a job for memory oversubscription to pack more jobs in a cluster that have bursty, spiky, or front-loaded memory footprints.
    • Nomad
    • Interactive
Give Feedback(opens in new tab)
  • Certifications
  • System Status
  • Terms of Use
  • Security
  • Privacy
  • Trademark Policy
  • Trade Controls
  • Give Feedback(opens in new tab)