cognee/deployment/helm/templates/cognee_deployment.yaml
Vasilije b71b704b50
chore: Move files (#848)
<!-- .github/pull_request_template.md -->

## Description
<!-- Provide a clear description of the changes in this PR -->

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.

---------

Co-authored-by: Igor Ilic <igorilic03@gmail.com>
2025-05-22 21:42:47 +02:00

32 lines
886 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-cognee
labels:
app: {{ .Release.Name }}-cognee
spec:
replicas: 1
selector:
matchLabels:
app: {{ .Release.Name }}-cognee
template:
metadata:
labels:
app: {{ .Release.Name }}-cognee
spec:
containers:
- name: cognee
image: {{ .Values.cognee.image }}
ports:
- containerPort: {{ .Values.cognee.port }}
env:
- name: HOST
value: {{ .Values.cognee.env.HOST }}
- name: ENVIRONMENT
value: {{ .Values.cognee.env.ENVIRONMENT }}
- name: PYTHONPATH
value: {{ .Values.cognee.env.PYTHONPATH }}
resources:
limits:
cpu: {{ .Values.cognee.resources.cpu }}
memory: {{ .Values.cognee.resources.memory }}