Kubernetes GitOps With Flux and ArgoCD
Published by Pearson
Streamline and automate your Kubernetes workload and containerized application deployments
- Learn core GitOps skills and how they work in production
- See how GitOps streamlines manual Kubernetes deployments so you can easily get Kubernetes Manifests deployed
- Uncover what GitOps is and the problems it solves
- Learn to implement GitOps with real-world scenarios and labs
Kubernetes manifests are usually simple, but the more you have, the more complicated it can become to use them. GitOps helps you streamline this process when deploying manifests so building your applications isn’t a thorny process. With GitOps you can automate deployments based on source control and the code that lives inside of it.
This 4-hour live training will detail how GitOps takes code inside of source control and automatically deploys it as the desired state for the application running inside of your Kubernetes cluster. This training will emphasize how to take away the manual effort of deploying apps to Kubernetes and then how to automate the entire process using GitOps practices.
This is a quick way to learn the basics of GitOps so you can get started in a production environment using GitOps today.
What you’ll learn and how you can apply it
By the end of the live online course, you’ll understand:
- The basic and intermediate concepts of GitOps
- GitOps best practices and how to use GitOps in production
- Knowledge around the two most popular GitOps tools
- Knowledge and clarity around why GitOps is needed for every environment
And you’ll be able to:
- Start working with GitOps for the job you have or the job you want
- Use Flux and ArgoCD in production to showcase why it’s an important implementation
- Build GitOps solutions for yourself, your team, your job, or the community
This live event is for you because...
- You want the ability to learn the most efficient way to deploy containerized applications to Kubernetes
- You want to take your Kubernetes skills to the next level by learning one of the most popular add-ons/third-party Kubernetes solutions
- You want to either scale up your current job as a Kubernetes/DevOps/Platform expert or get a new job
Prerequisites
- 12 months of Kubernetes use in production
- Knowledge of developer tools like IDEs, code editors like VS Code, GitHub, etc.
- Hands-on experience with automated deployments
Course Set-up
- A GitHub account. You can access the code for this course here: https://github.com/AdminTurnedDevOps/PearsonCourses/tree/main/GitOps-For-Kubernetes
- Access to a decently powerful machine (for example, an I7 with 16 GB of RAM)
- VS Code: https://code.visualstudio.com/download
- A Kubernetes cluster running anywhere with something like Minikube or Docker Desktop. You can install Minikube from here: (https://minikube.sigs.k8s.io/docs/start/) or Docker Desktop from here: (https://docs.docker.com/desktop/windows/install/)
Recommended Preparation
- Attend: Kubernetes in 4 Hours by Sander van Vugt
- Watch: Getting Started with Kubernetes, 2nd Edition, by Sander van Vugt
- Attend: Build a CI/CD Pipeline by Byron Sommardahl
- Watch: Creating a Lab Environment by Sander van Vugt to learn how to create a MiniKube
Recommended Follow-up
- Attend: Kubernetes Automation with DevOps and GitOps by Sander van Vugt
Schedule
The time frames are only estimates and may vary according to how the class is progressing.
Segment 1: Welcome and Setup (10 min)
- What is a Kubernetes Manifest?
- What is GitOps?
Segment 2: Introduction to GitOps (25 min)
- Why GitOps?
- Understanding the challenges of automated deploymentsWhat’s the need for GitOps?
- Pros and cons of GitOps
- GitOps vs Infrastructure-as-Code vs Configuration Management
- Does it make sense for every organization to adopt GitOps?
Break (10 min)
Segment 3: GitOps Architecture and Tooling (40 min)
- How GitOps works (architecture)
- GitOps tooling and operatorsHow GitOps connects to source control from Kubernetes
- Tools and operators available, including Flux
- Deploying Kubernetes manifests manually
- Canary deployments with GitOps
- Hands-On Exercises: Deploying a Kubernetes Manifest manually, Canary deployment example, Deploying Flux
- Lab: GitOps Architecture and Tooling
Segment 4: ArgoCD (35 minutes)
- What is ArgoCD
- Why Argo over other toolsHow to get started with ArgoCD
- Hands-On Exercise: Deploying ArgoCD
- Lab: ArgoCD
Break (10 minutes)
Segment 5: Monitoring and Observability for GitOps (25 minutes)
- Monitoring your GitOps solutionDesired state vs current state
- Monitoring metrics: Logs, Event data, Tracing
- Tools to use: Prometheus, Grafana, Flux
- Hands-On Exercise: Setting up Prometheus for GitOps
- Lab: Monitoring and Observability
Break (10 minutes)
Segment 6: GitOps and Helm (20 minutes)
- Helm and Tiller
- Installing Flux via Helm
- HelmRelease Kubernetes operator
- Lab: GitOps and Helm
Segment 7: Deploying A GitOps Solution (40 minutes)
- Build a full production-ready GitOps solution in the cloud
- Hands-On Exercises: Deploy ArgoCD, Deploy a Kubernetes Deployment, Pods, and Service with ArgoCD, Deploy monitoring and observability with ArgoCD, Change the Kubernetes Manifests, Confirm deployments and current state/desired state
Q&A (15 minutes)
Your Instructor
Michael Levan
Michael Levan is a seasoned engineer and consultant in the Kubernetes and Security space who spends his time working with startups and enterprises around the globe on Kubernetes consulting, training, and content creation. He is a trainer, 4x published author, podcast host, international public speaker, CNCF Ambassador, and was part of the Kubernetes v1.28 and v1.31 Release Team.