What The Hack - Azure Arc enabled Kubernetes Hack

Challenge 6 – Enable Azure Policy

Back - Home - Next

Introduction

In this challenge we will build on what we did in the previous challenges by enabling another day 2 operational scenario. The day 2 scenario we will enable in this challenge is going to be Azure Policy. We will enable Azure Policy on both the deployed clusters.

Challenge

  1. Enable Azure Policy add-on within both the Arc enabled clusters.
  2. Discuss and understand the technologies involved in enable this feature.
  3. Apply Azure Policies to ensure all Arc enabled Kubernetes resources comply with the following:
    • Deploy GitOps to Kubernetes cluster
    • Ensure container CPU and memory resource limits do not exceed the specified limits in Kubernetes cluster
    • Enforce labels on pods in Kubernetes cluster

Success Criteria

This challenge will be complete when Azure Policy functionality is enabled on all deployed clusters and a general understanding of the technologies involved in enabling it are had.

Back - Home - Next