Skip to content

qdrant-operator/qdrant-operator

Repository files navigation

⚠️ UNDER ACTIVE DEVELOPMENT

Qdrant Operator for Kubernetes

.NET

Introduction

The Qdrant Operator for Kubernetes is an operator for managing Qdrant Clusters in a Kubernetes Cluster.

Installation

The included helm chart contains the necessary permissions and configuration to run the operator in a Kubernetes cluster.

To install the operator, run the following command:

$> helm install qdrant-operator ./charts/qdrant-operator

Then deploy a QdrantCluster resource:

apiVersion: qdrantoperator.io/v1alpha1
kind: QdrantCluster
metadata:
  name: my-cluster
spec:
  image:
    repository: qdrant/qdrant
    pullPolicy: Always
    tag: v1.8.1
  persistence:
    size: 1Gi
    storageClassName: default
  replicas: 1

You can also add Collections to the Cluster by adding a QdrantCollection resource:

apiVersion: qdrantoperator.io/v1alpha1
kind: QdrantCollection
metadata:
  name: my-collection
spec:
  cluster: my-cluster
  replicationFactor: 1
  vectorSpec:
    size: 5
    onDisk: true

You can also add Field Index to a colection by adding a QdrantCollectionFieldIndex resource:

apiVersion: qdrantoperator.io/v1alpha1
kind: QdrantCollectionFieldIndex
metadata:
  name: my-collection-field-index
spec:
  cluster: my-cluster
  collection: my-collection
  fieldName: my-field
  type: text
  textIndexType:
    tokenizer: word
    minTokenLen: 1
    maxTokenLen: 10
    loweracase: true

More Information

For any questions, please join our Slack channel:

Slack

This project is not affiliated with Qdrant