hands-on lab

Mastering Kubernetes Pod Configuration: Config Maps and Secrets

Difficulty: Intermediate
Duration: Up to 40 minutes
Students: 2,752
Rating: 4.8/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Kubernetes provides a variety of features to get the most out of your containerized applications. This lab will train you on Pod configuration concepts that teach you how to separate configuration from container images to improve reusability and security.

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

  • Understand ConfigMaps
  • Create & consume Secrets

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 series to satisfy the prerequisites.

Updates

July 13th, 2024 - Updated cluster to Kubernetes 1.30
October 13th, 2023 - Updated Kubernetes to 1.28
June 13th, 2023 - Updated Kubernetes to 1.26
September 6th, 2022 - Updated to run Kubernetes 1.24

Environment before

Environment after

Covered topics

Lab steps

Connecting to the Kubernetes Cluster
Configuring Pods using Data Stored in ConfigMaps
Storing and Accessing Sensitive Information Using Kubernetes Secrets