Skip to content

Conversation

YuryHrytsuk
Copy link
Collaborator

@YuryHrytsuk YuryHrytsuk commented Sep 3, 2025

What do these changes do?

Related issue/s

Related PR/s

Checklist

  • I tested and it works
  • The Stack has been included in CI Workflow

New service

  • Service has resource limits and reservations
  • Service has placement constraints or is global
  • Service is restartable
  • Service restart is zero-downtime
  • Service has >1 replicas in PROD
  • Service has docker healthcheck enabled --> defined in docker image
  • Service is monitored (via prometheus and grafana) --> tracing and prometheus metrics endpoint are not exposed on this service
  • Service is not bound to one specific node (e.g. via files or volumes)
  • Relevant OPS E2E Test are added --> no special e2e ops tests needed
  • Grafana dashboards updated accordingly --> no special changes necessary

If exposed via traefik --> not applicable

  • Service's Public URL is included in maintenance mode
  • Service's Public URL is included in testing mode
  • Service's has Traefik (Service Loadbalancer) Healthcheck enabled
  • Credentials page is updated
  • Url added to e2e test services (e2e test checking that URL can be accessed)

@YuryHrytsuk
Copy link
Collaborator Author

Blocked until @bisgaard-itis estimates CPU / Memory limits for api-worker

@bisgaard-itis
Copy link
Contributor

Blocked until @bisgaard-itis estimates CPU / Memory limits for api-worker

Here are the findings from running locust tests with 20 users:

image

Let's agree to go with RAM: 500MB and CPU: 1.5.

Copy link
Contributor

@bisgaard-itis bisgaard-itis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for setting this up

@YuryHrytsuk YuryHrytsuk marked this pull request as ready for review September 5, 2025 09:55
@YuryHrytsuk YuryHrytsuk merged commit 0e7db40 into ITISFoundation:main Sep 5, 2025
3 checks passed
@YuryHrytsuk YuryHrytsuk deleted the add-api-worker-simcore-service branch September 5, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup api-worker service on deployments
2 participants