forked from star3am/hashiqube
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwaypoint.hcl
More file actions
executable file
·45 lines (41 loc) · 915 Bytes
/
waypoint.hcl
File metadata and controls
executable file
·45 lines (41 loc) · 915 Bytes
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
45
project = "kubernetes-trex-nodejs"
app "kubernetes-trex-nodejs" {
labels = {
"service" = "kubernetes-trex-nodejs",
"env" = "dev"
}
build {
use "docker" {}
# registry via minikube addon in minikube/minikube.sh
registry {
use "docker" {
image = "10.9.99.10:5001/trex-nodejs" # See minikube docker registry
tag = "0.0.2"
local = false
# encoded_auth = filebase64("/etc/docker/auth.json") # https://www.waypointproject.io/docs/lifecycle/build#private-registries
}
}
}
deploy {
use "kubernetes" {
probe_path = "/"
replicas = 1
service_port = 6001
probe {
initial_delay = 4
}
labels = {
env = "local"
}
annotations = {
demo = "yes"
}
}
}
release {
use "kubernetes" {
load_balancer = true
port = 6001
}
}
}