Kubernetes liveness and readiness probes for Qdrant: what they decide
Kubernetes uses probes to learn two facts about each Qdrant pod: whether the container needs to be restarted, and whether it should receive traffic. Wrong probe timing causes restart loops or sends queries to a node that is still loading data. For a platform team running Qdrant as pods, the probe configuration is therefore a operational decision, not a default to accept from a chart. Liveness asks whether the process is alive and should be restarted if it is not. Readiness asks whether the process can serve requests right now. A node can be alive but not ready, for example while it is still loading collections at startup, and the two probes must not be confused.
Qdrant exposes /livez and /readyz for these checks. The Qdrant documentation reviewed for this page does not give a full behavior specification for each endpoint, including what each returns while a large collection is loading, how it behaves on a distributed node that is recovering, or which status codes count as failure. Confirm these details against the exact Qdrant version you deploy before setting initialDelaySeconds, periodSeconds and failureThreshold, and test the sequence by restarting a node with a large collection in a non-production cluster. Installation options also matter here. The community Helm chart is one Kubernetes path, and Qdrant documents an enterprise Kubernetes operator as part of Qdrant Private Cloud as the other. The Helm chart lacks enterprise features such as zero-downtime upgrades and automatic shard rebalancing, so teams on the chart must own more of the probe and rollout logic themselves.
Which probe settings fit which Qdrant situation
This table compares the probe types a Kubernetes Qdrant deployment can use, the situation each one fits, and what breaks when it is tuned too aggressively. Read each row as a choice you make for one pod, then check the REST port and endpoint behavior against the installation docs for your Qdrant version before you copy any setting. The main takeaway is that a slow first start is a timing problem to solve with a startup probe, not a reason to loosen liveness checks.
| Probe type | Best fit | What breaks if set too aggressively | What to confirm |
|---|---|---|---|
| HTTP liveness on /livez | Detecting a process that has hung or stopped answering after it has started | Pods restart during a long shard load or heavy optimizer work, which can repeat the load and never finish | Endpoint path and port for your version in the installation docs |
| HTTP readiness on /readyz | Removing a pod from service until it can answer requests, including after restarts | Traffic is withdrawn during normal recovery, so clients see errors even though the node is recovering | Whether readiness depends on collection loading in your version |
| TCP check on the REST port | A simple fallback when HTTP probes are not available or the port must be checked alone | Passes as soon as the socket opens, so it can report a node as healthy before it serves data | The REST port your deployment exposes and whether it changed in your release |
| Startup probe | Giving slow starts with large collections a longer window before liveness checks begin | A window that is too short causes restart loops; a window that is too long delays real failure detection | How long your largest collections take to load on your storage class, measured in your own environment |
| Initial delay | Holding off the first check while the process is still opening files | Checks begin before the process listens, so early failures count against the failure threshold | Whether a startup probe already covers this window |
| Period and timeout | Setting how often a probe runs and how long one attempt may take | A short timeout during heavy search or compaction marks a healthy pod as failing | Typical response time under your production query load |
| Failure threshold | Deciding how many consecutive failures count before action is taken | A low threshold restarts pods on brief network or disk stalls; a high one slows recovery from real hangs | Acceptable recovery time for your service-level target, set by your team |
How kubelet probes and client traffic reach each Qdrant pod
The diagram starts with the kubelet on each node, which sends liveness and readiness probes straight to each Qdrant pod's /livez and /readyz endpoints. Client traffic takes a separate path: an external load balancer forwards requests to a Kubernetes Service, which routes them only to pods that report ready. Check that the probe path never goes through the load balancer, so a failing external check cannot restart healthy pods.
Kubelet probes bypass the external load balancer, which only carries client traffic.
How large collections change probe timing
A Qdrant node holding large collections can take a long time to become ready after a restart, and the probe settings have to allow for that time. On startup the node loads collection metadata, opens segment files and rebuilds in-memory structures before it can answer requests. Memory-mapped data and high segment counts stretch that window, so a node that is healthy but still loading can look dead to a probe that is set too tightly. If the liveness probe fires during that window, Kubernetes restarts the container, the load begins again from zero, and the pod can enter a restart loop that never reaches readiness.
The timing decision is a trade-off. A long initial delay or failure threshold gives slow starts room to finish, but it also delays detection of a real hang, so a stuck process keeps receiving traffic it cannot serve for longer. A short window detects hangs quickly but risks killing a busy process that is still loading. The practical way to settle this is to measure. Restore a recent copy of production data to a non-production cluster with the same node size, storage class and segment layout, restart the node, and record how long it takes for /readyz to return success. Repeat the test after a few restarts, since cache state changes the result. Then set the timing from the slowest measured run plus a margin the team agrees on, not from a figure taken from a tutorial.
Kubernetes offers startup probes for exactly this case. A startup probe holds off liveness and readiness checks until it succeeds, which lets slow starts run long without loosening the liveness probe that catches hangs later. Confirm that startup probes are available and enabled on your cluster version before relying on them, and check the Kubernetes release notes for the version your platform team runs. Also confirm that the Qdrant image and chart you deploy expose the same endpoints you plan to probe, since the timing you measure depends on them.
Why probes should not route through a load balancer
A kubelet probe answers one question: is this specific container healthy? Routing that check through an external load balancer or a shared Service VIP changes the question to whether some path to some pod works, which mixes the health of the balancer with the health of Qdrant. The four risks below show why the probe should target each pod's own endpoint on its pod IP.
Healthy pod marked down
If the probe goes through a load balancer, a fault in the balancer, its health checks, its listener or its network path can fail the probe even though the Qdrant pod is serving correctly. Kubelet then restarts or removes a pod that was never the problem, and the restart adds load and recovery time to a cluster that was working. Fix it by having the kubelet call /readyz and /livez on the pod IP and port, so only the pod's own state decides the result. Check that no probe path depends on an ingress or external address.
Failing pod hidden
The reverse failure is quieter. A Qdrant pod that is out of memory, stuck on storage, or unable to answer queries can still pass a probe if the balancer routes that check to a different, healthy replica. Kubelet then never sees the failure, the pod stays in rotation, and clients see intermittent errors without a clear signal. Fix it by probing each pod on its own IP so every pod is judged separately. Confirm during testing by stopping Qdrant on one pod and checking that its probe fails.
Uneven probe load
A shared Service VIP or balancer spreads probe requests across backends according to its own algorithm, not according to which pod the kubelet is checking. Some pods may receive many probe calls while others receive few, and probe traffic can compete with real search and upsert traffic on busy nodes. Probing each pod's own endpoint from its node keeps the load predictable and tied to the pod being checked. Review the probe period you set and watch whether probe latency grows on the busiest nodes.
Cascading pod removal
When many pods share one balancer path, a single shared failure can make every probe fail at once. Readiness failures remove pods from Service endpoints, the remaining pods take more traffic, and that extra load can push healthy pods into failing their own checks. In a Qdrant cluster, losing too many replicas at once also affects quorum and shard availability. Isolate each pod's probe result so one bad path cannot fan out. Rehearse a balancer outage in a test cluster and confirm that pods keep their own readiness state.
Setting up Qdrant probes in Kubernetes
This sequence takes a Qdrant deployment from version confirmation to tested probes, so Kubernetes restarts stalled pods and routes traffic only to nodes that can serve it. Each step ends with a check you can record before moving on.
Confirm the Qdrant version and exposed endpoints
Your platform engineer records the Qdrant image tag you intend to run and checks the release notes on the Qdrant GitHub releases page before writing any probe config. Then they start a test container and confirm that the /livez and /readyz endpoints respond on the REST port, so the probe definitions point at paths that exist in that version. Confirm the endpoint behavior for your exact tag, since probe paths are version-specific. Done when both endpoints return a response from the test container and the version string is written into your change request.
Choose the Helm chart or the enterprise operator
Your team picks the deployment path with the platform owner and the Qdrant account team in view. The community Helm chart is supported by the community and lacks enterprise features such as zero-downtime upgrades and automatic shard rebalancing, which the enterprise Kubernetes operator provides as part of Qdrant Private Cloud. Record the choice and the features you need, because the probe values and upgrade procedure differ between the two. Ask the vendor to confirm which probe settings their chart or operator exposes. Done when the decision and the reasons are documented in your deployment design.
Set liveness, readiness and startup probes separately
Your platform engineers write three distinct probes in the StatefulSet or operator resource. The liveness probe targets /livez and should be tolerant, since a failing liveness probe makes the kubelet restart the container. The readiness probe targets /readyz and controls whether the pod receives Service traffic. A startup probe holds off the other two while a node loads large collections. Set initial delays, periods and failure thresholds from measurements in staging, not from defaults. Done when
kubectl describeshows all three probes on the pod spec with the values you chose.Enable TLS and API keys, then confirm probe authentication
Your security team enables TLS and an API key on the Qdrant node, because self-deployed Qdrant ships with no authentication and listens on all interfaces by default. Confirm from the Qdrant security documentation whether the health endpoints require the key or stay open for the kubelet. If the probe needs authentication, configure the HTTP probe headers and the certificate path, and store the key in a Kubernetes Secret rather than the manifest. Test that an unauthenticated request to a data endpoint fails. Done when the probe succeeds with the configured credentials and the same request without them is rejected.
Rehearse startup timing with a copy of a large collection
Your platform team restores a copy of a production-sized collection into a staging cluster, using a snapshot taken from the source and restored to the same or next minor version. Start the pod from cold and time how long it takes before /readyz returns success. Raise the startup probe failure threshold until the slowest observed start passes with margin, so the kubelet does not kill a node that is still loading. Note the load time per collection size in your runbook. Done when a cold start completes without probe-triggered restarts.
Test readiness by blocking traffic
Your platform engineer applies a NetworkPolicy or a temporary firewall rule that blocks the Qdrant REST port from the client namespace, then confirms the readiness probe fails and the pod is removed from the Service. Restore the traffic path and confirm the pod rejoins. Pair this with a check that the Service Endpoints object lists only ready pods. Do not route the probe through a load balancer, because a load balancer outage would then mark healthy nodes as failed. Done when
kubectl get endpointsshows the pod disappear while blocked and return once traffic resumes.Test liveness by restarting a pod
Your platform engineer simulates a hung process, or deletes the pod and forces a container restart, then reviews
kubectl describe podfor probe events andkubectl get podfor the restart count. A liveness failure should show a restart with a probe reason, while a readiness failure should show no restart. Confirm the restart count stops rising once the node is healthy and that the data volume reattaches without corruption. Done when the events match the expected failure type and the collection answers a test query after recovery.Record probe settings and watch restart counts
Your team stores the final probe values, the startup timing measurements and the test results in version control next to the manifests, then sets an alert on restart count for the Qdrant pods. Before production, the platform owner reviews the record with the security team. Done when the values are merged, the restart alert is active, and the staging test evidence is attached to the change request for your auditors or internal reviewers.
Security and operational points for probe configuration
Probes look like plumbing, but they touch authentication, exposure, pod security and change control. The four cards below cover the checks a platform team should make before the probe block goes into a production manifest. Each one is a question to answer in your own cluster, not a default to accept.
Authenticating probe requests
When an API key or TLS is enabled, a kubelet probe that sends no credentials may fail, and the pod will be restarted or kept out of service for reasons that look like a Qdrant fault. Confirm which health endpoints your Qdrant version answers without a key, then decide whether the probe must send a header or use HTTPS with the right certificate. Test a deliberately wrong key in staging so you know how the failure appears in events and logs.
Qdrant security docsWhat probe endpoints reveal
Health endpoints tell a caller whether a node is up and ready, which helps an attacker map a cluster and time disruption. Qdrant does not configure authentication by default, and self-deployed instances listen on all interfaces, so the probe path is only one of many open routes until hardening is complete. Confirm that the endpoints are reachable only from the kubelet and that no Service, Ingress or route exposes them externally.
Following enforced pod security settings
A probe itself does not change the pod's security context, but the cluster's Pod Security Standards level decides what the Qdrant container may run with, and that decides how you set up the probe port and any exec-based check. Avoid exec probes that need shell tools the restricted image does not contain. Check the namespace's enforcement label before rollout so an admission rejection does not appear as a crash loop.
Pod Security StandardsRolling probe changes through change control
Probe values such as initial delay, period and failure threshold are manifest changes with production effect, since a loose setting can hide a stuck node and a tight one can restart a node mid-recovery. Put them through the same review, version control and staged rollout as image and resource changes. Record the reason for each timing value, especially when it is tied to measured startup time on large collections.
Questions teams ask before setting Qdrant probes
Can our team set up Qdrant liveness and readiness probes without outside help?
Yes, many platform teams can add probes themselves, because the change is a few lines in the pod spec that point at the /livez and /readyz endpoints. The harder part is knowing the right timing for your data. Your team needs to know how long a node takes to load its collections after a restart, how many nodes run in the cluster, and whether API keys or TLS are enabled, since those settings change what the probe request must send. If your team already runs Qdrant in production and owns the Kubernetes manifests, the work is usually routine. If this is your first Qdrant cluster, a partner can review the timing and failure behavior before the change reaches production.
What drives the effort of setting Qdrant probes?
Effort rises with the number of factors that change how a node starts and answers requests. The main drivers are:
- The Qdrant version in use, since startup and endpoint behavior should be checked against the release you run (the Qdrant GitHub releases list current versions).
- Whether you use the community Helm chart or the enterprise operator, since the Helm chart lacks enterprise features such as zero-downtime upgrades, which affects how restarts are handled.
- Collection size and the amount of data each node loads at startup.
- Authentication and TLS settings, which determine how the probe reaches the endpoint.
- The node count and replication layout, which decide what a single failing pod means for the cluster.
Each driver adds review and test time, so ask for these items to be listed in any written scope.
How long does validation of Qdrant probes take, and what does it depend on?
Validation time depends on how long your nodes take to become ready under realistic load, not on the manifest edit itself. You need to observe a restart of each node against a copy of data that resembles production, measure how long startup takes, and confirm that the readiness probe holds traffic back until the node can answer queries. Testing also has to cover a rolling restart, a node failure in a multi-node cluster and a forced restart during optimization. The length of each run depends on collection size, node count and how many restart scenarios your change process requires. Ask for the test list and the environment in the written scope rather than a single duration.
What must our team provide before probe changes can be validated?
Your team provides the access and context needed to test safely. That usually means:
- Cluster access with rights to read pods, events and logs, and to apply changes in a non-production namespace.
- A representative copy of collection data, or a close equivalent with similar size and index settings, so startup timing reflects reality.
- Current Qdrant configuration, including API key, TLS and network settings.
- Your change process, including approval steps, maintenance windows and rollback rules.
- Named owners for on-call response, so probe behavior is watched after the change.
Confirm with your team which of these items already exist, since missing data copies or unclear change rules are the most common reasons validation stalls.
Should a Qdrant liveness probe check data health?
No. A liveness probe should answer only whether the process is running and should not be stopped by a temporary data or cluster problem, because a failed liveness check makes Kubernetes restart the container. A restart does not repair a damaged collection and can slow recovery. Readiness is the right place to decide whether a pod should receive traffic, and it can reflect whether the node is able to serve requests. Checks on collection state, replica health or storage space are better handled through monitoring and alerting, so an operator can respond without triggering a restart loop.
How do we diagnose a restart loop caused by Qdrant probes?
Start with the pod events and the container restart reason. If Kubernetes reports liveness failures shortly after start, the probe timing is probably shorter than the time the node needs to load its data. Compare the time from container start to the first successful response in the logs with the probe's initial delay and failure threshold. Check whether the probe path, port and authentication header match the configuration, since a wrong key or scheme produces failures that look like a crash. Also look for memory pressure, which can stop the process before it ever becomes ready. Fix the timing or the request first, and only then review resource limits.
Why should probes avoid going through a load balancer?
Probes should call each pod directly, because a load balancer can answer on behalf of a pod that is down or send the check to a different pod. Routing probes through a load balancer hides which node is failing and can keep a broken pod in service. Direct probes let Kubernetes remove only the affected pod from traffic and restart it when needed. Confirm with your network team how the service, ingress and any external load balancer are configured, so the probe path stays inside the cluster and the readiness signal reflects the actual node.
Limits to confirm in your environment
These four checks decide whether the probe settings in this guide hold in your cluster. Each depends on a detail that changes between Qdrant releases, Kubernetes releases, deployment paths or storage classes. Confirm each one in a staging cluster before you promote the probe configuration.
Do the probes behave as documented?
Confirm how /livez and /readyz respond on the exact Qdrant release you deploy, including whether they need an API key once keys are enabled. Qdrant's security docs say self-deployed instances ship with no authentication, so a probe that depends on a key needs that key mounted from a Kubernetes Secret into the pod spec. Check the response codes while a node is still loading segments and after a shard becomes unavailable. Test each probe path with the same image tag and configuration you plan to promote.
Which deployment path applies?
Qdrant documents a community Kubernetes Helm chart and an enterprise Kubernetes operator offered as part of Qdrant Private Cloud. The chart lacks enterprise features such as zero-downtime upgrades and automatic shard rebalancing, so a team that expects rolling upgrades without traffic loss must confirm which path it can license and support. Probe timing depends on this choice, because a chart-based rollout relies on your own readiness settings to hold traffic back during restarts. Ask Qdrant sales to confirm which features apply to your path before you set initialDelaySeconds.
Is the Kubernetes version supported?
The Kubernetes project maintains the three most recent minor releases, and as of September 2026 these were 1.37, 1.36 and 1.35. Confirm which minor version your distribution ships and when it leaves support, because a Qdrant upgrade and a cluster upgrade can land in the same window. The version skew policy requires that you move the kube-apiserver one minor version at a time and allows kubelets to run up to three minor versions behind the API server. Map each node pool's kubelet version before a rolling restart so you know which pools will restart under which version.
Version skew policyIs the storage block-level?
Qdrant needs block-level storage with a POSIX-compatible file system, and it cannot run on network file systems such as NFS or object storage such as S3. Confirm that your StorageClass provisions block volumes, ideally on SSD or NVMe drives, and that each volume attaches to one pod at a time. Storage speed sets how long a node takes to reload its data after a restart, and that load time is the window your readiness probe must tolerate. Ask your storage team how volumes attach and detach during node drains, then time a full restart with your real collection sizes before you choose a failure threshold.
Qdrant installation docsHow DeployOpen works on this
DeployOpen plans, implements, documents and supports self-hosted Qdrant inside your own clusters, including the health probe configuration that decides whether pods restart, leave service, or stay in rotation. We agree the probe design, startup timing and verification steps in writing before any change reaches your cluster.
How we scope
- We review your Qdrant version, cluster topology, collection sizes and current probe settings before agreeing on work.
- The written scope names the Kubernetes clusters, namespaces, Helm chart or operator setup and environments covered.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts; ongoing support is available as a retainer.
How we build
- We configure liveness and readiness probes against the /livez and /readyz endpoints, with startup timing sized to your largest collections.
- We confirm that probes target each pod directly rather than passing through a load balancer, and document the reasons.
- We test restarts, slow starts and node drains in a non-production cluster, then repeat the checks in the target environment.
How we hand over
- You receive the final probe manifests or Helm values, with the reasoning behind each timing setting written down.
- The runbook covers what each probe failure means, how to read pod events, and when to escalate rather than restart a pod.
- We walk your platform and on-call teams through the configuration and confirm they can reproduce the verification steps.
How we support
- We review probe settings again when you upgrade Qdrant or Kubernetes, or when collection sizes grow materially.
- Retainers can include recurring checks of probe behavior after cluster changes, with findings documented for your records.
- Questions about probe behavior during incidents can be routed to the same team that built the configuration.

