Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

mechanical-orchard/learn-nomad-cluster-setup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Set up a Nomad cluster on GCP

This repo is a custom companion to the Cluster Setup collection of tutorials, containing configuration files to create a Nomad cluster with ACLs enabled on GCP.

From the tutorial

 gcloud auth login
 gcloud config set project PROJECT_ID
 gcloud config set compute/region GCP_REGION
 gcloud config set compute/zone GCP_ZONE
 cp variables.hcl.example variables.hcl
 # Update variables
 packer init image.pkr.hcl
 packer build -var-file=variables.hcl image.pkr.hcl 
 # Get new uuids
 terraform console
 > uuid()
 # Update variables
 terraform init
 terraform apply -var-file=variables.hcl
 ./post-setup.sh
 # Apply the export commands from the output.
 ...
 Profit?

About

Companion repo for the HashiCorp tutorial collection on Nomad cluster setup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 57.4%
  • HCL 42.6%