Hamburger Icon
  • Labs icon Lab
  • Cloud
Azure icon
Labs

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.

Azure icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 45m
Published
Clock icon Feb 18, 2025

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Deploy the GitOps (Flux) Extension to All Kubernetes Clusters

    1. 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.

  2. Challenge

    Remediate Non-compliant Resources

    1. 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.

  3. Challenge

    Deploy a Flux Configuration

    1. 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

    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.

  4. Challenge

    Review GitOps Configuration of Hybrid Kubernetes Clusters

    1. Review GitOps configuration of hybrid Kubernetes clusters using the Azure portal.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.