Secure Containers in Kubernetes With AppArmor
AppArmor is a Linux kernel security module that helps confine programs to a limited set of resources to reduce an application’s attack surface. AppArmor allows for configurable profiles that permit the access needed by an application or container. AppArmor has been included in the mainline Linux kernel since version 2.6.36, is shipped with many Linux distributions, and Kubernetes added support for AppArmor in v1.4.
This lab focuses on the AppArmor profiles. AppArmor is highlighted as a reference tool in the Certified Kubernetes Security Specialist (CKS) exam. You will learn how to create an AppArmor profile and run a with a container within Kubernetes that has an AppArmor profile in this lab.
Upon completion of this lab, you will be able to:
- Configure and load an AppArmor profile
- Use an AppArmor profile to secure a container
- Execute commands to verify the AppArmor profile is loaded and running
- Candidates for the Certified Kubernetes Security Specialist (CKS) exam
- DevOps Engineers
- Security Practitioners
Familiarity with the following will be beneficial but is not required:
- Kubernetes Pods
The following content can be used to fulfill the prerequisites:
Daniel is a Cloud Engineer with experience as an AWS Engineer and Operations Specialist. He holds the AWS DevOps Engineer Professional, AWS Developer Associate, AWS SysOps Administrator Associate, Certified Kubernetes Administrator, Microsoft Certified: Azure Administrator Associate, and HashiCorp Certified: Terraform Associate certifications. Daniel is focused on lab operations and enjoys continuously building his knowledge.