Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy/kubernetes/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
namespace: context-engine
labels:
app: context-engine
component: configuration
component: configuration
data:
COLLECTION_NAME: "codebase"
EMBEDDING_MODEL: "BAAI/bge-base-en-v1.5"
Expand Down
12 changes: 7 additions & 5 deletions deploy/kubernetes/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,15 @@ resources:
- ingress.yaml

# Common labels
commonLabels:
app.kubernetes.io/name: context-engine
app.kubernetes.io/component: kubernetes-deployment
app.kubernetes.io/managed-by: kustomize
labels:
- includeSelectors: true
pairs:
app.kubernetes.io/name: context-engine
app.kubernetes.io/component: kubernetes-deployment
app.kubernetes.io/managed-by: kustomize

# Patches for production customization
patchesStrategicMerge: []
patches: []

# ConfigMap generator (optional - for overrides)
configMapGenerator:
Expand Down
1 change: 0 additions & 1 deletion deploy/kubernetes/namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ kind: Namespace
metadata:
name: context-engine
labels:
name: context-engine
app: context-engine
component: infrastructure
12 changes: 6 additions & 6 deletions deploy/kubernetes/qdrant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
value: "6334"
resources:
requests:
memory: "2Gi"
memory: "2Gi"
cpu: "1"
limits:
memory: "8Gi"
Expand All @@ -49,13 +49,13 @@ memory: "2Gi"
mountPath: /qdrant/storage
livenessProbe:
httpGet:
path: /healthz
path: /healthz
port: http
initialDelaySeconds: 30
periodSeconds: 10
readinessProbe:
httpGet:
path: /readyz
path: /readyz
port: http
initialDelaySeconds: 5
periodSeconds: 5
Expand Down Expand Up @@ -108,17 +108,17 @@ metadata:
app: context-engine
component: qdrant
spec:
type: NodePort # Change to LoadBalancer if your cluster supports it
type: NodePort # Change to LoadBalancer if your cluster supports it
ports:
- name: http
port: 6333
targetPort: http
nodePort: 30333 # Optional: specify node port
nodePort: 30333 # Optional: specify node port
protocol: TCP
- name: grpc
port: 6334
targetPort: grpc
nodePort: 30334 # Optional: specify node port
nodePort: 30334 # Optional: specify node port
protocol: TCP
selector:
app: context-engine
Expand Down
Loading