Skip to content

Commit be3a2f5

Browse files
authored
Merge pull request #50438 from wwlpublish/49c03d11b7ec36232cbd7d3d10bfd053a4ae96506bfb075cb85386a74940cfea-live
Modules/M04-configure-azure-kubernetes-service-cluster
2 parents f1c995a + 91949d9 commit be3a2f5

17 files changed

+228
-190
lines changed
Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.wwl.configure-azure-kubernetes-service-cluster.introduction
3-
title: Introduction
4-
metadata:
5-
title: Introduction
6-
description: "Introduction"
7-
ms.date: 03/08/2024
8-
author: wwlpublish
9-
ms.author: bradj
10-
ms.topic: unit
11-
durationInMinutes: 3
12-
content: |
13-
[!include[](includes/1-introduction.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.configure-azure-kubernetes-service-cluster.introduction
3+
title: Introduction
4+
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
7+
title: Introduction
8+
description: "Introduction"
9+
ms.date: 05/15/2025
10+
author: wwlpublish
11+
ms.author: bradj
12+
ms.topic: unit
13+
ms.custom:
14+
- N/A
15+
durationInMinutes: 3
16+
content: |
17+
[!include[](includes/1-introduction.md)]
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.wwl.configure-azure-kubernetes-service-cluster.understand-azure-policy-kubernetes-clusters
3-
title: Understand Azure Policy for Kubernetes clusters
4-
metadata:
5-
title: Understand Azure Policy for Kubernetes clusters
6-
description: "Understand Azure Policy for Kubernetes clusters"
7-
ms.date: 03/08/2024
8-
author: wwlpublish
9-
ms.author: bradj
10-
ms.topic: unit
11-
durationInMinutes: 5
12-
content: |
13-
[!include[](includes/2-understand-azure-policy-kubernetes-clusters.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.configure-azure-kubernetes-service-cluster.understand-azure-policy-kubernetes-clusters
3+
title: Understand Azure Policy for Kubernetes clusters
4+
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
7+
title: Understand Azure Policy for Kubernetes clusters
8+
description: "Understand Azure Policy for Kubernetes clusters"
9+
ms.date: 05/15/2025
10+
author: wwlpublish
11+
ms.author: bradj
12+
ms.topic: unit
13+
ms.custom:
14+
- N/A
15+
durationInMinutes: 5
16+
content: |
17+
[!include[](includes/2-understand-azure-policy-kubernetes-clusters.md)]
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.wwl.configure-azure-kubernetes-service-cluster.install-azure-policy-add-azure-kubernetes-service
3-
title: Try-This exercise - Enable Azure Policy add on for Azure Kubernetes Service
4-
metadata:
5-
title: Try-This exercise - Enable Azure Policy add on for Azure Kubernetes Service
6-
description: "Try-This exercise - Enable Azure Policy add on for Azure Kubernetes Service"
7-
ms.date: 03/08/2024
8-
author: wwlpublish
9-
ms.author: bradj
10-
ms.topic: unit
11-
durationInMinutes: 5
12-
content: |
13-
[!include[](includes/3-install-azure-policy-add-azure-kubernetes-service.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.configure-azure-kubernetes-service-cluster.install-azure-policy-add-azure-kubernetes-service
3+
title: Try-This exercise - Enable Azure Policy add on for Azure Kubernetes Service
4+
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
7+
title: Try-This exercise - Enable Azure Policy add on for Azure Kubernetes Service
8+
description: "Try-This exercise - Enable Azure Policy add on for Azure Kubernetes Service"
9+
ms.date: 05/15/2025
10+
author: wwlpublish
11+
ms.author: bradj
12+
ms.topic: unit
13+
ms.custom:
14+
- N/A
15+
durationInMinutes: 5
16+
content: |
17+
[!include[](includes/3-install-azure-policy-add-azure-kubernetes-service.md)]
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.wwl.configure-azure-kubernetes-service-cluster.assign-policy-definition-azure-kubernetes-cluster
3-
title: Try-This exercise - Assign a policy definition to an Azure Kubernetes cluster
4-
metadata:
5-
title: Try-This exercise - Assign a policy definition to an Azure Kubernetes cluster
6-
description: "Try-This exercise - Assign a policy definition to an Azure Kubernetes cluster"
7-
ms.date: 03/08/2024
8-
author: wwlpublish
9-
ms.author: bradj
10-
ms.topic: unit
11-
durationInMinutes: 8
12-
content: |
13-
[!include[](includes/4-assign-policy-definition-azure-kubernetes-cluster.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.configure-azure-kubernetes-service-cluster.assign-policy-definition-azure-kubernetes-cluster
3+
title: Try-This exercise - Assign a policy definition to an Azure Kubernetes cluster
4+
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
7+
title: Try-This exercise - Assign a policy definition to an Azure Kubernetes cluster
8+
description: "Try-This exercise - Assign a policy definition to an Azure Kubernetes cluster"
9+
ms.date: 05/15/2025
10+
author: wwlpublish
11+
ms.author: bradj
12+
ms.topic: unit
13+
ms.custom:
14+
- N/A
15+
durationInMinutes: 8
16+
content: |
17+
[!include[](includes/4-assign-policy-definition-azure-kubernetes-cluster.md)]
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.wwl.configure-azure-kubernetes-service-cluster.host-based-encryption-azure-kubernetes-service
3-
title: Host-based encryption on Azure Kubernetes Service
4-
metadata:
5-
title: Host-based encryption on Azure Kubernetes Service
6-
description: "Host-based encryption on Azure Kubernetes Service"
7-
ms.date: 03/08/2024
8-
author: wwlpublish
9-
ms.author: bradj
10-
ms.topic: unit
11-
durationInMinutes: 6
12-
content: |
13-
[!include[](includes/5-host-based-encryption-azure-kubernetes-service.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.configure-azure-kubernetes-service-cluster.host-based-encryption-azure-kubernetes-service
3+
title: Host-based encryption on Azure Kubernetes Service
4+
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
7+
title: Host-based encryption on Azure Kubernetes Service
8+
description: "Host-based encryption on Azure Kubernetes Service"
9+
ms.date: 05/15/2025
10+
author: wwlpublish
11+
ms.author: bradj
12+
ms.topic: unit
13+
ms.custom:
14+
- N/A
15+
durationInMinutes: 6
16+
content: |
17+
[!include[](includes/5-host-based-encryption-azure-kubernetes-service.md)]
Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.wwl.configure-azure-kubernetes-service-cluster.create-custom-namespace
3-
title: Create a custom namespace for Azure Kubernetes clusters
4-
metadata:
5-
title: Create a custom namespace for Azure Kubernetes clusters
6-
description: "Create a custom namespace for Azure Kubernetes clusters"
7-
ms.date: 03/08/2024
8-
author: wwlpublish
9-
ms.author: bradj
10-
ms.topic: unit
11-
durationInMinutes: 6
12-
content: |
13-
[!include[](includes/6-create-custom-namespace.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.configure-azure-kubernetes-service-cluster.create-custom-namespace
3+
title: Create a custom namespace for Azure Kubernetes clusters
4+
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
7+
title: Create a custom namespace for Azure Kubernetes clusters
8+
description: "Create a custom namespace for Azure Kubernetes clusters"
9+
ms.date: 05/15/2025
10+
author: wwlpublish
11+
ms.author: bradj
12+
ms.topic: unit
13+
ms.custom:
14+
- N/A
15+
durationInMinutes: 6
16+
content: |
17+
[!include[](includes/6-create-custom-namespace.md)]
Lines changed: 53 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,53 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.wwl.configure-azure-kubernetes-service-cluster.knowledge-check
3-
title: Module assessment
4-
metadata:
5-
title: Module assessment
6-
description: "Knowledge check"
7-
ms.date: 03/08/2024
8-
author: wwlpublish
9-
ms.author: bradj
10-
ms.topic: unit
11-
durationInMinutes: 6
12-
content: |
13-
[!include[](includes/7-knowledge-check.md)]
14-
quiz:
15-
title: "Check your knowledge"
16-
questions:
17-
- content: "What is the purpose of Azure Policy in relation to Kubernetes clusters?"
18-
choices:
19-
- content: "Azure Policy is used to manage and report on the compliance state of your Kubernetes clusters from multiple places."
20-
isCorrect: false
21-
explanation: "Incorrect. Azure Policy allows for centralized management and reporting of compliance state."
22-
- content: "Azure Policy is used to deploy policy definitions into the cluster as pod templates."
23-
isCorrect: false
24-
explanation: "Incorrect. Azure Policy deploys policy definitions as constraint templates and constraint custom resources."
25-
- content: "Enables the automation and validation of the creation and teardown of environments to help deliver secure and stable application hosting platforms."
26-
isCorrect: true
27-
explanation: "Correct. Azure Policy applies at scale enforcements and safeguards on Kubernetes clusters in a centralized, consistent manner to ensure secure and stable application hosting platforms."
28-
- content: "What is host based encryption in Azure Kubernetes Service (AKS)?"
29-
choices:
30-
- content: "Encryption of data at rest using server side encryption with platform managed keys"
31-
isCorrect: false
32-
explanation: "Incorrect. Server side encryption with platform managed keys is used by Azure Storage, not host based encryption in AKS."
33-
- content: "Encryption of data at rest using customer managed keys for all disks"
34-
isCorrect: false
35-
explanation: "Incorrect. Host based encryption in AKS can use either platform managed keys or customer managed keys depending on the encryption type set on the disks."
36-
- content: "Enables encryption of data at rest on the VM host of AKS agent nodes using platform or customer managed keys, and encrypts data flows to the Storage service"
37-
isCorrect: true
38-
explanation: "Correct. Host based encryption in AKS encrypts data at rest on the VM host of AKS agent nodes using platform or customer managed keys, and encrypts data flows to the Storage service. It can be enabled at cluster or node pool creation time and requires a specific VM set type and supported VM sizes."
39-
- content: "What are the two Azure built-in roles that have the appropriate Azure RBAC policy assignment operations to assign a policy definition to your Kubernetes cluster?"
40-
choices:
41-
- content: "Resource Group Contributor and Reader"
42-
isCorrect: false
43-
explanation: "Incorrect. Resource Group Contributor and Reader do not have the appropriate Azure RBAC policy assignment operations to assign a policy definition to your Kubernetes cluster."
44-
- content: "Virtual Machine Contributor and Network Contributor"
45-
isCorrect: false
46-
explanation: "Incorrect. Virtual Machine Contributor and Network Contributor do not have the appropriate Azure RBAC policy assignment operations to assign a policy definition to your Kubernetes cluster."
47-
- content: "Resource Policy Contributor and Owner"
48-
isCorrect: true
49-
explanation: "Correct. Resource Policy Contributor and Owner have the appropriate Azure RBAC policy assignment operations to assign a policy definition to your Kubernetes cluster."
50-
- content: "What is the purpose of Azure Policy in relation to Kubernetes clusters?"
51-
choices:
52-
- content: "Azure Policy is used to deploy policy definitions into the cluster as pod templates."
53-
isCorrect: false
54-
explanation: "Incorrect. Azure Policy deploys policy definitions as constraint templates and constraint custom resources."
55-
- content: "Azure Policy is used to manage and report on the compliance state of your Kubernetes clusters from multiple places."
56-
isCorrect: false
57-
explanation: "Incorrect. Azure Policy allows for centralized management and reporting of compliance state."
58-
- content: "Enables the automation and validation of the creation and teardown of environments to help deliver secure and stable application hosting platforms."
59-
isCorrect: true
60-
explanation: "Correct. Azure Policy applies at scale enforcements and safeguards on Kubernetes clusters in a centralized, consistent manner to ensure secure and stable application hosting platforms."
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.configure-azure-kubernetes-service-cluster.knowledge-check
3+
title: Module assessment
4+
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
7+
title: Module assessment
8+
description: "Knowledge check"
9+
ms.date: 05/15/2025
10+
author: wwlpublish
11+
ms.author: bradj
12+
ms.topic: unit
13+
ms.custom:
14+
- N/A
15+
durationInMinutes: 6
16+
content: |
17+
[!include[](includes/7-knowledge-check.md)]
18+
quiz:
19+
title: "Check your knowledge"
20+
questions:
21+
- content: "What is the purpose of Azure Policy in relation to Kubernetes clusters?"
22+
choices:
23+
- content: "Azure Policy is used to manage and report on the compliance state of your Kubernetes clusters from multiple places."
24+
isCorrect: false
25+
explanation: "Incorrect. Azure Policy allows for centralized management and reporting of compliance state."
26+
- content: "Azure Policy is used to deploy policy definitions into the cluster as pod templates."
27+
isCorrect: false
28+
explanation: "Incorrect. Azure Policy deploys policy definitions as constraint templates and constraint custom resources."
29+
- content: "Enables the automation and validation of the creation and teardown of environments to help deliver secure and stable application hosting platforms."
30+
isCorrect: true
31+
explanation: "Correct. Azure Policy applies at scale enforcements and safeguards on Kubernetes clusters in a centralized, consistent manner to ensure secure and stable application hosting platforms."
32+
- content: "What is host based encryption in Azure Kubernetes Service (AKS)?"
33+
choices:
34+
- content: "Encryption of data at rest using server side encryption with platform managed keys"
35+
isCorrect: false
36+
explanation: "Incorrect. Server side encryption with platform managed keys is used by Azure Storage, not host based encryption in AKS."
37+
- content: "Encryption of data at rest using customer managed keys for all disks"
38+
isCorrect: false
39+
explanation: "Incorrect. Host based encryption in AKS can use either platform managed keys or customer managed keys depending on the encryption type set on the disks."
40+
- content: "Enables encryption of data at rest on the VM host of AKS agent nodes using platform or customer managed keys, and encrypts data flows to the Storage service"
41+
isCorrect: true
42+
explanation: "Correct. Host based encryption in AKS encrypts data at rest on the VM host of AKS agent nodes using platform or customer managed keys, and encrypts data flows to the Storage service. It can be enabled at cluster or node pool creation time and requires a specific VM set type and supported VM sizes."
43+
- content: "What are the two Azure built-in roles that have the appropriate Azure RBAC policy assignment operations to assign a policy definition to your Kubernetes cluster?"
44+
choices:
45+
- content: "Resource Group Contributor and Reader"
46+
isCorrect: false
47+
explanation: "Incorrect. Resource Group Contributor and Reader do not have the appropriate Azure RBAC policy assignment operations to assign a policy definition to your Kubernetes cluster."
48+
- content: "Virtual Machine Contributor and Network Contributor"
49+
isCorrect: false
50+
explanation: "Incorrect. Virtual Machine Contributor and Network Contributor do not have the appropriate Azure RBAC policy assignment operations to assign a policy definition to your Kubernetes cluster."
51+
- content: "Resource Policy Contributor and Owner"
52+
isCorrect: true
53+
explanation: "Correct. Resource Policy Contributor and Owner have the appropriate Azure RBAC policy assignment operations to assign a policy definition to your Kubernetes cluster."
Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.wwl.configure-azure-kubernetes-service-cluster.summary
3-
title: Summary
4-
metadata:
5-
title: Summary
6-
description: "Summary"
7-
ms.date: 03/08/2024
8-
author: wwlpublish
9-
ms.author: bradj
10-
ms.topic: unit
11-
durationInMinutes: 2
12-
content: |
13-
[!include[](includes/8-summary.md)]
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.configure-azure-kubernetes-service-cluster.summary
3+
title: Summary
4+
metadata:
5+
adobe-target: true
6+
prefetch-feature-rollout: true
7+
title: Summary
8+
description: "Summary"
9+
ms.date: 05/15/2025
10+
author: wwlpublish
11+
ms.author: bradj
12+
ms.topic: unit
13+
ms.custom:
14+
- N/A
15+
durationInMinutes: 2
16+
content: |
17+
[!include[](includes/8-summary.md)]

learn-pr/wwl-azure/configure-azure-kubernetes-service-cluster/includes/1-introduction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ After completing this module, you'll be able to:
1616
## Goals
1717

1818
The goal of this module is to teach you how to use Azure Policy to enforce policies and safeguards on your Kubernetes clusters at scale. Azure Policy Ensures that your cluster is secure, compliant, and consistent across your organization.
19+

learn-pr/wwl-azure/configure-azure-kubernetes-service-cluster/includes/2-understand-azure-policy-kubernetes-clusters.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ The following recommendation applies only to AKS and the Azure Policy Add-on:
2828
- Use system node pool with CriticalAddonsOnly taint to schedule Gatekeeper pods.
2929
- Secure outbound traffic from your AKS clusters.
3030
- If the cluster has aad-pod-identity enabled, Node Managed Identity (NMI) pods modify the nodes' iptables to intercept calls to the Azure Instance Metadata endpoint.
31+

0 commit comments

Comments
 (0)