hands-on lab

Kubernetes Pod Design for Application Developers: Labels, Selectors, and Annotations

Beginner
Up to 30m
2,825
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.
Lab description

This lab is the second in the Kubernetes Pod Design for Application Developers series and teaches you how to use labels to define sets of Pods.

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 how to use labels, selectors, and annotations

Intended Audience

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

Prerequisites

  • Understand how to create Pods and generate Pod YAML manifest files

You can take the Kubernetes Pod Design for Application Developers: Definition Basics lab to satisfy the prerequisites.

Updates

October 13th, 2023 - Updated Kubernetes version 

June 13th, 2023 - Updated Kubernetes version

September 6th, 2022 - Updated to run Kubernetes 1.24

Environment before

Environment after

About the author
Avatar
Logan Rakai, opens in a new tab
Lead Content Developer - Labs
Students
218,186
Labs
223
Courses
9
Learning paths
57

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.

LinkedIn, Twitter, GitHub

Covered topics
Lab steps
Connecting to the Kubernetes Cluster
Working With Pod Labels, Selectors, and Annotations