Overview of Levant features
mainLevant is an open source templating and deployment tool for HashiCorp Nomad jobs. It is designed to provide high visibility into the deployment lifecycle through several key features:
- Realtime Feedback: Uses watchers to provide live updates on Nomad job deployments.
- Advanced Job Status Checking: Monitors jobs, evaluations, and allocations to ensure they reach the desired state (critical for system and batch jobs).
- Dynamic Job Group Counts: Automatically updates rendered templates with current job group counts if the job is already running in the cluster.
- Failure Inspection: Automatically inspects allocations and logs events upon deployment failure to assist in debugging.
- Canary Auto Promotion: Supports a
canary-auto-promotetime period to automatically promote healthy canaries after a threshold is met. - Variable Support: Supports template variable declaration using
.json,.tf,.yaml, and.ymlfiles. - Auto Revert Checking: Tracks rollback deployments if a job fails to pass its healthy threshold and has auto-revert enabled.