diff --git a/examples/prometheus-agent.jsonnet b/examples/prometheus-agent.jsonnet index 1043496f942537d4f0c4bb006d23baf326e2fba7..52a6440937a88609f6fe91bcb172f35764a6def1 100644 --- a/examples/prometheus-agent.jsonnet +++ b/examples/prometheus-agent.jsonnet @@ -5,7 +5,7 @@ local kp = common+: { namespace: 'monitoring', versions+: { - prometheus: '2.32.0', + prometheus: '2.32.0-beta.0', }, }, prometheus+: { @@ -18,10 +18,22 @@ local kp = prometheus+: { prometheus+: { spec+: { + replicas: 1, alerting:: {}, remoteWrite: [{ 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', + ], + }, + ], }, }, },