I previously wrote about my first CKA exam attempt, I wanted to share things I’ve reflected on and plan to change for my second attempt. I hope these tips will be helpful for others to learn ahead of time to successfully pass their exam on the first attempt.Continue reading
Tag Archives: cka
CKA Exam Results | How I Plan to Pass 2nd CKA Attempt
The time finally came for me to take the CKA exam on October 29, 2020. I felt about 90% confident that I would pass but came up short and scored 51% (66% needed to pass). I feel that this represented 1-3 questions that I got wrong so I feel confident in my abilities and what I learned, I just need to tighten up a few areas.
My CKA Exam Prep
If you’ve seen Mumshad Mannambeth’s Certified Kubernetes Administrator (CKA) with Practice Tests course on Udemy advertised on social media by those that passed the CKA exam, I completely agree that this course will prepare you for the exam. This course will undoubtedly provide you with the material needed to pass the exam. While there is an incredible amount of practice tests and a mock exam, more practice is needed with these tasks. I briefly tried Game of Pods for additional exercises but I found that some tasks far exceeded the scope of CKA and thus felt like a waste of time. However, I think this resource is a great next step to help those with the CKA certification reach the next level and learn more.Continue reading
Permanently Disable Swap for Kubernetes Cluster
I set up a few Kubernetes clusters preparing for the CKA exam and discovered that upon reboot, my control plane node didn’t work. Running any kubectl command I get:
The connection to the server 192.168.1.57:6443 was refused - did you specify the right host or port?
This is a common error message that can result from numerous issues but I started troubleshooting by seeing if the kubelet process was running with
ps aux | grep kube. Nothing…no kubelet service running. Then I looked at /var/log/syslog and I found the problem — swap was back on!
Use kubeadm to Install a Basic Cluster in Kubernetes v1.19 for CKA Exam, Part 2: Adding a Node to An Existing Kubernetes Cluster
In Part 1, we created the Kubernetes cluster by running
kubeadm init on the control plane node. In part 2 we’ll add a node to an existing cluster that will be capable of running pods which is apparently a possible CKA exam scenario (see cluster ik8s):
Use kubeadm to Install a Basic Cluster in Kubernetes v1.19 for CKA Exam, Part 1: Control Plane Node
The new CKA 2020 for Kubernetes v1.19 blueprint has an objective to, “Use Kubeadm to install a basic cluster.” While I haven’t taken the CKA v1.19 exam yet, based on the exam environment from Linux Foundation (image below), it doesn’t appear that creating a brand new cluster will be necessary in the exam. Instead, cluster ik8s is missing a node and I assume the task will involve gathering the information to add the node to the cluster.Continue reading
Important Directories to Know for Kubernetes CKA Exam
While I’m not an advanced Linux user, I’m comfortable navigating a Linux filesystem. But the lack of a GUI always gave me a bit of anxiety when trying to find where a binary or config file lives. To amplify that frustration, while preparing for the CKA 1.19 exam, I realized that Kubernetes doesn’t store things in one directory so to help myself visualize and remember the directories better, I made the below graphic that illustrates the directories that are necessary for troubleshooting a Kubernetes cluster. In this post, we’ll explore how Kubernetes uses each directory and it’s importance for the CKA.Continue reading
Backup and Restore etcd in Kubernetes Cluster for CKA v1.19
The final module of the Cluster Architecture, Installation, and Configuration is Implement etcd backup and restore. Let’s quickly perform the actions we need to complete this step for the exam.
Perform a Backup of etcd
While it’s still early and details of the CKA v1.19 environment aren’t known yet, I’m anticipating a small change to how etcd backup and restore is performed. If you’ve been preparing for the CKA before the September 2020 change to Kubernetes v1.19, you may know be familiar with the environment variable
export ETCDCTL_API=3 to ensure you’re using version 3 of etcd’s API, which has the backup and restore capability. However, Kubernetes v1.19 ships with etcd 3.4.9 and in etcd 3.4.x, the default API version is 3 so this process is no longer necessary! If
etcdctl version returns a version lower than 3.4.x, you will still need to set the API version to 3 for performing backup and restore operations.
CKA 2020 Curriculum for Kubernetes v1.19
*** LIVE DOCUMENT ***
Last updated Jan 3, 2021
As part of my goal to obtain the Certified Kubernetes Administrator (CKA) certification, I went through the Kubernetes documentation to find the specific links that map to the domain knowledge objectives for the v1.19 exam.Continue reading
How the CKA Exam is Changing in 2020 with Kubernetes v1.19
I’ve been slowly working towards CKA and there is a significant change to the curriculum with the recent announcement from the Cloud Native Computing Foundation (CNCF) that the Certified Kubernetes Administrator (CKA) exam curriculum will be updated in September 2020 to cover Kubernetes v1.19. The v1.19 curriculum is a huge change from the v1.18 curriculum I’ve been studying and I prepared this comparison to help with my studies and hope it provides some clarity to those in a similar situation as me.
Kubernetes v1.19 hasn’t been finalized yet but there will certainly be new features, added commands, and others deprecated as part of the update. But that’s not the only change — the exam curriculum is also changing a lot!Continue reading
Why 2020 is the Year of Kubernetes for Me
I must admit that I wasn’t on the Kubernetes bandwagon from beginning. However, I’ve seen it mature rapidly over the last 4 years with an expanding ecosystem and high rate of adoption that has given me confidence that there is a future with Kubernetes and now is the time to invest in learning it. Here are the 3 things I observed over the last 12-18 months to solidify that now is the time for me to focus on becoming a Kubernetes expert:
Cloud Native Landscape Explosion
The Cloud Native Computing Foundation (CNCF) began publishing the CNCF Cloud Native Landscape back in 2016 to illustrate the projects and enterprise software that are part of the cloud native ecosystem and community. The Cloud Native Landscape graphic originally contained three projects: Kubernetes, Prometheus, and Opentracing. Today, it includes over 48 (not including CNCF member/non-member products and projects)! Observing this type of growth signals heavy investment by organizations and individuals to improving core functionality of Kubernetes or filling gaps in the ecosystem.CONTINUE READING