The ability to administer and monitor a Kubernetes cluster is in high demand today. To meet this need, the Cloud Native Computing Foundation developed a certification exam to establish a system administrator's credibility and value in the job market to confidently work in a Kubernetes environment.

The Certified Kubernetes Administrator (CKA) certification exam is different from the typical multiple-choice format of other professional certifications. Instead, the CKA is a performance-based exam that requires deep knowledge of the tasks under immense time pressure.

This study guide walks you through all the topics covered to fully prepare you for the exam. Author Benjamin Muschko also shares his personal experience with preparing for all aspects of the exam.

  • Learn when and how to apply Kubernetes concepts to administrate a production-grade cluster
  • Understand the objectives, abilities, and tips and tricks needed to pass the CKA exam
  • Explore the ins and outs of the kubectl command-line tool
  • Demonstrate competency to perform the responsibilities of a Kubernetes system administrator
  • Solve real-world Kubernetes problems in a hands-on command-line environment
  • Effectively navigate and solve questions during the CKA exam

Table of Contents

  1. Preface
    1. Who This Book Is For
    2. What You Will Learn
    3. Conventions Used in This Book
    4. Using Code Examples
    5. O’Reilly Online Learning
    6. How to Contact Us
    7. Acknowledgments
  2. 1. Exam Details and Resources
    1. Exam Objectives
    2. Curriculum
    3. Cluster Architecture, Installation & Configuration
    4. Workloads & Scheduling
    5. Services & Networking
    6. Storage
    7. Troubleshooting
    8. Involved Kubernetes Primitives
    9. Exam Environment and Tips
    10. Candidate Skills
    11. Time Management
    12. Command Line Tips and Tricks
    13. Setting a Context and Namespace
    14. Using an Alias for kubectl
    15. Using kubectl Command Auto-Completion
    16. Internalize Resource Short Names
    17. Deleting Kubernetes Objects
    18. Finding Object Information
    19. Discovering Command Options
    20. Practicing and Practice Exams
    21. Summary
  3. 2. Cluster Architecture, Installation, and Configuration
    1. Role Based Access Control (RBAC)
    2. RBAC High-Level Overview
    3. Creating a Subject
    4. Listing Service Accounts
    5. Rendering Service Account Details
    6. Assigning a Service Account to a Pod
    7. Understanding RBAC API Primitives
    8. Namespace-Wide and Cluster-Wide RBAC
    9. Default User-Facing Roles
    10. Creating Roles
    11. Listing Roles
    12. Rendering Role Details
    13. Creating RoleBindings
    14. Listing RoleBindings
    15. Rendering RoleBinding Details
    16. Seeing the RBAC Rules in Effect
    17. Aggregating RBAC Rules
    18. Creating and Managing a Kubernetes Cluster
    19. Installing a Cluster
    20. Managing a Highly-Available Cluster
    21. Upgrading a Cluster Version
    22. Backing up and Restoring etcd
    23. Backing Up etcd
    24. Restoring etcd
    25. Summary
    26. Exam Essentials
    27. Sample Exercises
  4. A. Answers to Review Questions
    1. Chapter 2, Cluster Architecture, Installation, and Configuration