schmichael / nomad-podman-vagrant

Vagrantfile for Nomad + Podman for testing https://github.com/pascomnet/nomad-driver-podman

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nomad Podman Testing

Vagrantfile to setup a VM with Nomad + Podman for testing the Nomad Podman Driver.

Prereqs

Test Nomad+Podman

# Create box
vagrant up

# Run Nomad
vagrant ssh
nomad agent -config /vagrant/client.hcl

# In another terminal
vagrant ssh
nomad run /vagrant/example.nomad

# Connect to redis
nomad status alloc-id-from-run
nc ip-from-above port-from-above
ping
# should see +PONG
quit
# should see +OK
^D

Notes

  • setup.sh does all of the ugly system configuration
  • The reboot at the end of the setup script is kind of janky ¯\_(ツ)_/¯
  • Only tested using a Fedora box
  • podman ps doesn't seem to list Nomad tasks
  • Is this root-less? Nomad doesn't require root, but podman+conmon seem to run as root...

About

Vagrantfile for Nomad + Podman for testing https://github.com/pascomnet/nomad-driver-podman

License:The Unlicense


Languages

Language:Shell 69.5%Language:HCL 30.5%