Author: Brian Cain
This is a provider for DevPod that allows you to create a DevPod using HashiCorp Nomad.
Please report any issues or feature requests to the Github Issues page.
This project is still a work in progress, excuse our mess! <3
- Install the provider to your local machine
From Github:
devpod provider add briancain/devpod-provider-nomad
- Use the provider
devpod up <repository-url> --provider nomad
Set this options through DevPod to configure them when DevPod launches the Nomad job during a workspace creation.
- NOMAD_NAMESPACE:
- description: The namespace for the Nomad job
- default:
- NOMAD_REGION:
- description: The region for the Nomad job
- default:
- NOMAD_CPU:
- description: The cpu in mhz to use for the Nomad Job
- default: "200"
- NOMAD_MEMORYMB:
- description: The memory in mb to use for the Nomad Job
- default: "512"
- Build the provider locally
RELEASE_VERSION=0.0.1-dev ./hack/build.sh --dev
- Delete the old provider from DevPod
devpod provider delete nomad
- Install the new provider from a local build
devpod provider add --name nomad --use ./release/provider.yaml
- Test the provider
devpod up <repository-url> --provider nomad --debug