You are looking at the documentation of a prior release. To read the documentation of the latest release, please visit here.

New to KubeDB? Please start here.

Reconfiguring TLS for Qdrant

This guide will give an overview of how KubeDB Ops-manager reconfigures TLS for a Qdrant database.

QdrantOpsRequest CRD Specification:

KubeDB uses the following CRD fields to reconfigure TLS in Qdrant.

  • spec:
    • type: ReconfigureTLS
    • tls:
      • issuerRef
      • certificates
      • client
      • p2p
      • rotateCertificates
      • remove

Read about the fields in detail from the QdrantOpsRequest Concepts page.

Before You Begin

  • You should be familiar with the following KubeDB concepts:
  • Use the example files from docs/examples/qdrant/quickstart/distributed.yaml and docs/examples/qdrant/reconfigure-tls/.
kubectl create ns demo

Deploy Qdrant

kubectl apply -f https://github.com/kubedb/docs/raw/v2026.6.5-rc.1/docs/examples/qdrant/quickstart/distributed.yaml
kubectl get qdrant -n demo qdrant-sample -w

How Reconfigure TLS Works

The following figure shows how KubeDB reconfigures TLS in Qdrant. Open the image in a new tab to see the enlarged version.

Reconfigure Qdrant TLS
Fig: Reconfigure Qdrant TLS

The Reconfigure TLS process consists of the following steps:

  1. At first, a user creates a Qdrant CR.

  2. KubeDB-Provisioner operator watches the Qdrant CR.

  3. When the operator finds a Qdrant CR, it creates a PetSet and related necessary resources like secrets, services, etc.

  4. Then, in order to reconfigure TLS of the Qdrant database, the user creates a QdrantOpsRequest CR specifying the desired TLS configuration. The user can add TLS to an existing non-TLS database, rotate the existing certificates, change the issuer, or remove TLS entirely.

  5. KubeDB Ops-manager operator watches the QdrantOpsRequest CR.

  6. When it finds a QdrantOpsRequest CR, it pauses the Qdrant object so that the KubeDB-Provisioner operator doesn’t perform any operations on the Qdrant during the TLS reconfiguration process.

  7. Then the KubeDB Ops-manager operator updates the TLS secrets and restarts the pods in a rolling fashion with the new TLS configuration.

  8. After the successful TLS reconfiguration, the KubeDB Ops-manager updates the Qdrant object to reflect the updated TLS state.

  9. After the successful Reconfigure TLS, the KubeDB Ops-manager resumes the Qdrant object so that the KubeDB-Provisioner resumes its usual operations.

KubeDB supports the following TLS reconfiguration operations for Qdrant:

  • Add TLS — Enable TLS on an existing non-TLS Qdrant database.
  • Rotate TLS — Rotate the existing TLS certificates to refresh expiring certificates.
  • Remove TLS — Remove TLS from an existing TLS-enabled Qdrant database.

In the next doc, we are going to show a step-by-step guide on reconfiguring TLS for a Qdrant database using QdrantOpsRequest CRD.