Webhooks for Automated Updates [B]
summary
A microservice uses Docker Hub automated builds and Docker Hub webhooks to detect new image tags (reads push_data.tag and repository.repo_name), then issues a patch Deployment via Kubernetes API to change the image. Implementation is in Go inside Rancher’s webhook framework, runs in-cluster, and uses rolling updates (replicas 3, maxUnavailable 1, maxSurge 1). Demo shows a git push triggers a build, webhook, rolling update and the app updates with zero downtime.
AI-written summary · about
chapters (9)
- 0:00Start
- 3:26Deployment
- 4:34Blue Green Strategy
- 6:14Recreate Strategy
- 7:33Rolling Update strategy
- 9:44Kubernetes rollingUpdate strategy
- 10:45Start RollingUpdate manually
- 14:08Where does this webhook receiver go?
- 14:58Rancher webhook service framework
related talks
29mGit-push Workflows (using git hooks) for Deploying Applications
05mContinuously Update Everything
15mGitkube: Continuous Deployment to Kubernetes using Git Push
28mAutomate Everything
37mGitHub Actions + K8S to level up software dev
52mFrom 0 to Continuous Deployments with Kubernetes, Helm and GitLab
51mSetting up a scalable CI platform with jenkins, docker and rancher
57mGitOps: From Commit to Deploy
