cookbook 'nomad', '= 0.8.0'
nomad
(32) Versions
0.8.0
-
Follow6
installs/configures nomad
cookbook 'nomad', '= 0.8.0', :supermarket
knife supermarket install nomad
knife supermarket download nomad
nomad
Simple cookbook for installing/managing Nomad, a
distributed, highly-available, datacenter-aware scheduler.
Recipes
nomad::default
Includes the install, configure, manage recipes.
nomad::install
Downloads and installs nomad from the URL specified in attributes/install.rb
.
nomad::configure
Sets up minimal default configuration (controlled by attributes/configure.rb
using the provided resources for global, server, client, and atlas
configuration blocks.
nomad::manage
Installs a system service definition for nomad, using provided daemon args in
attributes/manage.rb
, and enable and start the service.
Resources
nomad*config
resources are for configuring nomad. For full documentation,
see the nomad docs.
nomad_config
attribute | kind_of |
---|---|
region | String |
datacenter | String |
data_dir | String |
log_level | String |
bind_addr | String |
enable_debug | [TrueClass, FalseClass] |
ports | Hash |
addresses | Hash |
advertise | Hash |
telemetry | Hash |
leave_on_interrupt | [TrueClass, FalseClass] |
leave_on_terminate | [TrueClass, FalseClass] |
enable_syslog | [TrueClass, FalseClass] |
syslog_facility | String |
disable_update_check | [TrueClass, FalseClass] |
disable_anonymous_signature | [TrueClass, FalseClass] |
http_api_response_headers | Hash |
nomad_server_config
attribute | kind_of |
---|---|
enabled | [TrueClass, FalseClass] |
bootstrap_expect | Integer |
data_dir | String |
protocol_version | String |
num_schedulers | Integer |
enabled_schedulers | Array |
node_gc_threshold | String |
rejoin_after_leave | [TrueClass, FalseClass] |
retry_join | Array |
retry_interval | String |
retry_max | Integer |
start_join | Array |
nomad_client_config
attribute | kind_of |
---|---|
enabled | [TrueClass, FalseClass] |
state_dir | String |
alloc_dir | String |
servers | Array |
node_id | String |
node_class | String |
meta | Hash |
options | Hash |
network_interface | String |
network_speed | Integer |
max_kill_timeout | String |
reserved | Hash |
nomad_atlas_config
attribute | kind_of |
---|---|
infrastructure | String |
token | String |
join | [TrueClass, FalseClass] |
endpoint | String |
nomad_job
Resource for managing nomad jobs via templates. For help configuring jobs,
see the nomad job spec.
attribute | kind_of |
---|---|
cookbook | String |
source | String |
path | String |
variables | Hash |
Dependent cookbooks
ark >= 0.0.0 |
systemd >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.8.0 / 2016-03-16
- update to 0.3.1
- add new config options reserved, and retry_max
0.7.0 / 2016-03-04
- documentation!
- use cadvisor job for testing instead of redis, as it downloads faster
- add CentOS 6 to supported platforms
- add additional configuration options as resource attributes, now up to date with the options as of the 0.3.0 release.
- fix nomad_job stop action to use resource name instead of hcl path
0.6.4 / 2016-02-26
- update to nomad 0.3.0
0.6.3 / 2016-02-14
-
add start_join configuration
0.6.2 / 2016-01-14
update for 0.2.3 release (thanks @ryanslade!)
update test suite platforms
0.6.1 / 2015-12-09
- update for 0.2.1 release
0.6.0 / 2015-11-20
- update for 0.2.0 release
0.5.0 / 2015-10-10
- use latest nomad release
- extended resource attribute validation
- add inital api-related classes
0.4.0 / 2015-10-06
- job lifecycle management run/update via notify, stop
- fixed potential for config resource file path collisions
- testing fixes
0.3.0 / 2015-10-05
- update to latest release
- fixes for EL 6
- testing fixes for EL 7
0.2.0 / 2015-10-03
- allow alternate config paths
- allow setting daemon args
- add network_{interface,speed} attributes
- add nomad_job resource for managing jobs
- testing improvements
0.1.0 / 2015-10-03
- initial release
Foodcritic Metric
0.8.0 passed this metric
0.8.0 passed this metric