{"id":21079363,"url":"https://github.com/jaydipsinh27/k8s-microservice","last_synced_at":"2025-07-29T20:40:24.997Z","repository":{"id":259524327,"uuid":"878113247","full_name":"JAYDIPSINH27/k8s-microservice","owner":"JAYDIPSINH27","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-24T20:19:26.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T04:30:27.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/JAYDIPSINH27.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-10-24T19:58:10.000Z","updated_at":"2024-11-20T22:31:49.000Z","dependencies_parsed_at":"2024-10-26T07:29:32.571Z","dependency_job_id":null,"html_url":"https://github.com/JAYDIPSINH27/k8s-microservice","commit_stats":null,"previous_names":["jaydipsinh27/k8s-microservice"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JAYDIPSINH27/k8s-microservice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JAYDIPSINH27%2Fk8s-microservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JAYDIPSINH27%2Fk8s-microservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JAYDIPSINH27%2Fk8s-microservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JAYDIPSINH27%2Fk8s-microservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JAYDIPSINH27","download_url":"https://codeload.github.com/JAYDIPSINH27/k8s-microservice/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JAYDIPSINH27%2Fk8s-microservice/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267755473,"owners_count":24139452,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-19T19:45:50.817Z","updated_at":"2025-07-29T20:40:24.942Z","avatar_url":"https://github.com/JAYDIPSINH27.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubernetes Microservices with CI/CD Pipeline on GKE\n\nYou can view the live demo of the project by following this link:  \n[Project Demo](https://drive.google.com/file/d/1FFaDXHpyypMHhkld5eqcNWsu-Y0wjDzO/view?usp=sharing)\n\n## Project Overview\nThis project demonstrates the deployment of two microservices on **Google Kubernetes Engine (GKE)**, orchestrated using **Kubernetes** and **Docker**. It includes a complete **CI/CD pipeline** for automated builds and deployments using **Google Cloud Build**. The services interact via RESTful APIs, and both utilize a shared **Persistent Volume** for file storage and retrieval.\n\n### Microservices Architecture\n- **Service 1**: Responsible for storing product data in a file and retrieving product details from a persistent volume.\n- **Service 2**: Handles the calculation of product totals based on the stored file from Service 1 and communicates the result.\n\n## Project Structure\n```bash\nK8S/\n├── Service1/\n│   ├── node_modules/\n│   ├── deployment.yml       # Kubernetes deployment configuration for Service 1\n│   ├── Dockerfile           # Dockerfile to build Service 1 image\n│   ├── index.js             # Service 1 logic (File storage \u0026 API handling)\n│   ├── package-lock.json\n│   ├── package.json         # Dependencies for Service 1\n├── Service2/\n│   ├── node_modules/\n│   ├── deployment.yml       # Kubernetes deployment configuration for Service 2\n│   ├── Dockerfile           # Dockerfile to build Service 2 image\n│   ├── index.js             # Service 2 logic (Product calculation \u0026 API handling)\n│   ├── package-lock.json\n│   ├── package.json         # Dependencies for Service 2\n├── main.tf                  # Terraform script to provision GKE cluster\n└── pv.yml                   # Persistent volume configuration for shared data\n\n## Technologies Used\n- **Google Cloud Platform (GCP)**\n  - Google Kubernetes Engine (GKE)\n  - Google Cloud Build\n  - Artifact Registry\n  - Cloud Source Repository\n- **Kubernetes** for container orchestration\n- **Terraform** for infrastructure as code (IaC)\n- **Docker** for containerization\n- **Node.js \u0026 Express.js** for microservices\n\n## Features\n- **Microservices** architecture with RESTful APIs.\n- **File storage and retrieval** on GKE persistent volume.\n- **Product total calculation** using stored CSV files.\n- **CI/CD Pipeline** for continuous integration and deployment using Google Cloud tools.\n- **Automated Infrastructure** setup using Terraform for GKE cluster provisioning.\n\n## Deployment Instructions\n\n### Prerequisites\n- Google Cloud account with sufficient credits.\n- GCP services enabled: **Kubernetes Engine, Artifact Registry, Cloud Build**.\n- Install **Terraform** for infrastructure provisioning.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaydipsinh27%2Fk8s-microservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaydipsinh27%2Fk8s-microservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaydipsinh27%2Fk8s-microservice/lists"}