Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.68 KB

README.md

File metadata and controls

35 lines (28 loc) · 1.68 KB
title author slug env shipyard_version
Nomad & Consul Cluster for testing CSI
Leela Venkaiah G
nomad-csi
eval $(shipyard env)
>= 0.5.3

Local Development/Testing of CSI in Nomad & Consul

Shipyard Installation

  • Refer shipyard docs for installing shipyard on your local machine
  • Clone current repo for bringing up Nomad & Consul cluster with defaults to use Kadalu (or any) CSI
  • You can refer shipyard docs to use current repo as shipyard module and ya, clone and run command shipyard run also would do
  • Refer hcl files in the repo to make any adjustments

Shipyard Run

  • cd to current local repo and run shipyard run and wait for it's completion
  • You can install nomad binary for talking with Nomad agent created by Shipyard or use the same container as well (former is preferred)
  • In general, nomad will be running on port 4646 but shipyard brings it up on an arbitrary port
  • Before using nomad binary run eval $(shipyard env)

Using Kadalu

  • Not to re-iterate steps here for running Kadalu CSI in Nomad, please refer Kadalu repo
  • If there's an unreleased Kadalu version mentioned in the vars then it signifies the changes are tested with the commit which'll be part of that release

Tested with below versions

  • Shipyard: v0.5.3
  • Nomad: v1.1.0
  • Consul: v1.14.7
  • Kadalu: v1.1.0

Thanks nicholasjackson for pushing fixes wrt Nomad configs and eveld for quick ack's in discord