| page_title | cozystack_qdrant Resource - cozystack |
|---|---|
| subcategory | |
| description | A Cozystack managed Qdrant vector database, deployed inside a tenant namespace. |
A Cozystack managed Qdrant vector database, deployed inside a tenant namespace.
resource "cozystack_qdrant" "vectors" {
name = "vectors"
namespace = "tenant-root"
replicas = 2
size = "20Gi"
}name(String) Qdrant instance name (metadata.name). Immutable.namespace(String) Tenant namespace the instance is created in. Immutable.
external(Boolean) Enable external access from outside the cluster.replicas(Number) Number of Qdrant replicas (cluster mode is enabled when > 1).resources(Attributes) Explicit CPU and memory per replica. Overridesresources_presetfor any field set. (see below for nested schema)resources_preset(String) Sizing preset applied whenresourcesis omitted (e.g.t1.small).size(String) Persistent volume size for vector data (quantity, e.g.10Gi).storage_class(String) StorageClass used to store the data.wait_for_ready(Boolean) Block on create/update until the tenant'sReadycondition is true.wait_timeout(String) Maximum time to wait whenwait_for_readyis set (Go duration, e.g.10m).
chart_version(String) Deployed chart version (status.version).id(String) Synthetic identifier in the formnamespace/name.ready(Boolean) Whether the instance'sReadycondition is true.uid(String) Server-assigned object UID (metadata.uid).
Optional:
cpu(String) CPU available to each replica (quantity, e.g.500m).memory(String) Memory available to each replica (quantity, e.g.512Mi).
Import is supported using the following syntax:
The terraform import command can be used, for example:
# Qdrant instances are imported as "<namespace>/<name>".
terraform import cozystack_qdrant.vectors tenant-root/vectors