WA3235

GitOps Using Flux Training

GitOps is a set of principles that help automate application deployment to a Kubernetes cluster. Flux is an open-source tool that allows you to implement GitOps in your organization. This GitOps with Flux course starts by describing GitOps and its advantages over traditional Continuous Deployment (CD) approaches. It then dives into how you can use Flux to implement GitOps.

Course Details

Duration

1 day

Prerequisites

Prior knowledge of deploying applications to Kubernetes.

Target Audience

  • DevOps Administrators
  • Software Developers

Skills Gained

  • Understand the benefits of GitOps
  • How to set up Flux in a Kubernetes cluster
  • How to deploy an application using Flux
  • How to protect secure data using Apache SOPS
Course Outline
  • Introduction to GitOps
    • What is GitOps?
    • Benefits of GitOps
    • Common GitOps Tools
    • A Typical GitOps Workflow
  • Introduction to Flux
    • What is Flux?
    • Key Components of Flux
    • Installing Flux
    • Bootstrapping Flux
    • Bootstrap Switches
    • A Review of the Components
    • Manifest Files Created by Bootstrap
  • Deploy Application Using Flux
    • Create Deployment Manifest Files
    • Create the kustomization File
    • Create a Source for the Application
    • Specify the Location of the Kustomization File
    • Deploying the Application
    • Troubleshooting Deployment
  • Encrypt Secrets Using SOPS
    • K8s Secrets
    • Defining a Secret
    • Using the Secrets from an Application
    • Secrets and GitOps
    • The Basic Workflow
  • Lab Exercises
    • Lab 1. Prepare for Deploying an Application to Kubernetes
    • Lab 2. Deploy an Application
    • Lab 3. In a Traditional Way
    • Lab 4. Deploy an Application Using Flux
    • Lab 5. Deploy Secrets
    • Lab 6. Unencrypted
    • Lab 7. Using Flux
    • Lab 8. Encrypt Secrets Using SOPS
    • Lab 9. Removing a Deployment