With the release of HashiCorp Nomad 1.0, Nomad Enterprise now includes Dynamic Application Sizing, an expansion of Nomad's existing Autoscaler capabilities.
HashiCorp Nomad 1.0 announced a new Nomad Enterprise feature, Dynamic Application Sizing (DAS). DAS enables organizations to optimize application resource consumption intelligently and non-disruptively at scale without the manual, trial-and-error of hardcoding resource requirements.
Dynamic Application Sizing was designed with the following goals in mind:
Nomad's Dynamic Application Sizing feature is comprised of three new components:
Dynamic Application Sizing builds on top of Nomad's existing Autoscaler capabilities.
Using the new DAS plugins, the Nomad Autoscaler pulls a list of vertical scaling policies from Nomad. These policies indicate which jobs should be monitored by DAS and specify the strategy for making resource recommendations, including customizations based on the tolerance of the job to out-of-memory errors or CPU throttling. The Autoscaler pulls historical information about resource utilization from the configured APM and then proceeds to collect point-in-time resource utilization.
The Nomad UI provides statistics about DAS recommendations to build operator confidence.
The configured DAS strategy plugin consumes these metrics, determines an optimal resource value, and submits that value to the Recommendation API in Nomad. The UI displays these recommendations, along with statistics about the tasks that were computed by the autoscaler. After reviewing the recommendation in the Nomad UI, users can choose to dismiss the recommendation or apply it; applying the recommendation updates the job. Furthermore, after reviewing the recommendation, an operator can tune the scaling strategy.
Here is a list of resources for more information and help you get started
Watch Presentation from Armon explaining DAS
Watch video demonstrating how DAS works
Read Learn tutorial on DAS concepts
Test it out yourself with a Vagrant-based demo on GitHub
Read documentation on configuring DAS
You can start a free 30-day trial of Nomad Enterprise or reach out to our sales team for more information.
Learn about the internals of Nomad's evaluation broker and how we recently reduced scheduler loads by 90% during rapid cluster changes.
HashiCorp Nomad 1.5, now GA, improves management of security and access with single sign-on and OIDC support, and adds dynamic node metadata, policy management in the UI, and more.
Before we ring in the new year, here’s a look back at some of the most important moments in 2022 for HashiCorp.