Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(smoketest): apply resource limits to Cryostat components #53

Merged
merged 1 commit into from
Aug 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions smoketest/compose/cryostat-grafana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ services:
image: quay.io/cryostat/cryostat-grafana-dashboard:latest
hostname: grafana
restart: unless-stopped
deploy:
resources:
limits:
cpus: '0.1'
memory: 256m
environment:
- GF_INSTALL_PLUGINS=grafana-simple-json-datasource
- GF_AUTH_ANONYMOUS_ENABLED=true
Expand Down
7 changes: 6 additions & 1 deletion smoketest/compose/cryostat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ services:
condition: service_healthy
s3:
condition: service_healthy
deploy:
resources:
limits:
cpus: '0.5'
memory: 512m
image: quay.io/cryostat/cryostat3:dev
volumes:
- ${XDG_RUNTIME_DIR}/podman/podman.sock:/run/user/0/podman/podman.sock:Z
Expand Down Expand Up @@ -33,4 +38,4 @@ services:
interval: 10s
retries: 3
start_period: 10s
timeout: 5s
timeout: 5s
5 changes: 5 additions & 0 deletions smoketest/compose/jfr-datasource.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ services:
jfr-datasource:
image: quay.io/cryostat/jfr-datasource:latest
restart: unless-stopped
deploy:
resources:
limits:
cpus: '0.4'
memory: 512m
ports:
- "8080:8080"
expose:
Expand Down
Loading