hashicorp / hashicorp/nomad

proposal - allow planning node changes

Open
#2,728 0 comments 4 reactions 0 assignees View on GitHub
theme/core type/enhancement
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

In an effort to maximize resource utilization in my nomad clusters while maintaining confidence that certain jobs can be placed, it would be a great benefit if I would have a tool for running plan on removing a node(s) from the cluster just like I have for placing a job or changing one. This tool would report the plan/placements that would happen if the specified set of nodes would go down/would be drained.

With this in place I could manage the provisioning/sizing of my different node classes (with a periodic job for example) provisioning/decommissioning capacity in a manner that maximizes utilization but still retains enough capacity to prevent placement failures on class/constraint basis for those jobs that are most important for me.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the existing planning behavior for placing or changing jobs, then trace how node drain or failure affects allocations. Define the planning input for a specified set of nodes and verify that the result reports the placements that would occur after those nodes go down or are drained.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
distributed-systems, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.