Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opplieam/bb-k8s-infra
A Kubernetes resource file serves as the source of truth monitored by ArgoCD as part of the CI/CD pipeline.
https://github.com/opplieam/bb-k8s-infra
argocd github-actions gitops helm kubernetes
Last synced: 1 day ago
JSON representation
A Kubernetes resource file serves as the source of truth monitored by ArgoCD as part of the CI/CD pipeline.
- Host: GitHub
- URL: https://github.com/opplieam/bb-k8s-infra
- Owner: opplieam
- Created: 2024-11-14T13:59:30.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-04T17:50:48.000Z (about 2 months ago)
- Last Synced: 2024-12-04T18:41:05.723Z (about 2 months ago)
- Topics: argocd, github-actions, gitops, helm, kubernetes
- Language: Makefile
- Homepage:
- Size: 391 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Buy Better Kubernetes Infrastructure
### Centralized Kubernetes Resource Repository
This repository serves as a centralized hub for Kubernetes resource files (YAML) and Terraform Infrastructure as Code (IaC) for Google Kubernetes Engine (GKE). It leverages ArgoCD to monitor, synchronize, and deploy these resources to the Kubernetes cluster.
### Automated Resource Management
All Kubernetes resource files are automatically generated and managed through a CI/CD pipeline:
- **Code Changes:** When a pull request for a service (e.g., `bb-core-api`) is merged, GitHub Actions triggers a build and pushes the new image to Docker Hub.
- **Helm Chart Generation:** Helm generates updated YAML files with the specific image tag and commits them to this repository.
- **ArgoCD Deployment:** ArgoCD detects the changes and automatically deploys the updated resources to the Kubernetes cluster.### Infrastructure as Code (IaC) with Terraform
This repository also includes Terraform IaC for provisioning and managing the GKE cluster, including:
- Networking configuration
- Static IP for Ingress
- Router and NAT
- Service Account and Roles[Example of GitHub Actions that push files to this repository.](https://github.com/opplieam/bb-core-api/blob/main/.github/workflows/ci.yml)
### CI/CD Pipeline
![img](https://github.com/opplieam/bb-k8s-infra/blob/main/k8s.drawio.png?raw=true)
### ArgoCD Screenshot
![img](https://github.com/opplieam/bb-k8s-infra/blob/main/argocd-ss.png?raw=true)