-
Notifications
You must be signed in to change notification settings - Fork 4
/
waypoint.hcl
44 lines (40 loc) · 912 Bytes
/
waypoint.hcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
project = "hashicups"
app "coffee-service" {
labels = {
"service" = "coffee-service",
"env" = "dev"
}
build {
use "docker" {}
registry {
use "docker" {
image = "gcr.io/consul-k8s-<redacted>/coffee-service"
tag = "v3.0.0"
}
}
}
deploy {
use "kubernetes" {
probe_path = "/health"
service_port = 9090
annotations = {
"prometheus.io/scrape" = "true",
"prometheus.io/port" = "9102",
"consul.hashicorp.com/connect-inject" = "true",
"consul.hashicorp.com/service-meta-version" = "v3",
"consul.hashicorp.com/service-tags" = "api"
}
static_environment = {
LOG_FORMAT = "text",
LOG_LEVEL = "INFO",
BIND_ADDRESS = "localhost:9090",
METRICS_ADDRESS = "localhost:9102",
VERSION = "v3"
}
}
}
release {
use "kubernetes" {
}
}
}