milvus-operator

The Kubernetes Operator of Milvus.

View on GitHub

Allocate Resources with Milvus Operator

We can allocate resources for a single component or for all components in a Milvus cluster.

Example

The following example allocates:

apiVersion: milvus.io/v1beta1
kind: Milvus
metadata:
  name: my-release
  labels:
    app: milvus
spec:
  # Omit other fields ...
  mode: cluster
  components:
    resources:
      limits:
        cpu: '4'
        memory: 8Gi
    mixCoord:
      resources:
        limits:
          cpu: '1'
          memory: 2Gi
    proxy:
      serviceType: LoadBalancer
      resources:
        limits:
          cpu: '2'
          memory: 4Gi

More samples for different scale Milvus

check samples in https://www.github.com/milvus-io/milvus-operator/tree/master/config/samples/by-scale

How much resources should I allocate for Milvus

Check out sizing tool in https://milvus.io/tools/sizing