atlas: limit memory, add meta block
This commit is contained in:
parent
feafd2d1c2
commit
f00c8c6078
1 changed files with 5 additions and 1 deletions
|
@ -2,6 +2,10 @@ job "atlas" {
|
||||||
datacenters = ["aperture"]
|
datacenters = ["aperture"]
|
||||||
type = "service"
|
type = "service"
|
||||||
|
|
||||||
|
meta {
|
||||||
|
git-sha = ""
|
||||||
|
}
|
||||||
|
|
||||||
group "nginx-atlas" {
|
group "nginx-atlas" {
|
||||||
count = 1
|
count = 1
|
||||||
|
|
||||||
|
@ -42,7 +46,7 @@ job "atlas" {
|
||||||
|
|
||||||
resources {
|
resources {
|
||||||
cpu = 100
|
cpu = 100
|
||||||
memory = 500
|
memory = 50
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue