aula-11: ArgoCD + GitLab Runner para GitOps CI/CD
- ArgoCD via Helm com recursos mínimos (~1Gi) - GitLab Runner com executor Kubernetes - Exemplo node-bugado com Dockerfile e .gitlab-ci.yml - Manifests K8s para repositório GitOps - README.md da aula-03 (liveness + readiness probes)
This commit is contained in:
22
CLAUDE.md
22
CLAUDE.md
@@ -18,6 +18,7 @@ This is a workshop repository for teaching Docker and Kubernetes concepts, speci
|
||||
- **aula-08/**: OpenTofu - provisioning HA Talos Kubernetes cluster on Hetzner Cloud with CCM and LoadBalancer
|
||||
- **aula-09/**: Kubernetes lesson - n8n deployment via Helm (Hetzner Cloud with CSI Driver and multi-tenant support)
|
||||
- **aula-10/**: Kubernetes lesson - GitLab deployment via Helm with Container Registry and SSH
|
||||
- **aula-11/**: Kubernetes lesson - ArgoCD + GitLab Runner for GitOps CI/CD pipelines
|
||||
|
||||
## Running the Examples
|
||||
|
||||
@@ -141,6 +142,27 @@ Prerequisites:
|
||||
|
||||
To remove: `./cleanup.sh`
|
||||
|
||||
### Aula 11 (Kubernetes - ArgoCD + GitLab Runner)
|
||||
```bash
|
||||
cd aula-11
|
||||
export KUBECONFIG=/path/to/aula-08/kubeconfig
|
||||
./setup.sh
|
||||
```
|
||||
Implements GitOps CI/CD pipeline with:
|
||||
- GitLab Runner (Kubernetes executor) for CI pipelines
|
||||
- ArgoCD for declarative GitOps continuous deployment
|
||||
- Integration with GitLab self-hosted (aula-10)
|
||||
- Example application with Dockerfile and GitLab CI pipeline
|
||||
|
||||
Pipeline flow: git push → GitLab CI (build) → Registry (push) → GitOps repo (update) → ArgoCD (sync) → Kubernetes (deploy)
|
||||
|
||||
Prerequisites:
|
||||
- Completed Aula 10 (GitLab)
|
||||
- NGINX Ingress with LoadBalancer
|
||||
- DNS configured for ArgoCD hostname
|
||||
|
||||
To remove: `./cleanup.sh`
|
||||
|
||||
## App Behavior
|
||||
|
||||
The Node.js app (`app.js`) is intentionally designed to:
|
||||
|
||||
Reference in New Issue
Block a user