- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Core Tech
Automating Continuous Deployment to Kubernetes with Flux
In this hands-on lab, you'll automate deployments to Kubernetes with Flux. You'll bootstrap Flux into a cluster, sync an application from a Git repository with a GitRepository source and a Kustomization, and deliver an update with a Git commit. You'll also watch Flux reverse a manual change, then troubleshoot a failed sync from its status and events.
Lab Info
Table of Contents
-
Challenge
Access the terminal and verify the lab environment
- Connect to the lab instance with the Lab Credentials and Instant Terminal.
- Confirm the cluster, the Flux CLI, and the Git server credentials are ready.
-
Challenge
Bootstrap Flux into the cluster
- Bootstrap Flux against the fleet repository on the local Git server.
- Confirm the Flux controllers and the flux-system sync are ready.
-
Challenge
Sync the catalog application from Git
- Define a GitRepository source and a Kustomization for the application.
- Commit both to the fleet repository and confirm the application deploys.
-
Challenge
Deliver an update through Git and observe drift correction
- Ship a new release with a Git commit and verify Flux applies it.
- Scale the Deployment by hand and confirm Flux restores it from Git.
-
Challenge
Troubleshoot a failed sync
- Merge a teammate's branch and find the cause of the failed sync from the Kustomization status and events.
- Repair the repository and verify the Kustomization is ready again.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.