{"id":22778894,"url":"https://github.com/sugam-arora/cosmocloud-deploy","last_synced_at":"2026-05-04T01:34:07.774Z","repository":{"id":267330215,"uuid":"899216215","full_name":"SUGAM-ARORA/cosmocloud-deploy","owner":"SUGAM-ARORA","description":"Cosmocloud Deploy is a Helm chart designed to simplify the deployment and scaling of applications in Kubernetes environments. This repository provides a comprehensive set of Kubernetes resources, including Deployments, Services, Ingresses, and Horizontal Pod Autoscalers (HPA) for a multi-component application architecture.","archived":false,"fork":false,"pushed_at":"2024-12-09T18:05:51.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T14:13:24.950Z","etag":null,"topics":["backend","cosmocloud","frontend","helm","helm-charts","kubernetes","kubernetes-cluster","redis","yaml"],"latest_commit_sha":null,"homepage":"","language":"Smarty","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SUGAM-ARORA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-05T20:45:34.000Z","updated_at":"2024-12-09T18:07:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa03a7ca-7dd7-48f9-ab2a-e0bdfe5b27a4","html_url":"https://github.com/SUGAM-ARORA/cosmocloud-deploy","commit_stats":null,"previous_names":["sugam-arora/cosmocloud-deploy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SUGAM-ARORA/cosmocloud-deploy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUGAM-ARORA%2Fcosmocloud-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUGAM-ARORA%2Fcosmocloud-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUGAM-ARORA%2Fcosmocloud-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUGAM-ARORA%2Fcosmocloud-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SUGAM-ARORA","download_url":"https://codeload.github.com/SUGAM-ARORA/cosmocloud-deploy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUGAM-ARORA%2Fcosmocloud-deploy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259444941,"owners_count":22858546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","cosmocloud","frontend","helm","helm-charts","kubernetes","kubernetes-cluster","redis","yaml"],"created_at":"2024-12-11T20:07:05.654Z","updated_at":"2026-05-04T01:34:07.724Z","avatar_url":"https://github.com/SUGAM-ARORA.png","language":"Smarty","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n\n\n# Cosmocloud-Deploy Helm Chart\n\n## Introduction\n\n`Cosmocloud-deploy` is a Helm chart designed to deploy a complete application stack consisting of:\n- **Backend**: A scalable backend service.\n- **Frontend**: A user-friendly frontend service.\n- **Redis**: A fast in-memory database for caching and data storage.\n\nThis chart is structured for simplicity, scalability, and modularity, leveraging Kubernetes and Helm to manage deployments efficiently.\n\n---\n\n## Features\n1. **Applications Deployed:**\n   - Backend: Containerized service exposing REST APIs.\n   - Frontend: Web application interacting with the backend.\n   - Redis: Key-value store.\n\n2. **Service Types:**\n   - Backend: ClusterIP for internal communication.\n   - Frontend: NodePort for external exposure.\n   - Redis: ClusterIP for internal communication.\n\n3. **Environment Variables:**\n   - Backend: `REDIS_URI` for Redis connection.\n   - Frontend: `BACKEND_URL` for backend communication.\n\n4. **Namespace:** Default namespace is used.\n\n---\n\n## Prerequisites\n- **Kubernetes Cluster** (v1.22+)\n- **Helm** (v3.0+)\n- Sufficient cluster resources to deploy the application stack.\n\n---\n\n## Installation Instructions\n\n### 1. Clone the Repository\n```bash\ngit clone https://github.com/SUGAM-ARORA/cosmocloud-deploy.git\ncd cosmocloud-deploy\n```\n\n### 2. Lint the Helm Chart\nEnsure the Helm chart is syntactically correct:\n```bash\nhelm lint .\n```\n\n### 3. Package the Chart\nPackage the chart into a `.tgz` file:\n```bash\nhelm package .\n```\n\n### 4. Install the Helm Chart\nDeploy the application stack using Helm:\n```bash\nhelm install testapp . --atomic --timeout 30s\n```\n\n---\n\n## Configuration\n### Default Values\nThe chart's default values are defined in `values.yaml`. Below are the configurable parameters:\n\n```yaml\nbackend:\n  image:\n    repository: shreybatra/sample-backend\n    tag: latest\n  env:\n    REDIS_URI: redis://redis-svc:6379\n  service:\n    type: ClusterIP\n    port: 8000\n\nfrontend:\n  image:\n    repository: shreybatra/sample-frontend\n    tag: latest\n  env:\n    BACKEND_URL: http://backend-svc:8000\n  service:\n    type: NodePort\n    port: 5173\n    nodePort: 31000\n\nredis:\n  image:\n    repository: redis\n    tag: latest\n  service:\n    type: ClusterIP\n    port: 6379\n```\n\n### Customization\nTo override default values, create a custom `values.yaml` file:\n```yaml\nbackend:\n  image:\n    repository: your-backend-image\n  env:\n    REDIS_URI: redis://custom-redis:6379\n```\nInstall the chart with your custom values:\n```bash\nhelm install testapp . -f custom-values.yaml\n```\n\n---\n\n## File Structure\n```\nCosmocloud-deploy/\n├── Chart.yaml            # Helm chart metadata\n├── values.yaml           # Default configuration values\n├── templates/            # Kubernetes resource templates\n│   ├── deployment.yaml   # Deployment configurations\n│   ├── service.yaml      # Service configurations\n│   ├── _helpers.tpl      # Template helpers\n│   ├── ingress.yaml      # Ingress configurations (optional)\n│   └── NOTES.txt         # Post-installation instructions\n```\n\n---\n\n## Verifying the Deployment\n\n1. **Check Pods:**\n   ```bash\n   kubectl get pods\n   ```\n\n2. **Check Services:**\n   ```bash\n   kubectl get svc\n   ```\n\n3. **Access the Application:**\n   - Frontend: Access via NodePort (`\u003cNodeIP\u003e:31000`).\n   - Backend and Redis: Internal ClusterIP services.\n\n---\n\n## Troubleshooting\n\n- **Cluster Unreachable:** Ensure your Kubernetes cluster is running and `kubectl` is configured correctly.\n- **Chart Errors:** Run `helm lint .` to validate your chart.\n- **Deployment Issues:** Review pod logs:\n  ```bash\n  kubectl logs \u003cpod-name\u003e\n  ```\n\n---\n\n## Cleanup\nTo uninstall the application stack:\n```bash\nhelm uninstall testapp\n```\n\n---\n\n## Contributing\nContributions are welcome! Feel free to fork this repository, make changes, and submit a pull request.\n\n---\n\n## License\nThis project is licensed under the MIT License.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsugam-arora%2Fcosmocloud-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsugam-arora%2Fcosmocloud-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsugam-arora%2Fcosmocloud-deploy/lists"}