Skip to content

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 requested a review from a user June 15, 2025 05:47
@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