- Lab
- Cloud

Deploy Applications to Hybrid Kubernetes Clusters with Azure Arc
Azure Arc-enabled Kubernetes enables Cloud Native GitOps deployments at-scale across hybrid and multi-cloud using Azure Policy. In this hands-on lab, you'll use the Flux-based GitOps extension for Azure Kubernetes Service and Arc-enabled Kubernetes to deploy an application across hybrid and multi-cloud Kubernetes clusters.

Path Info
Table of Contents
-
Challenge
Deploy the GitOps (Flux) Extension to All Kubernetes Clusters
- Deploy the GitOps (Flux) Extension to all Kubernetes Clusters using Azure Policy, the built-in Policy definition named Configure installation of Flux extension on Kubernetes cluster can be used.
- Scope the policy assigment to the Resource Group.
- Use the existing managed identity named id-policyremediation for policy remediation.
Note: You can ignore the warning about permission assignments when assigning the managed identity for policy remediation. The existing managed identity has the required permissions.
- Deploy the GitOps (Flux) Extension to all Kubernetes Clusters using Azure Policy, the built-in Policy definition named Configure installation of Flux extension on Kubernetes cluster can be used.
-
Challenge
Remediate Non-compliant Resources
- Remediate any non-compliant Policy assignments using remediation tasks.
Note: Change the Scope of the remediation tasks blade to the Resource Group to remove the Access is denied to the requested resource... when the remediation tasks list is scoped to the Subscription. You have access to the resource group in this lab, not the entire subscription.
-
Challenge
Deploy a Flux Configuration
- Deploy a Flux configuration to all Kubernetes clusters in the resource group using Policy. The built-in policy named Configure Kubernetes clusters with Flux v2 configuration using public Git repository can be used to deploy the application, with the following parameters:
- Configuration Instance Name:
guestbook
- Configuration Namespace:
default
- Configuration Scope: cluster
- Repository Url:
https://github.com/pluralsight-cloud/azure-arc-hybrid-management-implementing
- Repository Reference Branch:
main
- Kustomization Name:
kustomize
- Kustomization Path:
./kustomize-guestbook
- Kustomization Prune:
true
- Configuration Instance Name:
Note: You can ignore the warning about permission assignments when assigning the managed identity for policy remediation. The existing managed identity has the required permissions.
- Deploy a Flux configuration to all Kubernetes clusters in the resource group using Policy. The built-in policy named Configure Kubernetes clusters with Flux v2 configuration using public Git repository can be used to deploy the application, with the following parameters:
-
Challenge
Review GitOps Configuration of Hybrid Kubernetes Clusters
- Review GitOps configuration of hybrid Kubernetes clusters using the Azure portal.
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.