Skip to content

Commit

Permalink
chore: pin prometheus image version (#411)
Browse files Browse the repository at this point in the history
* chore: pin prometheus image version

* chore: nit
  • Loading branch information
leovct authored Dec 2, 2024
1 parent c4b80b7 commit 2dcb1fe
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/tests/fork12-pessimistic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ args:
cdk_erigon_node_image: hermeznetwork/cdk-erigon:v2.60.0
zkevm_bridge_service_image: hermeznetwork/zkevm-bridge-service:v0.6.0-RC2
zkevm_bridge_ui_image: leovct/zkevm-bridge-ui:multi-network
zkevm_contracts_image: nulyjkdhthz/zkevm-contracts:v9.0.0-rc.3-pp-fork.12
zkevm_contracts_image: leovct/zkevm-contracts:v9.0.0-rc.3-pp-fork.12-patch.1
additional_services: []
consensus_contract_type: pessimistic
sequencer_type: erigon
Expand Down
14 changes: 13 additions & 1 deletion src/additional_services/prometheus.star
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,23 @@ prometheus_package = import_module(
"github.com/kurtosis-tech/prometheus-package/main.star"
)

PROMETHEUS_IMAGE = "prom/prometheus:v3.0.1"


def run(plan, args):
metrics_jobs = get_metrics_jobs(plan)
prometheus_package.run(
plan, metrics_jobs, name="prometheus" + args["deployment_suffix"]
plan,
metrics_jobs,
name="prometheus" + args["deployment_suffix"],
min_cpu=10,
max_cpu=1000,
min_memory=128,
max_memory=2048,
node_selectors=None,
storage_tsdb_retention_time="1d",
storage_tsdb_retention_size="512MB",
image=PROMETHEUS_IMAGE,
)


Expand Down

0 comments on commit 2dcb1fe

Please sign in to comment.