Dear CKA Group,
I hope this message finds you well.
I recently attempted the Certified Kubernetes Administrator (CKA) exam and I scored 56%, I unfortunately did not meet the passing threshold of 66%.
Cluster Architecture, Installation & Configuration
With this in mind, I am revisiting my study approach and focusing on these key areas.
I wanted to reach out to confirm whether the upgrade process involves any mandatory changes to the /etc/apt/sources.list.d/kubernetes.list file,
particularly when upgrading from v1.31 to v1.31.1. Is there any configuration within this file that needs to be updated for the upgrade to be successful?
I appreciate any clarification or resources you can provide regarding these topics, especially for the CKA exam.
Note: without changing i upgraded kubeadm,kubectl and kubelet and restarted kubelet and daemon-reload and checked in kube-apiserver.yaml and i can see the image version changed to 1.31.1
Thank you for your time and support!
Best regards,
Mohan
Hi @Mohan1806
No, you don’t need to update the package repositories in /etc/apt/sources.list.d/kubernetes.list
when upgrading a patch version, such as from 1.31.0
to 1.31.1
. However, it would help if you confirm it once by checking the contents of this file. If you see the line:
deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] htps://pkgs.k8s.io/core:/stable:/v1.31/deb/ /`
then no update is necessary. If it lists an older repository like apt.kubernetes.io
, you’ll need to update the file accordingly.
You can refer to this for more info.
Read the second Note in the attached doc.
Dear Santhosh,
Thank You for your prompt response and i have few more query.
I hope this message finds you well.
I have a few clarifications regarding the Kubernetes upgrade and node management process, and I would appreciate your guidance:
Kubernetes Upgrade (v1.30 to v1.31): For upgrading from minor version v1.30 to v1.31, is it required to
update the /etc/apt/sources.list/kubernetes.list file to reflect the new version? Alternatively,
if I manually upgrade the components (such as kubeadm, kubelet, and kubectl) to version 1.31 without updating the sources list,
would the upgrade work correctly? If this approach works, will it be accepted for certification,
and would it result in marks being awarded for the task?
Draining a Node: Regarding the behavior when draining a node, if I drain a node,
if the question asks for a scenario where a single pod remains on a node post-upgrade, what would be the solution to ensure that only one pod is left on the node?
I look forward to your response and appreciate your time in addressing these questions.
Best regards,
Mohan
Kubernetes Upgrade (v1.30 to v1.31): For upgrading from minor version v1.30 to v1.31, is it required to
update the /etc/apt/sources.list/kubernetes.list file to reflect the new version?
It is absolutely required to update the file. Each minor version (1.30, 1.31, 1.32) has its own repository.
Please see this FAQ; it explains how upgrades work.
Hi Rob,
Thank You for your prompt response.
Regards,
Mohan
Dear Mumshad Mannambeth,Rob,Santhosh and KodeKloud Team,
I hope this message finds you well. I am pleased to inform you that I have successfully passed the Certified Kubernetes Administrator (CKA) Exam that I took on Thursday, January 30, 2025, at 06:30 AM UTC. I am now officially CKA certified!
I would like to take this opportunity to thank you and the team for providing such an insightful and comprehensive training experience. The knowledge and skills I gained from your course played a crucial role in helping me prepare for the exam.
Looking forward to continuing to apply these skills in my professional journey. Thank you once again for your support!
Regards,
Mohan
2 Likes