> Markdown version of [/videos/108-get-ready-for-operations-by-pull-requests?t=165](https://www.wearedevelopers.com/videos/108-get-ready-for-operations-by-pull-requests?t=165). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # Get ready for operations by pull requests Stop fighting your infrastructure and start managing it with code. Master Argo CD and GitOps to safely automate enterprise Kubernetes deployments using simple pull requests. - **Speakers:** Liviu Costea - **Event:** WeAreDevelopers LIVE - **Published:** February 3, 2021 - **Duration:** 50:02 - **URL:** https://www.wearedevelopers.com/videos/108-get-ready-for-operations-by-pull-requests ## Summary Transitioning from monolithic virtual machines to microservices requires robust container orchestration, making Kubernetes an obvious choice for scaling software operations. At the heart of Kubernetes lies its asynchronous, event-driven architecture and a fundamental control loop built on three distinct actions: observe the current state, calculate the diff, and act to reach the desired configuration. This underlying robotic automation paves the way for GitOps, a paradigm where the infrastructure and application state is stored declaratively in a Git repository as the single source of truth. Using a pull-based operator, engineering teams can safely manage operations via pull requests, directly bridging the gap between code commits and live cluster changes. Argo CD emerges as a premier GitOps operator that implements these principles by continuously reconciling the cluster state against external repository configurations. Its modular architecture features an API server for resource management, a repository service that natively templates multi-format manifests like Helm and Kustomize, and an application controller responsible for synchronizing these changes. Rather than relying solely on timed polling intervals, organizations can integrate Git provider webhooks to trigger immediate deployments whenever a repository merges new changes. Coupled with an intuitive user interface that simplifies Kubernetes onboarding and native single sign-on integrations, Argo CD transforms traditionally opaque deployments into observable and securely governed workflows. Moving toward enterprise-scale operations, Argo CD provides advanced patterns and monitoring capabilities to optimize deployment life cycles. Adopting the "app of apps" structural pattern allows platform teams to define a hierarchical tree of applications within their directory structures, seamlessly managing dependencies without cluttering a central repository. As the workload expands across thousands of microservices, administrators can track synchronization latency through continuous Prometheus metrics and enable controller sharding to distribute the reconciliation workload evenly. By centrally hosting an Argo CD instance that targets disparate remote clusters, software teams ensure a scalable, resilient, and multi-tenant GitOps operation. **Keywords:** gitops infrastructure management, argo cd architecture, kubernetes control loop, declarative api configuration, pull-based deployment model, app of apps pattern, microservices migration strategy, container orchestration systems, helm and kustomize templating, prometheus metrics integration, controller sharding performance, single sign-on security integration, git provider webhooks, multi-cluster centralized management, software delivery pipelines ## Chapters 1. **Introduction to GitOps and the Argo CD presentation** (00:18) — The foundational principles of GitOps set the stage for exploring declarative infrastructure management with Argo CD. 1. **Transitioning from monolith architectures to microservices and Kubernetes** (02:45) — How the need for faster deployment cycles drove the shift from virtual machines to container orchestration. 1. **Understanding the Kubernetes API server and its components** (06:18) — Understanding the REST API server and its interaction with underlying databases enables programmatic cluster operations. 1. **How asynchronous components manage pod scheduling in Kubernetes** (08:50) — The process of replica sets, schedulers, and nodes working together coordinates background container assignments. 1. **Control loops and automation in continuous state reconciliation** (11:31) — The concept of observing, calculating differences, and applying changes drives systems to reach their desired state. 1. **Moving from declarative APIs to full GitOps implementation** (14:09) — Pulling desired configurations directly from a git repository simplifies continuous cluster management and state maintenance. 1. **Managing git manifests with the Argo CD operator** (17:48) — Syncing cluster state with git repositories through operators provides visual interfaces for team onboarding and deployment tracking. 1. **Internal architecture and key components of Argo CD** (20:43) — The interactions between repository services and application controllers track manifest changes for immediate cluster application. 1. **Advanced Argo CD features like sharding and single sign-on** (26:19) — Optimizations like controller sharding and centralized authentication secure and scale clusters for enterprise operations. 1. **Installing Argo CD and configuring initial cluster connections** (29:40) — Deploying instances and defining custom resource constraints establishes the core foundation for self-managed infrastructures. 1. **Upgrading Argo CD versions through git repository synchronization** (37:43) — Committing operational version bumps directly to centralized repositories automates downstream container cluster updates. 1. **Monitoring deployments and managing monorepos with Argo CD** (45:12) — Capturing deployment metrics and applying hierarchical folder patterns streamlines the management of large monorepos. ## Related Moments - [Architecture of a GitOps backup pipeline demonstration](https://www.wearedevelopers.com/videos/757-integrating-backups-into-your-gitops-pipeline) (from "Integrating backups into your GitOps Pipeline") - [Automating cluster synchronization with Argo CD controllers](https://www.wearedevelopers.com/videos/546-securing-secrets-in-the-gitops-era) (from "Securing Secrets in the GitOps era") - [Exploring the core benefits of adopting GitOps](https://www.wearedevelopers.com/videos/547-how-to-gitops-your-cluster-with-flux) (from "How to GitOps your cluster with Flux") - [Synchronizing configurations through Git repository tracking operators](https://www.wearedevelopers.com/videos/1065-chaos-in-containers-unleashing-resilience) (from "Chaos in Containers - Unleashing Resilience") - [Understanding principles and benefits of the GitOps workflow](https://www.wearedevelopers.com/videos/852-securing-secrets-in-the-gitops-era) (from "Securing secrets in the GitOps Era") - [Comparing declarative GitOps tooling alternatives and interface priorities](https://www.wearedevelopers.com/videos/547-how-to-gitops-your-cluster-with-flux) (from "How to GitOps your cluster with Flux") ## Related Articles - [How Microsoft worked around a Git limitation to shrink a repository by 94%](https://www.wearedevelopers.com/magazine/499-how-microsoft-worked-around-a-git-limitation-to-shrink-a-repository-by-94) - [Stop Googling Git Commands. Start Actually Learning Git.](https://www.wearedevelopers.com/magazine/730-stop-googling-git-commands-start-actually-learning-git) - [The Future of Open Source: A Deep Dive - Scott Chacon at WeAreDevelopers World Congress 2024](https://www.wearedevelopers.com/magazine/471-the-future-of-open-source-a-deep-dive-scott-chacon-at-wearedevelopers-world-congress-2024) - [How we Build The Software of Tomorrow](https://www.wearedevelopers.com/magazine/120-how-we-build-the-software-of-tomorrow) ## Related Jobs - [Devops Engineer](https://www.wearedevelopers.com/jobs/ext/1940926-devops-engineer) at **Bitpanda** - [SecOps Engineer - Full Managed Cloud Stack](https://www.wearedevelopers.com/jobs/ext/99610-secops-engineer-full-managed-cloud-stack) at **BWI GmbH** - [Platform Engineer (DevOps)](https://www.wearedevelopers.com/jobs/48264-platform-engineer-devops) at **WDW Consulting GmbH** - [SecOps Engineer - Full Managed Cloud Stack](https://www.wearedevelopers.com/jobs/ext/99706-secops-engineer-full-managed-cloud-stack) at **BWI GmbH** - [Lead Cloud DevSecOps Engineer - Kubernetes](https://www.wearedevelopers.com/jobs/ext/1659167-lead-cloud-devsecops-engineer-kubernetes) at **BWI GmbH** - [Platform Engineer - Mercury Runtime Platform](https://www.wearedevelopers.com/jobs/ext/293235-platform-engineer-mercury-runtime-platform) at **Raiffeisen Bank International AG**