Giter Club home page Giter Club logo

faas-nomad-x's People

Contributors

acornies avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

faas-nomad-x's Issues

Finish off ProviderConfig tests

Basic configuration by .hcl file exists, but more tests are needed for file + merging with defaults, cmd overrides etc.

More test cases should be added.

Finish off Deploy handler with tests

Existing deploy handler code needs to be ported from faas-nomad with the additions of:

  • Map Vault provider config to jobs with secrets
  • Additional annotation overrides and existing constraints
  • Map TLS config to Nomad endpoint
  • Use provider config defaults and override from function params

Secrets handler and Vault testing

Since faas-nomad-x requires a direct Vault connection (app role), provide scaffolding for testing secrets handler using Vault's in-memory testing package

How to deploy?

Hi me again...

My first steps around this project.
This is what I did after installing vagrant, nomad & virtualbox

vagrant up
nomad run default.hcl

I get this

Error getting job struct: Error parsing job file from default.hcl: 7 error(s) occurred:

* invalid key: listen_port
* invalid key: log_level
* invalid key: health_enabled
* invalid key: auth
* invalid key: nomad
* invalid key: vault
* invalid key: consul

am I doing anything wrong?

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.