Commit 48cf4d9e authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

kubernetes_prod setup

parent 05db7c99
...@@ -222,6 +222,7 @@ default.nomad_lab { ...@@ -222,6 +222,7 @@ default.nomad_lab {
rootNamespace = "${user}-default" rootNamespace = "${user}-default"
} }
} }
flink.nomad_lab { flink.nomad_lab {
h5LockOnRead = false h5LockOnRead = false
toNormalize.archiveSet.baseDirectory = "${normalizedRoot}/newProductionH5" toNormalize.archiveSet.baseDirectory = "${normalizedRoot}/newProductionH5"
...@@ -238,16 +239,19 @@ flink.nomad_lab { ...@@ -238,16 +239,19 @@ flink.nomad_lab {
pidEndpoint = "http://staging-nomad.esc.rzg.mpg.de:8111/repo/utility/pids?gid=\"${archiveGid}\"" pidEndpoint = "http://staging-nomad.esc.rzg.mpg.de:8111/repo/utility/pids?gid=\"${archiveGid}\""
} }
} }
production.nomad_lab { production.nomad_lab {
replacements { replacements {
rootNamespace = "production" rootNamespace = "production"
} }
} }
test.nomad_lab { test.nomad_lab {
replacements { replacements {
rootNamespace = "test" rootNamespace = "test"
} }
} }
localDir.nomad_lab { localDir.nomad_lab {
replacements { replacements {
rootNamespace = "${user}-local" rootNamespace = "${user}-local"
...@@ -265,6 +269,7 @@ localDir.nomad_lab { ...@@ -265,6 +269,7 @@ localDir.nomad_lab {
numberOfWorkers = 1 numberOfWorkers = 1
} }
} }
local.nomad_lab { local.nomad_lab {
replacements { replacements {
rootNamespace = "${user}-local" rootNamespace = "${user}-local"
...@@ -357,6 +362,14 @@ staging.nomad_lab { ...@@ -357,6 +362,14 @@ staging.nomad_lab {
} }
} }
kubernetes_prod.nomad_lab { kubernetes_prod.nomad_lab {
h5LockOnRead = false
replacements {
rootNamespace = "prod-${coreVersion}"
}
toNormalize.archiveSet.baseDirectory = "${normalizedRoot}/${rootNamespace}"
calculation_info_normalizer {
pidEndpoint = "http://staging-nomad.esc.rzg.mpg.de:8111/repo/utility/pids?gid=\"${archiveGid}\""
}
elastic{ elastic{
clientUri = "elasticsearch://nomad-flink-02.esc:9200" clientUri = "elasticsearch://nomad-flink-02.esc:9200"
indexNameData = "archive" indexNameData = "archive"
...@@ -376,6 +389,12 @@ kubernetes_prod.nomad_lab { ...@@ -376,6 +389,12 @@ kubernetes_prod.nomad_lab {
clientUri = "elasticsearch://localhost:9200" clientUri = "elasticsearch://localhost:9200"
} }
} }
roots {
baseTmpDir = "/tmp"
parsedRoot = "/nomad/nomadlab/parsed"
rawDataRoot = "/nomad/nomadlab/raw-data"
normalizedRoot = "/nomad/nomadlab/normalized"
}
} }
//only used to expose the simpleStats API call while we need to keep the old version running //only used to expose the simpleStats API call while we need to keep the old version running
kubernetes_prod_dev_archive.nomad_lab { kubernetes_prod_dev_archive.nomad_lab {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment