Skip to content

Create a Helm Chart and local Kind setup - #126

Open
albal wants to merge 10 commits into
IliasHad:mainfrom
albal:albal/create-helm-chart
Open

Create a Helm Chart and local Kind setup#126
albal wants to merge 10 commits into
IliasHad:mainfrom
albal:albal/create-helm-chart

Conversation

@albal

@albal albal commented May 5, 2026

Copy link
Copy Markdown

This pull request introduces a full-featured Helm chart for deploying the Edit Mind application and its supporting services on Kubernetes, with special support for local development using Kind. The changes add all necessary Kubernetes manifests (deployments, statefulsets, services, config, secrets, and persistent storage), a comprehensive default configuration, and updated documentation for Kubernetes-based workflows.

The most important changes are:

Helm Chart and Kubernetes Manifests:

  • Added a new Helm chart at charts/edit-mind with all required templates for deploying Edit Mind and its dependencies (web, background-jobs, ML, Chroma, Redis, Postgres) as Kubernetes resources, including deployments, statefulsets, services, configmaps, secrets, and persistent volume claims. [1] [2] [3] [4] [5] [6] [7]

Configuration and Customization:

  • Introduced a comprehensive values.yaml file for the Helm chart, allowing users to configure images, ports, resource requests, GPU support, secrets, persistence, and environment variables for all components.

Documentation Updates:

  • Updated README.md to document the new Kubernetes deployment workflow, including prerequisites, usage of the provided kind-deploy.sh script, and instructions for manual Helm installation and configuration overrides.
  • Added installation notes in charts/edit-mind/templates/NOTES.txt to guide users on accessing the application after deploying with Helm.

These changes enable users to deploy Edit Mind on any Kubernetes cluster, with easy local development using Kind and Helm, and provide flexibility for production deployments.

Copilot AI and others added 10 commits May 5, 2026 15:52
Agent-Logs-Url: https://github.com/albal/edit-mind/sessions/712d72b3-68c7-479a-a388-ee03c504ab9f

Co-authored-by: albal <2963080+albal@users.noreply.github.com>
Agent-Logs-Url: https://github.com/albal/edit-mind/sessions/712d72b3-68c7-479a-a388-ee03c504ab9f

Co-authored-by: albal <2963080+albal@users.noreply.github.com>
Agent-Logs-Url: https://github.com/albal/edit-mind/sessions/712d72b3-68c7-479a-a388-ee03c504ab9f

Co-authored-by: albal <2963080+albal@users.noreply.github.com>
Agent-Logs-Url: https://github.com/albal/edit-mind/sessions/712d72b3-68c7-479a-a388-ee03c504ab9f

Co-authored-by: albal <2963080+albal@users.noreply.github.com>
Agent-Logs-Url: https://github.com/albal/edit-mind/sessions/712d72b3-68c7-479a-a388-ee03c504ab9f

Co-authored-by: albal <2963080+albal@users.noreply.github.com>
* Script to setup and run chart in Kind
* Helper script to install required Nvidia libraries for GPU in Kind/Docker
@IliasHad

IliasHad commented May 5, 2026

Copy link
Copy Markdown
Owner

First of all, thank you, @albal, for your contribution. I never used Helm or Kind before. What will be the best way to test your setup locally?

@albal

albal commented May 5, 2026

Copy link
Copy Markdown
Author

I use Ubuntu as my daily driver but it should also work from a WSL Instance and on Mac. There are some scripts in the scripts folder that you can try out. For e2e testing you might want to look at this action though I think some of the images may be too big for GHA.

Testing on Kind is meant for local development when you want to target real Kubernetes infrastructure as the end goal. I know not everyone will be running Kubernetes but if they were they could scale out parts of application to multiple node and GPUs.

@IliasHad

IliasHad commented May 5, 2026

Copy link
Copy Markdown
Owner

I use Ubuntu as my daily driver but it should also work from a WSL Instance and on Mac. There are some scripts in the scripts folder that you can try out. For e2e testing you might want to look at this action though I think some of the images may be too big for GHA.

Awesome, thank you will try that soon. Yes, the ML image is too big and working on getting it optimized.

Testing on Kind is meant for local development when you want to target real Kubernetes infrastructure as the end goal. I know not everyone will be running Kubernetes but if they were they could scale out parts of application to multiple node and GPUs.

Prefect timing, I was looking to work on making the edit-mind-ml and edit-mind-background-jobs scale out to multiple node and GPUs to process more videos at the same time because some users already have mutliple GPUs and wanna process videos across their GPUs. Thank you so much for your contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants