Перейти к содержимому

Build a Real GitOps Pipeline From Scratch | GitHub Actions → Docker Hub → Argo CD → K8s

Sudo Cloud

0:00 / 0:00

Build a Real GitOps Pipeline From Scratch | GitHub Actions → Docker Hub → Argo CD → K8s

145 просмотров · 2 нед. назад
Sudo Cloud
390 подписчиков
145 просмотров · 2 нед. назад
🚀 In this video, you'll learn how to build a complete, production-style CI/CD + GitOps pipeline using GitHub Actions, Docker, Argo CD, and Kubernetes — step by step, from zero to a fully automated deployment. ⏱️ CHAPTERS / TIMESTAMPS: 00:00 - Introduction & Architecture Overview 00:34 - Creating App & GitOps Repositories on GitHub 02:08 - Kubernetes Manifests (Deployment & Service YAML) 05:11 - Creating K8s Namespace & Docker Registry Secret 20:22 - Generating & Setting Up SSH Deploy Keys 28:15 - Connecting GitOps Repository to Argo CD via SSH 31:47 - Creating Argo CD Application (Auto Sync & Self Heal) 37:12 - Setting Up Self-Hosted GitHub Actions Runner 41:18 - Writing GitHub Actions CI/CD Workflow YAML 52:10 - Testing End-to-End Pipeline & Auto-Deployment 58:40 - Debugging & Troubleshooting Common Pipeline Issues We stop manually running `kubectl apply` and instead let Git be the single source of truth. Every push to the app repo triggers a pipeline that builds a Docker image, pushes it to Docker Hub, updates a separate GitOps repo, and lets Argo CD automatically sync and deploy to Kubernetes — with self-healing and auto-pruning enabled. Github Repo Link - https://github.com/Harshu1441/Argo_CD... 🔧 What we cover: ✅ Setting up two repos — app repo + GitOps repo ✅ Creating a Kubernetes namespace and Docker registry secret ✅ Writing a Dockerfile and building/pushing your first image ✅ Deployment.yaml + Service.yaml for Kubernetes ✅ Generating and scoping SSH deploy keys (read-only for Argo CD, read/write for GitHub Actions) ✅ Connecting a private GitOps repo to Argo CD over SSH ✅ Creating an Argo CD Application with Auto Sync, Self Heal, and Prune ✅ Installing a self-hosted GitHub Actions runner ✅ Writing the full GitHub Actions workflow (build → push → update GitOps → commit → push) ✅ Watching Argo CD detect the Git change and auto-deploy to Kubernetes ✅ Debugging common issues (ImagePullBackOff, empty secrets, SSH key permissions) 🧰 Tech stack: GitHub Actions | Docker | Docker Hub | Kubernetes | Argo CD | GitOps 💬 Got stuck on a step? Drop a comment — happy to help debug. 👍 If this helped you, like, subscribe, and turn on notifications for more DevOps/Cloud content. #GitOps #ArgoCD #Kubernetes #DevOps #CICD