https://github.com/koalalorenzo/backpack
Template system and package manager to deploy Hashicorp Nomad Jobs. Mirror on GitHub, Official repo available on Gitlab.com
https://github.com/koalalorenzo/backpack
backpack hashicorp-nomad helm nomad nomad-backpack nomad-jobs package
Last synced: 4 months ago
JSON representation
Template system and package manager to deploy Hashicorp Nomad Jobs. Mirror on GitHub, Official repo available on Gitlab.com
- Host: GitHub
- URL: https://github.com/koalalorenzo/backpack
- Owner: koalalorenzo
- License: lgpl-3.0
- Archived: true
- Created: 2020-09-16T16:24:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-15T22:48:19.000Z (over 4 years ago)
- Last Synced: 2024-10-04T13:35:26.575Z (8 months ago)
- Topics: backpack, hashicorp-nomad, helm, nomad, nomad-backpack, nomad-jobs, package
- Language: Go
- Homepage:
- Size: 324 KB
- Stars: 18
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Nomad's Backpack 🎒
[Backpack](https://backpack.qm64.tech) 🎒 is a packaging system for
[Hashicorp Nomad](https://www.nomadproject.io) that allows to:* Helps you define and install complex jobs configuration
* Helps building reproducible jobs across multiple Nomad clusters
* Simplifies updates to new version of jobs
* Allows you to publish and share packages of applicationsPlease, keep in mind that this is designed for Nomad, and it might result as
very different than Helm, as Kubernetes is way more than a scheduler.
Read more [here](https://www.nomadproject.io/intro/vs/kubernetes.html) about
the differences between k8s and nomadTo learn more about the motivation behind the development of this project
check [the blog post on Qm64 website](https://qm64.tech/posts/202011-hashicorp-nomad-backpack/).If you need some help or you want to stay updated with the latest news,
[join Qm64's chatroom on Matrix](https://matrix.to/#/#qm64:matrix.org?via=matrix.org)Backpack is currently tested against Nomad version 0.12.8
## TL;DR: Install
You can manually download the latest release from
[the release page here](https://gitlab.com/Qm64/backpack/-/releases).Or compile the binaries:
```shell
go get -v gitlab.com/Qm64/backpack
cd $GOPATH/src/gitlab.com/Qm64/backpack/
make install
```## TL;DR How to Use
**Create** your first pack, by using the boilerplate directory structure:```shell
backpack create nginx
```**Pack** all the files into one single pack:
```shell
backpack pack ./nginx-0.1.0/
```**Customize** the values for the template to configure, enable, adjust the jobs:
```shell
backpack unpack values ./nginx-0.1.0.backpack -f ./values.yaml
```**Plan** and validate (dry-run) the jobs of a package before running:
```shell
backpack plan ./nginx-0.1.0.backpack -v ./values.yaml
```**Run** your Nomad Jobs with my custom values:
```shell
backpack run ./nginx-0.1.0.backpack -v ./values.yaml
```**Check** the status of the job allocations:
```shell
backpack status ./nginx-0.1.0.backpack --all
```Unpack, customize or Run a backpack **from an URL**:
```shell
backpack unpack values https://backpack.qm64.tech/examples/redis-6.0.0.backpack -f ./values.yaml
backpack run https://backpack.qm64.tech/examples/redis-6.0.0.backpack -v values.yaml
```**Get Help** and learn more for each command
```shell
backpack help
```Happy Backpacking! 🎒😀
## Read More
* [How to build Backpack binaries from source code](docs/build.md)
* [How to install Backpack from source code](docs/build.md#installing)
* [How to use backpack with Helm](docs/usage.md)# Copyright and License
Copyright © 2020 Lorenzo Setale https://setale.me
The full license is available in the file [LICENSE](LICENSE)