cookbook 'nomad', '= 3.0.0'
nomad
(32) Versions
3.0.0
-
Follow6
installs/configures nomad
cookbook 'nomad', '= 3.0.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..
nomad::configure
Sets up simple default configuration. Optionally sets up nomad agent environment
via node.run_state['nomad_environment']
.
nomad::manage
configure the agent as a service, manage the service
Resources
See the docs for full details.
See test/fixtures/cookbooks
and test-kitchen suites for example usage.
nomad_config
property | type |
---|---|
addresses | Hash |
advertise | Hash |
bind_addr | String |
datacenter | String |
data_dir | String |
disable_anonymous_signature | [TrueClass, FalseClass] |
disable_update_check | [TrueClass, FalseClass] |
enable_debug | [TrueClass, FalseClass] |
enable_syslog | [TrueClass, FalseClass] |
http_api_response_headers | Hash |
leave_on_interrupt | [TrueClass, FalseClass] |
leave_on_terminate | [TrueClass, FalseClass] |
log_level | String |
ports | Hash |
region | String |
syslog_facility | String |
acl | Hash |
client | Hash |
consul | Hash |
sentinel | Hash |
server | Hash |
telemetry | Hash |
tls | Hash |
vault | Hash |
nomad_acl_config
property | type |
---|---|
enabled | [TrueClass, FalseClass] |
token_ttl | String |
policy_ttl | String |
replication_token | String |
nomad_client_config
property | type |
---|---|
alloc_dir | String |
chroot_env | Hash |
enabled | [TrueClass, FalseClass] |
max_kill_timeout | String |
no_host_uuid | [TrueClass, FalseClass] |
meta | Hash |
network_interface | String |
network_speed | Integer |
cpu_total_compute | Integer |
node_class | String |
options | Hash |
reserved | Hash |
servers | Array |
state_dir | String |
gc_interval | String |
gc_disk_usage_threshold | Integer |
gc_inode_usage_threshold | Integer |
gc_max_allocs | Integer |
gc_parallel_destroys | Integer |
nomad_consul_config
property | type |
---|---|
address | String |
auth | String |
auto_advertise | [TrueClass, FalseClass] |
ca_file | String |
cert_file | String |
checks_use_advertise | [TrueClass, FalseClass] |
client_auto_join | [TrueClass, FalseClass] |
client_service_name | String |
key_file | String |
server_service_name | String |
server_http_check_name | String |
server_serf_check_name | String |
server_rpc_check_name | String |
server_auto_join | [TrueClass, FalseClass] |
ssl | [TrueClass, FalseClass] |
token | String |
verify_ssl | [TrueClass, FalseClass] |
nomad_server_config
property | type |
---|---|
authoritative_region | String |
bootstrap_expect | Integer |
data_dir | String |
enabled | [TrueClass, FalseClass] |
enabled_schedulers | Array |
encrypt | String |
node_gc_threshold | String |
job_gc_threshold | String |
eval_gc_threshold | String |
deployment_gc_threshold | String |
heartbeat_grace | String |
min_heartbeat_ttl | String |
max_heartbeats_per_second | Integer |
non_voting_server | [TrueClass, FalseClass] |
num_schedulers | Integer |
protocol_version | String |
raft_protocol | Integer |
redundancy_zone | String |
rejoin_after_leave | [TrueClass, FalseClass] |
retry_join | Array |
retry_interval | String |
retry_max | Integer |
start_join | Array |
upgrade_version | String |
nomad_telemetry_config
property | type |
---|---|
disable_hostname | [TrueClass, FalseClass] |
collection_interval | String |
use_node_name | [TrueClass, FalseClass] |
publish_allocation_metrics | [TrueClass, FalseClass] |
publish_node_metrics | [TrueClass, FalseClass] |
backwards_compatible_metrics | [TrueClass, FalseClass] |
disable_tagged_metrics | [TrueClass, FalseClass] |
statsite_address | String |
statsd_address | String |
datadog_address | String |
datadog_tags | Array |
prometheus_metrics | [TrueClass, FalseClass] |
circonus_api_token | String |
circonus_api_app | String |
circonus_api_url | String |
circonus_submission_interval | String |
circonus_submission_url | String |
circonus_check_id | String |
circonus_check_force_metric_activation | [TrueClass, FalseClass] |
circonus_check_instance_id | String |
circonus_check_search_tag | String |
circonus_check_display_name | String |
circonus_check_tags | String |
circonus_broker_id | String |
circonus_broker_select_tag | String |
nomad_tls_config
property | type |
---|---|
ca_file | String |
cert_file | String |
key_file | String |
http | [TrueClass, FalseClass] |
rpc | [TrueClass, FalseClass] |
rpc_upgrade_mode | [TrueClass, FalseClass] |
verify_https_client | [TrueClass, FalseClass] |
verify_server_hostname | [TrueClass, FalseClass] |
nomad_vault_config
property | type |
---|---|
address | String |
allow_unauthenticated | [TrueClass, FalseClass] |
enabled | [TrueClass, FalseClass] |
create_from_role | String |
task_token_ttl | String |
ca_file | String |
ca_path | String |
cert_file | String |
key_file | String |
tls_server_name | String |
tls_skip_verify | [TrueClass, FalseClass] |
token | String |
Dependent cookbooks
ark >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
3.0.0 / 2020-12-18
- fix plugin config format
2.3.0 / 2020-07-14
- update default install to 0.11.3
- add acl config to default
- testing update
- add new config blocks and related resources
2.2.0 / 2019-01-22
- update to 0.8.7
2.1.0 / 2018-09-15
- update to 0.8.5
2.0.0 / 2018-09-10
- support setting nomad agent environment via node run_state (thanks @dbresson!)
- drop upstart config creation
1.2.0 / 2018-07-09
- pretty print JSON config (thanks @scalp42!)
- update test platforms
1.1.0 / 2018-05-08
- update to 0.8.3
- fix systemd unit problem (thanks @potato20!)
1.0.2 / 2018-04-17
- add new options for 0.8
- update to 0.8
1.0.1 / 2018-02-28
- update documentation
- add cluster example suites in test-kitchen
- remove name property for nomad_config
1.0.0 / 2018-02-28
- rework to use custom resources
- add new resources
- remove atlas resource
- use latest nomad
- change config root for clean cutover from old cookbook
0.13.0 / 2017-08-14
- support latest systemd cookbook
0.12.1 / 2017-06-05
- add no_host_uuid option (thanks @potato20!)
0.12.0 / 2017-03-22
- update for 0.5.5 (thanks @dbresson!)
0.11.0 / 2017-02-23
- update to 0.5.4 (thanks @erkki!)
- add create_from_vault option (thanks @dbresson!)
0.10.1/ 2017-01-04
- fix private data leak in nomad config files (thanks @evan2645!)
0.10.0 / 2016-12-07
- update to 0.5.0
0.9.0 / 2016-07-06
- update to 0.4.0 release
- add consul-related configuration options (thanks @akhoury6!)
0.8.1 / 2016-04-29
- update to 0.3.2
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