Commit graph

161 commits

Author SHA1 Message Date
Peter Dave Hello 3798b97935 Use CONSUL_VERSION variable in demo Vagrantfile 2018-04-17 13:51:30 +08:00
Peter Dave Hello 180a59093c Fix consul download url in Vagrant demo
This issue was introduced in 07cbe23b8c5bc23a4290a577909f1731de81dc7c

```
$ curl -I https://releases.hashicorp.com/consul/1.0.0/consul_1.0.7_linux_amd64.zip
curl: (22) The requested URL returned error: 403 Forbidden

$ curl -I https://releases.hashicorp.com/consul/1.0.7/consul_1.0.7_linux_amd64.zip
HTTP/1.1 200 OK
Cache-Control: max-age=31536000, stale-white-revalidate=86400,
stale-if-error=604800, public
Content-Disposition: attachment
Last-Modified: Fri, 13 Apr 2018 17:21:08 GMT
ETag: "c5ed9baed01b2b3e52a7ecb9850cecc6"
Content-Type: application/zip
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
Content-Length: 12317246
Accept-Ranges: bytes
Date: Mon, 16 Apr 2018 07:04:47 GMT
Connection: keep-alive
```
2018-04-16 15:04:55 +08:00
Alex Dadgar 315564ae94 Bump versions 2018-04-13 16:16:16 -07:00
Michael Schurter 7dcea6a37f demo: give agents unique names
Give demo agents unique names to improve `nomad node status` output.
Since the agents default to the hostname, they all had the same name
whether using the root or demo Vagrantfiles.
2018-03-27 14:29:53 -07:00
Michael Schurter 1cc4759025 Add demo TLS certificates and configs
As well as a brief readme and makefile for generating the certificates.
2018-01-09 10:14:42 -08:00
Michael Schurter 7cc8a4825f Update site for 0.7.0 2017-11-01 11:25:34 -07:00
Alex Dadgar 4173834231 Enable more linters 2017-09-26 15:26:33 -07:00
Anubhav Mishra 3167a0110a update consul version to 0.9.3 2017-09-23 20:38:32 -07:00
Alex Dadgar d4be9b22d4 bump getting started vagrant 2017-09-11 16:46:54 -07:00
Chelsea Holland Komlo 1867ab3b82 automatically install autocomplete 2017-08-25 23:38:24 +00:00
Michael Schurter 51c6aa1872 Oops! Forgot demo/vagrant/cfssl.json file 2017-08-11 20:57:59 -07:00
Michael Schurter 930dc9ef38 Lots of fixes from @sethvargo
* hclfmt the world
  * 2 space indent
  * make every example well formed with stanzas and comments
* jsonfmt too
* mdfmt manually
  * _ instead of *
  * no [links][], only [links][links]
* ordered lists instead of bullets when possible
* lots of wording fixes
* de-contractionization
* add 127.0.0.1 to SANs
* -1 on intentional errors
* -1 on first person
2017-08-01 15:40:36 -07:00
Michael Schurter a11244ac62 Switch to cfssl and get everything working 2017-07-27 14:47:43 -07:00
Michael Schurter 36ec2793b6 WIP tls guide 2017-07-26 17:25:28 -07:00
Alex Dadgar 5e1b52ba68 Update demo vagrant 2017-07-26 15:22:06 -07:00
Kate Taggart 0f92cf9058 Getting Started guide updates for 0.6.0 (#2909)
* Add new commands for 0.6

* update version in documnetation for 0.6

* more information in example.nomad

* 0.6 additional information for viewing status of a job

* 0.6 status for alloc-status

* changes with 0.6 in modifying a job

* status is healthy when consul is running

* make new date consistent in

* add Latest Deployment and Deployed sections to  output

* small changes in status values so that things the user should see as thesame, are the same in the example (e.g. Node ID should be the same in all places we list it in the example)

* further information in job status added in 0.6

* update  output when changing redis version

* make new date consistent in

* add Latest Deployment and Deployed sections to  output

* small changes in status values so that things the user should see as thesame, are the same in the example (e.g. Node ID should be the same in all places we list it in the example)

* Add new commands for 0.6

* update version in documnetation for 0.6

* more information in example.nomad

* 0.6 additional information for viewing status of a job

* 0.6 status for alloc-status

* changes with 0.6 in modifying a job

* status is healthy when consul is running

* further information in job status added in 0.6

* evaluation  status for deployment in 0.6

* updating client demo config to match website

* update output of status for cluster

* update  output when changing redis version

* update terminal output of adding more redis instances.

* small update so id numbers are consistent in example

* update ouput for , also stitch up ids from previous lines to match

* add  to output when starting server and clients

* add  to  output

* remove text showing large parts of example.nomad file

* Small fixes to stopping and updating a job
2017-07-26 14:24:50 -07:00
Michael Schurter 24e5e2faa0 Advertise block shouldn't be needed in 0.6 2017-07-24 15:58:28 -07:00
Michael Schurter 0192fb7a4c Remove synced folder from demo vagrant
Demo vagrant isn't intended to be used from a cloned repo, so this was
syncing random host folders which is a bit sketchy.
2017-07-13 11:47:19 -07:00
Michael Schurter caaf4adbf2 Don't require cloned repo for demo vagrant
Also update how Docker installed to match the latest upstream
instructions.
2017-07-11 08:00:46 -07:00
Michael Schurter a296a24215 Start consul in getting started vagrant
Sneak a version bump to consul in as well
2017-07-03 16:45:13 -07:00
Michael Schurter 6e7cc3964e Merge pull request #2709 from hashicorp/f-advertise-docker-ips
Advertise driver-specific addresses
2017-07-03 14:04:12 -07:00
Michael Schurter e81252ba45 Default no_host_uuid to true instead of false
The host UUID isn't unique in many virtualized cases and of dubious
value even when it is univerally unique. Default to a random UUID.
2017-06-23 16:23:01 -07:00
Michael Schurter 8d677bc6b9 Fix lxc tests 2017-06-21 17:19:08 -07:00
Ben e801af74cf Make example clients generate random HostIDs
The tutorial has you make two clients on the same Vagrant box, so they
end up with the same secret ID.

Fixes #2661.
2017-05-21 19:20:32 -04:00
Alex Dadgar cd7538dc44 Fix readme 2017-05-17 12:57:38 -04:00
Alex Dadgar e00f9c9413 Restore state + upgrade path 2017-05-02 18:21:49 -07:00
Miguel Gagliardo bf1ab0a321 Bumping up NOMAD version to 0.5.6 and adding version as ENV variable 2017-04-25 18:02:33 -03:00
Alex Dadgar 3d978e1e13 remove second client1 2017-03-11 17:25:03 -08:00
Alex Dadgar 6910678c21 Allow random UUID 2017-02-27 13:42:37 -08:00
Michael Schurter 4cd173c1bb Bump website + demo to 0.5.4 2017-01-31 17:36:36 -08:00
Michael Schurter 51dc39dae9 Upgrade demo vm to xenial/16.04 as well 2017-01-27 16:08:21 -08:00
Alex Dadgar 567817a099 vagrant version 2017-01-03 11:36:55 -08:00
Michael Schurter c2287adeee Fix demo vagrant server by making hostname resolve 2016-12-15 16:25:58 -08:00
Alex Dadgar f94c8a3588 Update version 2016-12-12 13:56:34 -08:00
Kerim Satirli 981f5fb4d1 bumps Nomad from 0.4.1 to 0.5.0
Noticed that the `Vagrantfile` still references `0.4.1` of Nomad.

Verified this still works by testing it with all steps listed in the [Getting-Started](https://www.nomadproject.io/intro/getting-started/jobs.html) guide.
2016-12-12 11:45:03 +01:00
Alex Dadgar 8a641a8672 Make container exist errors non-retriable
This change makes it so that the task runner does not retry container
exists errors and also a sleep is added on the local retry.
2016-11-25 19:22:58 -08:00
Alex Dadgar 03fde26656 Fix inplace update for pre secret node 2016-10-26 22:05:44 -07:00
Alex Dadgar 751aa114bf Fix Vault parsing of booleans 2016-10-10 18:04:39 -07:00
Lars Cromley 7f5c19429f Updating vagrant file for v0.4.1, logs section of tutorial references 0.4.1 2016-08-18 17:58:14 -04:00
Njal Karevoll 6a2f35a205 Update Nomad version used in Vagrant demo to 0.4.0 2016-07-01 14:48:57 +02:00
Alex Dadgar 9f5d4e11fe remove bind_addr from test config 2016-06-17 15:05:03 -07:00
Alex Dadgar 9406739ba8 remove resolving client rpc addr 2016-06-17 14:55:37 -07:00
Alex Dadgar cf99fc3173 Use Status.Peers instead of Status.Ping 2016-06-15 12:00:20 -07:00
Alex Dadgar 61fcebf296 initial refactor and cleanup 2016-06-12 11:19:45 -07:00
Alex Dadgar 4685275fca version bump 2016-04-22 16:25:15 -07:00
Alex Dadgar 4bc865e47f demo client configs 2016-03-16 15:42:27 -07:00
Alex Dadgar dd0aa0e62d up vagrant version 2016-03-16 10:45:47 -07:00
Alex Dadgar 719f5d34ed Merge pull request #910 from hashicorp/f-reserved-resources
Reserve Client Resources + Config Validation
2016-03-15 21:09:13 -07:00
Alex Dadgar b032eb4c41 Update Vagrantfile 2016-03-14 14:45:20 -07:00
Alex Dadgar 7d4c19ed99 reserve resources on the node 2016-03-13 19:05:41 -07:00
Alex Dadgar fbf6275160 up log level 2016-02-24 10:42:16 -08:00
Alex Dadgar e6c2b6ae9d Slightly less node copying 2016-02-10 14:09:23 -08:00
Alex Dadgar 0c4c3fc4ee safe but slow 2016-02-10 13:44:53 -08:00
Alex Dadgar 74135f02a4 Blocked Eval tracker 2016-01-31 18:04:45 -08:00
Alex Dadgar 37ecb50b9b remove whitelist from demo 2016-01-29 16:42:09 -08:00
Diptanu Choudhury 076d3fa8b6 Setting versions to 0.2.3 2015-12-17 13:29:41 -08:00
Ryan Uber 3a8ca100f7 demo/digitalocean: add curl 2015-12-08 19:53:04 -08:00
Mikhail Zholobov 5fa10123fd Make demo Vagrantfile idempotent 2015-11-30 16:59:30 +02:00
Mikhail Zholobov 0a202f571b Bump Nomad version to 0.2.1 in demo Vagrantfile 2015-11-30 16:58:08 +02:00
Alex Dadgar c78f69bdee Implement the driver whitelist 2015-11-19 16:39:21 -08:00
Alex Dadgar 34bae7cefd Update demo vagrant box 2015-11-18 20:33:24 -08:00
Jack Pearkes c9e4b94d60 Install vim in demos
I'm probably not the only one that reached for `vim` during the getting started guide. Super minor but might safe some apt-get'ing.

![](https://dl.dropboxusercontent.com/s/mg38fo0k82lxdlv/2015-10-14%20at%205.49%20PM.png)
2015-10-14 17:50:03 +02:00
Alex Dadgar 094e24743b Update demo Vagrantfile 2015-10-06 16:43:27 -07:00
Alex Dadgar d2a52c7d19 Update demo Vagrantfile 2015-10-05 14:26:07 -07:00
Ilya Dmitrichenko f2f7dc4479 Clean-up provisioning output 2015-10-03 10:41:58 +01:00
Mikhail Zholobov 1bd8f27bd7 Add support of Parallels Desktop for Mac 2015-10-02 11:40:24 -07:00
Alex Dadgar 52a9694bed Update Vagrantfile to download correct binary. 2015-09-29 15:40:12 -07:00
Armon Dadgar ca839aa2de demo/digitalocean: allow stale queries 2015-09-27 14:12:23 -07:00
Armon Dadgar 36f6d81671 demo/digitalocean: run the servers on larger instances 2015-09-27 14:07:39 -07:00
Ryan Uber 402bcaef18 demo/digitalocean: remove unneeded index 2015-09-26 12:38:31 -07:00
Ryan Uber d8f0519451 demo/digitalocean: realistic redis requirements 2015-09-26 11:17:24 -07:00
Ryan Uber caee693215 demo/digitalocean: tighten bench output 2015-09-26 10:50:21 -07:00
Ryan Uber d160be0e73 demo/digitalocean: fix after docker repo change 2015-09-26 10:30:08 -07:00
Ryan Uber 34eb89d817 demo/digitalocean: easier tuning for demo 2015-09-26 09:57:48 -07:00
Ryan Uber cf76f2a697 demo/digitalocean: use redis 2015-09-26 09:48:46 -07:00
Ryan Uber 2bb468bedf demo/digitalocean: move bench.go 2015-09-26 09:44:15 -07:00
Ryan Uber 56f7c271c9 demo/digitalocean: add a demo job 2015-09-26 09:43:40 -07:00
Ryan Uber 1a4934f390 demo/digitalocean: better benchmark 2015-09-26 09:39:19 -07:00
Ryan Uber 5b99887dfb demo/digitalocean: add bench app 2015-09-26 09:29:07 -07:00
Ryan Uber 38624790b5 demo/digitalocean: disable hostname in metrics 2015-09-25 22:44:57 -07:00
Ryan Uber 9c0702df1d demo/digitalocean: output statsite addr 2015-09-24 14:15:12 -07:00
Ryan Uber fd1e1b11b1 demo/digitalocean: install docker 2015-09-24 13:19:48 -07:00
Ryan Uber 489b46a15c demo/digitalocean: prefix statsite droplets 2015-09-24 12:35:35 -07:00
Ryan Uber 721dd53d77 demo/digitalocean: fix artifact name 2015-09-24 12:31:06 -07:00
Ryan Uber bfc678c534 demo/digitalocean: add statsite for servers 2015-09-24 12:26:17 -07:00
Ryan Uber 50371077aa demo/digitalocean: packer updates 2015-09-24 12:15:34 -07:00
Ryan Uber f6d35c94da demo/digitalocean: add statsite 2015-09-24 12:04:00 -07:00
Ryan Uber 727015d4d0 demo/digitalocean: move nomad packer into sub-dir 2015-09-24 11:59:10 -07:00
Ryan Uber 2cd15c3c0f demo/digitalocean: 500x 1gb droplets per region 2015-09-24 11:44:51 -07:00
Ryan Uber 709c65879c demo/digitalocean: display server IP's on completion 2015-09-24 11:44:29 -07:00
Ryan Uber a36b3f7f94 demo/digitalocean: update fingerprint 2015-09-24 11:10:20 -07:00
Ryan Uber 45a5bb339b demo/digitalocean: prefix names of droplets with nomad 2015-09-24 11:08:08 -07:00
Ryan Uber 5050ec79f1 demo/digitalocean: fix artifact type 2015-09-24 10:51:23 -07:00
Ryan Uber 688541e6b3 demo/digitalocean: add Atlas for Terraform 2015-09-24 10:50:41 -07:00
Ryan Uber f3f3b1f505 demo/digitalocean: add Atlas 2015-09-24 10:11:46 -07:00
Ryan Uber 1bb7a874fa demo/digitalocean: use the env var to download 2015-09-23 19:51:05 -07:00
Ryan Uber b208e6bc5f demo/digitalocean: server bootstrap works, client join works 2015-09-23 19:02:04 -07:00
Ryan Uber 177a7716f2 demo/digitalocean: fix terraform 2015-09-23 18:12:19 -07:00
Ryan Uber 38d9f2f9ae demo/digitalocean: packer parent dir must exist, fix upstart 2015-09-23 18:02:36 -07:00
Ryan Uber 75c81d90d1 demo/digitalocean: fix upstart 2015-09-23 16:52:38 -07:00