Skip to content
Snippets Groups Projects
Commit 6437e141 authored by ArthurSens's avatar ArthurSens
Browse files

examples/prometheus-agent: Override agent-only flags

parent 67cdd8a3
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ local kp = ...@@ -5,7 +5,7 @@ local kp =
common+: { common+: {
namespace: 'monitoring', namespace: 'monitoring',
versions+: { versions+: {
prometheus: '2.32.0', prometheus: '2.32.0-beta.0',
}, },
}, },
prometheus+: { prometheus+: {
...@@ -18,10 +18,22 @@ local kp = ...@@ -18,10 +18,22 @@ local kp =
prometheus+: { prometheus+: {
prometheus+: { prometheus+: {
spec+: { spec+: {
replicas: 1,
alerting:: {}, alerting:: {},
remoteWrite: [{ remoteWrite: [{
url: 'http://remote-write-url.com', url: 'http://remote-write-url.com',
}], }],
containers+: [
{
name: 'prometheus',
args+: [
'--config.file=/etc/prometheus/config_out/prometheus.env.yaml',
'--storage.agent.path=/prometheus',
'--enable-feature=agent',
'--web.enable-lifecycle',
],
},
],
}, },
}, },
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment