File tree Expand file tree Collapse file tree 1 file changed +69
-0
lines changed
Expand file tree Collapse file tree 1 file changed +69
-0
lines changed Original file line number Diff line number Diff line change 11# Change Log
22
3+ ## version 0.0.5
4+
5+ ### Container
6+ HTTP health checks can now be defined for containers. At present HTTP health checks are executed on the client and
7+ require forwarded ports or an ingress to be configured. Future updates will move this functionality to the network
8+ removing the requirement for external access.
9+
10+ ``` javascript
11+ container " vault" {
12+ image {
13+ name = " hashicorp/vault-enterprise:1.4.0-rc1_ent"
14+ }
15+
16+ command = [
17+ " vault" ,
18+ " server" ,
19+ " -dev" ,
20+ " -dev-root-token-id=root" ,
21+ " -dev-listen-address=0.0.0.0:8200" ,
22+ ]
23+
24+ port {
25+ local = 8200
26+ remote = 8200
27+ host = 8200
28+ }
29+
30+ health_check {
31+ timeout = " 30s"
32+ http = " http://localhost:8200/v1/sys/health"
33+ }
34+ }
35+ ```
36+
37+ ### Nomad Job
38+ Nomad job is a new resource type which allows the running of Nomad Jobs on a cluster. Health checks can be applied to jobs
39+ a health check will only be marked as passed when all the tasks in side the job are reported as "Running".
40+
41+ Nomad job is a dependent resource and will not apply until the cluster is up and healthy.
42+
43+ ``` javascript
44+ nomad_cluster " dev" {
45+ version = " v0.10.2"
46+
47+ nodes = 1 // default
48+
49+ network {
50+ name = " network.cloud"
51+ }
52+
53+ image {
54+ name = " consul:1.7.1"
55+ }
56+ }
57+
58+ nomad_job " redis" {
59+ cluster = " nomad_cluster.dev"
60+
61+ paths = [" ./app_config/example2.nomad" ]
62+
63+ health_check {
64+ timeout = " 60s"
65+ nomad_jobs = [" example_2" ]
66+ }
67+ }
68+ ```
69+
370## version 0.0.4
471
572### Container
673Allow HTTP health checks to be added to containers
774
75+ ## version 0.0.3
76+ This version was skipped due to issues getting Chocolately distributions setup
877
978## version 0.0.2
1079
You can’t perform that action at this time.
0 commit comments