The Seashell Agent
Agent meant for executing on edge devices and synchronizing their configurations with those defined in the Seashell Platform.
- Golang 1.16+
seashell agent --config=<config_file>
An example configuration can be found in /dist/seashell.hcl
-
log_level
: -
name
: Device name for identifying it in Nomad and Consul -
data_dir
:
The Seashell agent exposes a simple REST API that allows for simple system information queries.
GET /status
:reports modules'systemd
services current active state and substate.
Sample response:
$ curl -X GET localhost:5345/status
Nomad: active running
Consul: failed failed
TODO
- Fork it
- Download your fork (git clone https://github.com/your_username/agent && cd agent)
- Create your feature branch (git checkout -b my-new-feature)
- Make changes and stage them (git add .)
- Commit your changes (git commit -m 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new pull request
- Code coverage
The Seashell Agent is released under the Apache 2.0 license. See LICENSE.txt