cognee/helm/templates/cognee_deployment.yaml
Vasilije 62c84dde5e
feat: added helm clean push (#606)
<!-- .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


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a Helm-based deployment package that streamlines setup for
the backend application and PostgreSQL database on Kubernetes.
- Added orchestration support via Docker Compose for managing
multi-container deployments.
- Added new Kubernetes resources including Deployments, Services, and
PersistentVolumeClaims for both the backend and PostgreSQL.

- **Documentation**
- Provided comprehensive infrastructure and deployment instructions for
Kubernetes environments.

- **Chores**
- Established a standardized container build process for the Python
application.
- Introduced configuration settings for service ports, resource limits,
and environment variables.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Daniel Molnar <soobrosa@gmail.com>
Co-authored-by: Boris <boris@topoteretes.com>
2025-03-08 08:51:57 -08: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 }}