forked from Deuxfleurs/nixcfg
prod: remove all apps from orion, add some missing in scorpio
This commit is contained in:
parent
e42ed08788
commit
a490f082bc
18 changed files with 20 additions and 20 deletions
|
@ -1,5 +1,5 @@
|
|||
job "backup_daily" {
|
||||
datacenters = ["orion", "neptune", "scorpio"]
|
||||
datacenters = ["neptune", "scorpio", "bespin"]
|
||||
type = "batch"
|
||||
|
||||
priority = "60"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "backup-garage" {
|
||||
datacenters = ["neptune", "bespin"]
|
||||
datacenters = ["neptune", "bespin", "scorpio"]
|
||||
type = "batch"
|
||||
|
||||
priority = "60"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "backup_weekly" {
|
||||
datacenters = ["orion", "neptune", "bespin"]
|
||||
datacenters = ["scorpio", "neptune", "bespin"]
|
||||
type = "batch"
|
||||
|
||||
priority = "60"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "bagage" {
|
||||
datacenters = ["orion", "neptune"]
|
||||
datacenters = ["scorpio", "neptune"]
|
||||
type = "service"
|
||||
priority = 90
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "cms" {
|
||||
datacenters = ["neptune", "orion"]
|
||||
datacenters = ["neptune", "scorpio"]
|
||||
type = "service"
|
||||
|
||||
priority = 100
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "core-bottin" {
|
||||
datacenters = ["orion", "neptune", "scorpio"]
|
||||
datacenters = ["neptune", "scorpio"]
|
||||
type = "system"
|
||||
priority = 90
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "core-d53" {
|
||||
datacenters = ["neptune", "orion", "bespin"]
|
||||
datacenters = ["neptune", "scorpio", "bespin"]
|
||||
type = "service"
|
||||
priority = 90
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "core-diplonat" {
|
||||
datacenters = ["orion", "neptune", "scorpio", "bespin"]
|
||||
datacenters = ["neptune", "scorpio", "bespin"]
|
||||
type = "system"
|
||||
priority = 90
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ job "core-tricot" {
|
|||
# on pourra mettre bespin quand on aura migré gitea de la vm vers le cluster
|
||||
# en attendant, les deux ne sont pas capables de partager les certificats SSL
|
||||
# donc on laisse la VM gitea gérer les certifs et prendre tout le trafic http(s)
|
||||
datacenters = ["orion", "neptune", "scorpio"]
|
||||
datacenters = ["neptune", "scorpio"]
|
||||
type = "system"
|
||||
priority = 90
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "coturn" {
|
||||
datacenters = ["neptune", "orion"]
|
||||
datacenters = ["neptune", "scorpio"]
|
||||
type = "service"
|
||||
|
||||
priority = 100
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "drone-ci" {
|
||||
datacenters = ["neptune", "orion"]
|
||||
datacenters = ["neptune", "scorpio"]
|
||||
type = "service"
|
||||
|
||||
group "server" {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "garage" {
|
||||
datacenters = [ "neptune", "bespin", "orion", "scorpio" ]
|
||||
datacenters = [ "neptune", "bespin", "scorpio" ]
|
||||
type = "system"
|
||||
priority = 80
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "guichet" {
|
||||
datacenters = [ "neptune", "orion" ]
|
||||
datacenters = [ "neptune", "scorpio" ]
|
||||
type = "service"
|
||||
priority = 90
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "matrix" {
|
||||
datacenters = ["orion", "neptune"]
|
||||
datacenters = ["scorpio", "neptune"]
|
||||
type = "service"
|
||||
priority = 40
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "plume-blog" {
|
||||
datacenters = ["orion", "neptune"]
|
||||
datacenters = ["scorpio", "neptune"]
|
||||
type = "service"
|
||||
|
||||
group "plume" {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "postgres14" {
|
||||
datacenters = ["orion", "neptune", "bespin", "scorpio"]
|
||||
datacenters = ["neptune", "bespin", "scorpio"]
|
||||
type = "system"
|
||||
priority = 90
|
||||
|
||||
|
@ -19,8 +19,8 @@ job "postgres14" {
|
|||
constraint {
|
||||
attribute = "${attr.unique.hostname}"
|
||||
operator = "set_contains_any"
|
||||
# target: courgette,df-ymf,abricot (or ananas)
|
||||
value = "diplotaxis,courgette,df-ymf,abricot"
|
||||
value = "courgette,df-ymf,abricot"
|
||||
# old (orion) = diplotaxis
|
||||
}
|
||||
|
||||
restart {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "telemetry-service" {
|
||||
datacenters = ["neptune", "orion"]
|
||||
datacenters = ["neptune", "scorpio"]
|
||||
type = "service"
|
||||
|
||||
group "grafana" {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
job "telemetry-system" {
|
||||
datacenters = ["neptune", "orion", "bespin"]
|
||||
datacenters = ["neptune", "scorpio", "bespin"]
|
||||
type = "system"
|
||||
priority = "100"
|
||||
|
||||
|
|
Loading…
Reference in a new issue