Skip to content

feat: slim mode #60

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

Merged
merged 2 commits into from
Jun 17, 2025
Merged

feat: slim mode #60

merged 2 commits into from
Jun 17, 2025

Conversation

d4rkstar
Copy link
Contributor

@d4rkstar d4rkstar commented Jun 15, 2025

This PR is for apache/openserverless#131

When slim: true is set, Operator will deploy a minimal set of resources allowing OpenServerless to run with less RAM and CPU usage.

More details:

  • added a slim boolean flag on whisk crd, under "nuvolaris" section, so we can say that we want to use less resources in general
  • immediately used it to deploy a "slim" version for milvus-standalone:
    • added a deploy/milvus-slim
    • removed pulsar, zookeeper
    • used rocksmq as suggested by milvus documentation
    • added tests for milvus slim
  • added whisk-slim.yaml configuration for testing

In whisk-slim i turned off, as suggested:

  • invoker
  • kafka
  • zookeeper

moreover:

  • postgres runs with 1 replica
  • etcd runs with 1 replica

After a first run of this setup, i've a system running using 4,5GB of RAM.

When slim: true is set, Operator will deploy a minimal set of resources allowing OpenServerless to run with less RAM and CPU usage
@d4rkstar d4rkstar changed the title DRAFT - feat: slim mode - do not merge feat: slim mode - do not merge Jun 17, 2025
@d4rkstar d4rkstar changed the title feat: slim mode - do not merge feat: slim mode Jun 17, 2025
added milvus-slim to Dockerfile.
@sciabarracom sciabarracom merged commit 8ccb046 into apache:main Jun 17, 2025
1 check passed
mobs75 pushed a commit to mobs75/openserverless-operator that referenced this pull request Jul 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants