Company
Date Published
Author
Jasmine Dahilig
Word count
614
Language
English
Hacker News points
None

Summary

The Nomad 0.11 release introduces a lifecycle stanza for tasks that enables users to control when a task is run within the lifecycle of a task group allocation, allowing for more fine-grained control over task dependencies and sidecar tasks. The lifecycle stanza can be used to express task dependencies between tasks in a task group, as well as inter-job task dependencies with Consul. Users can create init tasks that are ephemeral prestart tasks that must run to completion before the main workload is started, or sidecar tasks that are started before main workload starts and run for the lifetime of the main workload. The Nomad Task Dependencies feature is now available in beta for Nomad 0.11, allowing users to try out new features and provide feedback, with a live demo session scheduled for registration.