mirror of
https://github.com/dat515-2025/Group-8.git
synced 2026-03-22 15:12:08 +01:00
1.6 KiB
1.6 KiB
Helm chart deployment
This directory contains a Helm chart for deploying the app to a cluster, it support bot production and preview deployment.
Directory Structure
myapp-chart/templates/app-deployment.yaml- Kubernetes Deployment for the applicationcron.yaml- cronjob for periodic tasks - periodically calls app endpointdatabase.yaml- Creates database using MariaDB operator. Production database is kept, but preview/dev database is dropped after uninstalling the chart.database-grant.yaml- Defines rights for the database userdatabase-user.yaml- Creates database usermonitoring.yaml- Adds /metrics endpoint to Prometheus scrapingprod.yaml- Application secretsrabbitmq-cluster.yaml- Defines RabbitMQ cluster for this deploymentrabbitmq-permission.yalm- Defines RabbitMQ user permissionsrabbitmq-queue.yaml- Defines RabbitMQ queuerabbitmq-user.yaml- Defines RabbitMQ userrabbitmq-user-secret.yaml- Defines RabbitMQ user secretservice.yaml- Kubernetes Service for the applicationtunnel.yaml- Cloudflare tunnel for accessing the application¨worker-deployment.yaml- Kubernetes Deployment for the Celery worker, uses same image as the app-deployment, but with different entrypoint
Chart.yaml- Helm chart metadatavalues.yaml- list of all configurable valuesvalues-dev.yaml- default values for development/preview deploymentvalues-prod.yaml- default values for production deployment