hands-on lab

Upgrade a Kubernetes Cluster With Kubeadm

Intermediate
Up to 1h
106
3.6/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

You will perform several cluster management tasks including upgrading Kubernetes Cluster including both control plane and worker nodes in this Lab. You will also learn how to perform tests to verify that everything works as you expect. Even if you intend to use fully-managed Kubernetes clusters, this lab provides you with a deeper understanding of Kubernetes clusters, and helps you decide on the cluster configuration that is best for your requirements.

This lab is valuable to anyone working with Kubernetes, and has been prepared with the topics described in the Certified Kubernetes Administrator (CKA) Exam Curriculum. Completion of the lab will help you get hands-on experience, which is essential for passing the CKA exam.

Lab Objectives

Upon completion of this lab, you will be able to:

  • Perform Kubernetes cluster upgrades
  • Test Kubernetes clusters

Lab Prerequisites

You should be familiar with:

  • Working with Kubernetes to deploy applications
  • Working at the command line in Linux

The following labs can be used to fulfill the prerequisites for this lab: 

Updates

January 23rd, 2024 - Added instructions to ensure the control plane node has the required annotations before upgrading

Environment before
Environment after
About the author
Avatar
Logan Rakai, opens in a new tab
Lead Content Developer - Labs
Students
216,433
Labs
223
Courses
9
Learning paths
56

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
Upgrading Kubernetes Clusters with kubeadm