Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
Operations Central Management
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
Operations Central Management
Commits
88364d10
Commit
88364d10
authored
10 months ago
by
Corné Lukken
Browse files
Options
Downloads
Plain Diff
Merge branch '
L2SS-1918
' into 'main'
L2SS-1918
: Run garibaldi on central instance daily Closes
L2SS-1918
See merge request
!13
parents
a51dfabf
780090bb
No related branches found
No related tags found
1 merge request
!13
L2SS-1918: Run garibaldi on central instance daily
Pipeline
#94535
passed
10 months ago
Stage: build
Stage: tag-latest
Stage: deploy
Changes
3
Pipelines
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
infra/env.yaml
+1
-1
1 addition, 1 deletion
infra/env.yaml
infra/grafana-lofar-central.levant.nomad
+45
-2
45 additions, 2 deletions
infra/grafana-lofar-central.levant.nomad
infra/metrics-central.levant.nomad
+1
-1
1 addition, 1 deletion
infra/metrics-central.levant.nomad
with
47 additions
and
4 deletions
infra/env.yaml
+
1
−
1
View file @
88364d10
registry
:
registry
:
astron
:
astron
:
url
:
git.astron.nl:5000
/lofar2.0/tango
url
:
git.astron.nl:5000
monitoring
:
monitoring
:
prometheus
:
prometheus
:
...
...
This diff is collapsed.
Click to expand it.
infra/grafana-lofar-central.levant.nomad
+
45
−
2
View file @
88364d10
...
@@ -74,7 +74,7 @@ job "grafana" {
...
@@ -74,7 +74,7 @@ job "grafana" {
policies
=
[
"default"
]
policies
=
[
"default"
]
}
}
config
{
config
{
image
=
"git
.astron.
nl:5000
/lofar2.0/grafana-station-dashboards:[[.image_tag]]"
image
=
"[[.registry
.astron.
url]]
/lofar2.0/grafana-station-dashboards:[[.image_tag]]"
mount
{
mount
{
type
=
"bind"
type
=
"bind"
source
=
"local/datasources/"
source
=
"local/datasources/"
...
@@ -424,5 +424,48 @@ EOH
...
@@ -424,5 +424,48 @@ EOH
}
}
}
}
}
}
}
job
"daily-backup-grafana-to-s3"
{
datacenters
=
[
"nl-north"
]
type
=
"batch"
namespace
=
"operations"
periodic
{
cron
=
"@daily"
}
group
"garibaldi"
{
vault
{
policies
=
[
"default"
]
}
task
"garibaldi"
{
driver
=
"docker"
config
{
image
=
"[[.registry.astron.url]]/grafana/garibaldi:latest"
}
env
{
MINIO_HOSTNAME
=
"https://s3.lofar.net:443"
MINIO_ACCESS_KEY
=
"minioadmin"
MINIO_SECRET_KEY
=
"minioadmin"
MINIO_BUCKET
=
"grafana-backup"
GRAFANA_URL
=
"https://monitoring.lofar.net:443"
}
template
{
env
=
true
destination
=
"secrets/file.env"
data
=
<<
EOH
GRAFANA_TOKEN
=
"{{with secret "
kv-v2
/
data
/
grafana
/
garabaldi
"}}{{.Data.data.token}}{{end}}"
EOH
}
resources
{
cpu
=
2500
memory
=
512
}
}
}
}
}
This diff is collapsed.
Click to expand it.
infra/metrics-central.levant.nomad
+
1
−
1
View file @
88364d10
...
@@ -34,7 +34,7 @@ job "metrics" {
...
@@ -34,7 +34,7 @@ job "metrics" {
driver
=
"docker"
driver
=
"docker"
config
{
config
{
image
=
"[[.registry.astron.url]]/prometheus:[[.monitoring.prometheus.version]]"
image
=
"[[.registry.astron.url]]/
lofar2.0/tango/
prometheus:[[.monitoring.prometheus.version]]"
args
=
[
args
=
[
"--config.file=/local/prometheus.yaml"
,
"--config.file=/local/prometheus.yaml"
,
"--web.enable-remote-write-receiver"
,
"--web.enable-remote-write-receiver"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment