Skip to content

pathfinder-cm/pathfinder-agent-mruby

Repository files navigation

Pathfinder Agent

Agent for Pathfinder container manager. Ensure appropriate containers are running on the node in which this agent reside in.

Getting started

Install these dependencies:

  • build-essential
  • bison
  • clang
  • ruby

Then you can run rake compile to start the compilation process. pathfinder-agent-mruby binary will be available on mruby/build/host/bin directory.

Please ensure pathfinder server is up and running and also exports appropriate configurations before starting the agent (see configurations section).

Example:

export PF_SERVER_ADDR=127.0.0.1
export PF_CLUSTER=default
export PF_CLUSTER_PASSWORD=pathfinder

Development Setup

Install dependencies mentioned in the getting started section.

Running tests

Run rake test

Configurations

These are possible configurations that you can set via environment variables.

LXD_SOCKET_PATH
PF_SERVER_SCHEME
PF_SERVER_ADDR
PF_SERVER_PORT
PF_CLUSTER
PF_CLUSTER_PASSWORD

Getting Help

If you have any questions or feedback regarding pathfinder-agent-mruby:

Your feedback is always welcome.

Limitations

  • Graceful shutdown is not implemented yet.

Further Reading

License

MIT License, see LICENSE.

About

Agent for Pathfinder container manager. Written in mruby.

Resources

License

Stars

Watchers

Forks

Packages

No packages published