shuffeling apps around the cluster
This commit is contained in:
@@ -3,7 +3,12 @@ job "postgres" {
|
||||
type = "service"
|
||||
node_pool = "sys"
|
||||
priority = 80
|
||||
|
||||
|
||||
#constraint {
|
||||
# attribute = "${attr.unique.hostname}"
|
||||
# value = "pine01"
|
||||
#}
|
||||
|
||||
group "service" {
|
||||
count = 1
|
||||
volume "postgres-data" {
|
||||
@@ -49,8 +54,8 @@ job "postgres" {
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 1000
|
||||
memory = 512
|
||||
cpu = 3500
|
||||
memory = 1500
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user