Kubernetes
Kubernetes deployment is the recommended method for production environments requiring high availability and scalability.
Vectora provides standard manifests covering secrets, configuration, deployment, and auto-scaling (HPA).
Manifest Structure
The manifests are located in the k8s/ folder at the project root:
secret.yaml: Stores sensitive API keys and JWT tokens.configmap.yaml: Non-sensitive configurations (URLs, ports, etc.).deployment.yaml: Defines the desired state of thevectora-cloudcontainer.service.yaml: Exposes Vectora internally or via LoadBalancer.hpa.yaml: Configures Horizontal Pod Autoscaler based on CPU/Memory.
Deployment Steps
- Configure Secrets: Update
k8s/secret.yamlwith your base64-encoded keys or use a secret management tool. - Apply Manifests: Use the
make k8s-deploycommand or apply directly withkubectl. - Verify: Monitor the pods to ensure Vectora started correctly.
kubectl get pods -l app=vectoraExternal Linking
Kubernetes & Cloud
| Concept | Resource | Link |
|---|---|---|
| kubectl | Cheat Sheet | kubernetes.io/docs/reference/kubectl/cheatsheet/ |
| HPA | Pod Autoscaling | kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ |
| Helm | Package Manager | helm.sh |