https://github.com/opplieam/bb-k8s-infra
This repository centralizes Kubernetes resource files and Terraform configurations for GKE. It utilizes ArgoCD as part of the CI/CD pipeline to automate the deployment.
https://github.com/opplieam/bb-k8s-infra
argocd gcp github-actions gitops gke-cluster helm kubernetes terraform
Last synced: 3 months ago
JSON representation
This repository centralizes Kubernetes resource files and Terraform configurations for GKE. It utilizes ArgoCD as part of the CI/CD pipeline to automate the deployment.
- Host: GitHub
- URL: https://github.com/opplieam/bb-k8s-infra
- Owner: opplieam
- Created: 2024-11-14T13:59:30.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-12-12T01:07:59.000Z (6 months ago)
- Last Synced: 2025-01-18T02:28:50.288Z (5 months ago)
- Topics: argocd, gcp, github-actions, gitops, gke-cluster, helm, kubernetes, terraform
- Language: HCL
- Homepage:
- Size: 399 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

### ArgoCD Screenshot
