Mastering Kubernetes Pod Configuration

Lab Steps

lock
Connecting to the Kubernetes Cluster
lock
Requesting and Limiting Resources for Pods
lock
Configuring Pod Security Contexts
lock
Using Persistent Data with Pods
lock
Configuring Pods using Data Stored in ConfigMaps
lock
Storing and Accessing Sensitive Information Using Kubernetes Secrets
lock
Using Kubernetes ServiceAccounts

Ready for the real environment experience?

DifficultyIntermediate
Time Limit2h 30m
Students1461
Ratings
4.7/5
starstarstarstarstar-half

Description

Kubernetes provides a variety of features to get the most out of your containerized applications. This Lab will train you on several Pod configuration concepts and teach you how to take advantage of what Kubernetes gives you. Some examples of what you will learn include how to separate configuration from container images to improve reusability, maximize cluster efficiency and utilization by configuring resource requirements for Pods, and configuring security features to harden your Kubernetes application deployments.

This Lab is valuable to anyone working with Kubernetes, but the content has been prepared considering topics described in the Certified Kubernetes Application Developer (CKAD) Exam Curriculum. Completion of the Lab will help you get hands-on experience, which is essential for passing the CKAD exam.

Learning Objectives

  • Define an application's resource requirements
  • Understand ConfigMaps
  • Understand SecurityContexts
  • Create & consume Secrets
  • Understand PersistentVolumeClaims for storage
  • Understand ServiceAccounts

Intended Audience

  • Application developers and DevOps engineers deploying applications in containers and using or considering Kubernetes
  • This Lab is recommended for Certified Kubernetes Application Developer (CKAD) examinees

Prerequisites

  • Knowledge of Kubernetes Pod Design (Pods, Deployments, Services, Jobs)
  • Experience with kubectl

You can complete the Kubernetes Pod Design for Application Developers Lab to satisfy the prerequisites.

Updates

May 1st, 2021 - Updated to run Kubernetes 1.20, 80% faster startup time, and use a web terminal

April 16th, 2021 - Moved validation checks to the most relevant lab step for more immediate validation feedback

December 15th, 2020 - Updated to Kubernetes 1.19, added EC2 instance connect support

August 28th, 2020 - Updated the SSH instructions to reflect the new EC2 user interface

Environment before
PREVIEW
arrow_forward
Environment after
PREVIEW
About the Author
Students138720
Labs206
Courses9
Learning paths42

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Security Specialist (CKS), Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.