Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam CKA topic 1 question 3 discussion

Actual exam question from CNCF's CKA
Question #: 3
Topic #: 1
[All CKA Questions]


Task -
Given an existing Kubernetes cluster running version 1.22.1, upgrade all of the Kubernetes control plane and node components on the master node only to version 1.22.2.
Be sure to drain the master node before upgrading it and uncordon it after the upgrade.

You are also expected to upgrade kubelet and kubectl on the master node.

Show Suggested Answer Hide Answer
Suggested Answer:


Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Highly Voted 1 year, 2 months ago
same question i got in the exam
upvoted 10 times
Highly Voted 7 months, 1 week ago
--etcd-upgrade Perform the upgrade of etcd. (default true) The default etcd upgrade is true, so disable it with sudo kubeadm upgrade apply v1.** --etcd-upgrade=false
upvoted 7 times
Most Recent 5 months, 1 week ago
$ kubectl config use-config eks8 $ kubectl cordon ek8s-node-1 $ kubectl drain ek8s-node-1 --delete-local-data --ignore-daemonsets --force This is much more understandable solution for me
upvoted 1 times
1 year ago
Would those steps be right? 1. k cordon nodename; 2. k drain --ignore-daemonsets nodename; 3. ssh into node; 4. swapoff -a; 5. then find swap line in /etc/fstab and comment it out; 6. run apt-mark unhold kubeadm kubelet kubectl && \ apt-get update && apt-get install -y kubeadm=1.2xx-00 kubelet=1.2x.x-00 kubectl=1.2x.x-00&& \ apt-mark hold kubeadm kubelet kubectl 7. sudo systemctl daemon-reload 8. sudo systemctl restart kubelet 9. exit ssh 10.k uncordon node
upvoted 3 times
1 year, 2 months ago
we need to set --etcd-upgrade=false, question says so not upgrade the etcd
upvoted 4 times
1 year, 1 month ago
Looking at the upgade logs i can see that etcd is still the same version, but i think you have a point because the --etcd-upgrade flag is set to true by default
upvoted 2 times
7 months, 3 weeks ago
I didn't understand the issue that way. It says to update all components and etcd is one of them. "Update all Kubernetes node and control plane components on the master node to version 1.22.2 only."
upvoted 2 times
1 month, 1 week ago
I was also confused about it. But if you see the last picture in question, it clearly says not to upgrade etcd and Addons as well. So I think following is the command to upgrade the cluster kubeadm upgrade apply v1.22.2 --etcd-upgrade=false Now the question is how we can skip CoreDNS upgrade as I don't see any option to skip it
upvoted 1 times
1 year, 3 months ago
not exactly like in the exam. but it helps. do not relay on dumps only. i recommend to study with kodekloud and the corresponding udemy course.
upvoted 5 times
1 year, 4 months ago
I has this question on the exam, you can follow the steps below to complete it, just ensure that you are ssh-ing from the right node: https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/#upgrading-control-plane-nodes
upvoted 4 times
1 year, 4 months ago
are this questions exactly thesame in exams?
upvoted 6 times
Community vote distribution
A (35%)
C (25%)
B (20%)
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

Loading ...
ex Want to SAVE BIG on Certification Exam Prep?
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in