Commit Graph

41 Commits

Author SHA1 Message Date
Mahmood Ali 65fb8ba637 dev: Tweaks to cluster dev scripts
Consolidate all nomad data dir in a single root
`/tmp/nomad-dev-cluster`.  Eases clean up.

Allow running script from any path - don't require devs to cd into
`dev/cluster` directory first.

Also, block while nomad processes are running and prapogate
SIGTERM/SIGINT to nomad processes to shutdown.
2020-02-03 11:50:43 -05:00
Mahmood Ali ea18569f2c prehook: fix enterprise repo remote value 2020-02-03 11:29:25 -05:00
Tim Gross 6ad9cc186d
dev: create directories for cluster script (#6927) 2020-01-10 14:25:57 -05:00
Seth Hoenig 953e40c8ed docs: vault integration docs should reference new token_explicit_max_ttl field 2019-12-02 14:22:47 -06:00
Seth Hoenig 75539ff281 docs: vault integration docs should reference new token_period field 2019-11-21 14:19:34 -06:00
Tim Gross 1210261fe2
hclfmt nomad jobspecs (#6724) 2019-11-19 10:36:41 -05:00
Drew Bailey 786989dbe3
New monitor pkg for shared monitor functionality
Adds new package that can be used by client and server RPC endpoints to
facilitate monitoring based off of a logger

clean up old code

small comment about write

rm old comment about minsize

rename to Monitor

Removes connection logic from monitor command

Keep connection logic in endpoints, use a channel to send results from
monitoring

use new multisink logger and interfaces

small test for dropped messages

update go-hclogger and update sink/intercept logger interfaces
2019-11-05 09:51:49 -05:00
Danielle Lancashire d454dab39b
chore: Format hcl configurations 2019-07-20 16:55:07 +02:00
Danielle Lancashire 47bd1e74ed devcluster: Add standalone server
This adds a single-node configuration of a dev cluster, for use when
testing things that require state restoration or multiple clients, but don't
necessarily require a 3+ node cluster.
2019-05-22 14:21:09 +02:00
Preetha Appan db6b291a5a
code review feedback 2019-05-07 16:23:32 -05:00
Preetha Appan b063fc81a4
Remove unnecessary locking and serverlist syncing in heartbeats
This removes an unnecessary shared lock between discovery and heartbeating
which was causing heartbeats to be missed upon retries when a single server
fails. Also made a drive by fix to call the periodic server shuffler goroutine.
2019-05-06 14:44:55 -05:00
Lang Martin 2cae46bf31
Merge pull request #5631 from hashicorp/b-system-sched-constraint-errors
fix system sched constraint errors
2019-05-06 11:53:40 -04:00
Preetha Appan a4b9f53d43
update changelog 2019-05-03 17:07:27 -05:00
Lang Martin 85dae46b51 dev/cluster meta tagged clients, raw_exec 2019-05-01 12:25:26 -04:00
Lang Martin 50cb734cf7 dev/hooks/pre-push refuses to push to master, still checks oss 2019-04-25 16:54:02 -04:00
Preetha Appan 282ed287da
revert unintended change 2019-01-18 17:36:35 -06:00
Preetha Appan 4ccf96de03
wip cluster with raw exec enabled 2019-01-17 10:18:19 -06:00
Alex Dadgar 71a0f43ab0 dev files 2018-06-01 13:29:11 -07:00
Alex Dadgar e8ab053662 dev helper for three node server cluster 2018-04-12 16:24:25 -07:00
Alex Dadgar 2ccaebe815 Use new Vault CLI commands in guides 2018-04-11 12:51:36 -07:00
Josh Soref cf134ec34b spelling: website 2018-03-11 19:17:53 +00:00
Josh Soref 99aea0be22 spelling: hashicorp 2018-03-11 18:11:14 +00:00
Josh Soref 37f36659d7 spelling: environment 2018-03-11 18:00:20 +00:00
Alex Dadgar 46959e29f1 guide 2017-10-31 13:14:16 -07:00
Alex Dadgar 0a5db5b197 Merge branch 'f-release-guide' of github.com:hashicorp/nomad into f-release-guide 2017-10-26 12:34:22 -07:00
Alex Dadgar 7606b987e7 fixes 2017-10-26 12:33:11 -07:00
Preetha 62802f3a06 Correct a small typo 2017-10-26 12:17:31 -05:00
Alex Dadgar c6fc5af67d Update releasing.md 2017-10-26 10:10:17 -07:00
Alex Dadgar 938deab01d document release procedure 2017-10-26 10:08:19 -07:00
Alex Dadgar e540de725d build scripts 2017-10-16 16:44:08 -07:00
Alex Dadgar 5d4f467519 ListPolicies and GetPolicy work w/o management token 2017-10-13 13:12:20 -07:00
Alex Dadgar 3918fd6fc5 Update README.md 2017-08-29 15:50:52 -07:00
Alex Dadgar 7f7482efd5 Add readmes 2017-08-29 15:49:39 -07:00
Alex Dadgar d7354c0c73 tls cluster 2017-08-29 14:33:19 -07:00
Alex Dadgar 1769b426ed fix hook 2017-08-20 20:45:00 -07:00
Alex Dadgar 38f986ca7e Add a shared git hooks directory
This PR adds a place to share git hooks.
2017-08-17 10:55:53 -07:00
Alex Dadgar 23cfdb1e31 Resolve comments 2017-08-07 11:19:46 -07:00
Alex Dadgar 21155d0a4e Rename 2017-08-02 13:33:46 -07:00
Alex Dadgar 8e9d39ee1f Persistent server config 2017-08-02 13:30:42 -07:00
Alex Dadgar 50b041c6d1 slightly clean default client.config 2017-08-02 13:23:07 -07:00
Alex Dadgar c004742860 Add `dev/` for configs for use by Nomad developers
This PR adds a folder `dev/` which can be used to store helpful commands
and configs for use when developing Nomad itself.
2017-08-02 13:20:06 -07:00