Hello Rohan,
Thank you for posting your question on the Microsoft Windows Forum!
Based on your description, the pod may be hitting its memory limit during the collection loading phase and getting terminated before the index build completes.
Step 1: Confirm Whether the Pod Is Being OOMKilled
How to Run kubectl describe pod <pod-name>
Step 1: Open a command-line window
Depending on your environment, open:
- Windows PowerShell
- Command Prompt (CMD)
- Windows Terminal
Connect to the Kubernetes cluster
Make sure kubectl is installed and configured to access your cluster.
You can verify connectivity with:
kubectl get nodes
If the command returns cluster nodes, you're connected successfully.
Find the Pod Name
Run:
kubectl get pods
Example output:
NAME READY STATUS RESTARTS AGE
vector-engine-7d8f9c8b-kx7lm 1/1 Running 0 2h
In this example, the pod name is:
vector-engine-7d8f9c8b-kx7lm
Describe the Pod
Replace <pod-name> with the actual pod name:
kubectl describe pod vector-engine-7d8f9c8b-kx7lm
Review the Output
Look for sections such as:
State:
Last State:
Events:
and particularly messages like:
OOMKilled
Memory limit exceeded
These indicate the pod was terminated because it exceeded its memory allocation.
If the Pod Is in a Specific Namespace
First list the namespaces:
kubectl get namespaces
Then run:
kubectl describe pod <pod-name> -n <namespace>
Example:
kubectl describe pod vector-engine-7d8f9c8b-kx7lm -n production
Additional Helpful Command
To check current memory usage:
kubectl top pod <pod-name>
This helps determine whether the pod is approaching its memory limit before crashing.
If you share the output of:
kubectl describe pod <pod-name>
especially the Events section, we can help determine whether the vector engine is being terminated due to insufficient RAM or another issue.
Step 2: Check Current Memory Consumption
Run:
kubectl top pod <pod-name>
Compare the reported memory usage to the pod's configured memory limit.
RAM Sizing Guidance
A common starting estimate is:
Memory ≈ Number of vectors × Dimensions × Bytes per value
For example:
1,000,000 vectors
1536 dimensions
float32 (4 bytes)
≈ 6.1 GB raw vector data
You must then add memory for:
- Index structures
- Metadata
- Search cache
- Background operations
- Working space during index creation
This often increases the total requirement significantly depending on the index type.
Additional Information Needed
To provide a realistic sizing recommendation, could you please share:
- Which vector engine are you using?
- Number of vectors being loaded?
- Vector dimensions?
- Index type (HNSW, IVF, Flat, etc.)?
- Current Kubernetes memory limits?
For example:
resources:
limits:
memory: "16Gi"
Once I have those details, we can help estimate the required RAM more accurately.
I hope this answer has provided you with useful information. If so, please click "Accept answer" and consider upvoting it. This helps other community members find useful solutions to similar problems.