Part 9 | Most Important CKA Question | Fix Pod in Error | Certified Kubernetes Administrator

  Рет қаралды 4,362

Ajeet Khan

Ajeet Khan

Жыл бұрын

CKA Exam Questions Part 8 - • Part 8 | Most Importan...
CKA Exam Questions Part 7 - • Part 7 | Most Importan...
CKA Exam Questions Part 6 - • Part 6 | Most Importan...
CKA Exam Questions Part 5 - • Part 5 | Most Importan...
CKA Exam Questions Part 4 - • Part 4 | Real CKA Exam...
CKA Exam Questions Part 3 - • Part 3 | Real CKA Exam...
CKA Exam Questions Part 2 - • Part 2 | Real CKA Exam...
CKA Exam Questions Part 1 - • Part 1 | Real CKA Exam...
How to Prepare for CKA video - Tips & Tricks :- • 2024 Master the CKA Ex...
Question 17 - Create a ReplicaSet (Name: appychip, Image: nginx:1.18, Replica: 4)​
There is already a Pod running in a cluster.​
Make sure that the total count of pods running in the cluster is not more than 4​
Question 16 - A pod “appychip” (image=nginx) in default namespace is not running.​ Find the problem and fix it and make it running.​
Question 15 - Create a Nginx pod dns-resolver using image nginx, expose it internally with a aservice called dns-resolver-service.
Check if service name is resolvable from within the cluster.
Use the image busybox:1.28 for dns lookup
Save the result in /root/nginx.svc
Question 14 - Create a new user “ajeet”. Grant him access to the cluster. User “ajeet” should have permission to create, list, get, update and delete pods. The private key exists at location:​
/root/ajeet/.key and csr at /root/ajeet.csr
Question 13 - Take a backup of the ETCD database and save it to “/opt/etcd-backup.db” . Also restore the ETCD database from the backup​
Question 12 - Upgrade the Cluster (Master and worker Node) from 1.18.0 to 1.19.0. Make sure to first drain both Node and make it available after upgrade.​
Question 11 - Worker Node “node01” not responding, Debug the issue and fix it.​
Question 10 - Create a Persistent Volume with the given specification.​
Volume Name: pv-demo​
Storage:100Mi​
Access modes: ReadWriteMany​
Host Path: /pv/host-data​
Question 9 - Use JSON PATH query to retrieve the oslmages of all the nodes and store it in a file “all-nodes-os-info.txt” at root location.​
Note: The osImage are under the nodeInfo section under status of each node.​
Question 8 - Get the node node01 in JSON format and store it in a file at ​ ./node-info.json​
Question 7 - Create a pod called test-pod in "custom" namespace belonging to the test environment (env=test) and backend tier (tier=backend).​ image: nginx:1.17​
Question 6 - Create a pod called pod-multi with two containers, as given below:​
Container 1 - name: container1, image: nginx​
Container2 - name: container2, image: busybox, command: sleep 4800​
Question 5 - Create a static pod on node01 called static-pod with image nginx and you have to make sure that it is recreated/restarted automatically in case ​of any failure happens
Question 4 - Deploy a web-nginx pod using the nginx:1.17 image with the labels set to tier=web-app.​
Question 3 - Create a new deployment called my-deployment. Scale the deployment to 3 replicas. ​
Make sure desired number of pod always running.
Question 2 - Create a new deployment called myproject, with image nginx:1.16 and ​1 replica. Next upgrade the deployment to version 1.17 using rolling​ update​. Make sure that the version upgrade is recorded in the resource annotation.​
Question 1 - Create a new pod called web-pod with image busybox Allow the pod to be able to set system_time​. The container should sleep for 3200 seconds​
This is a video of all the exam questions I have ever asked. If you are preparing to take the CKA, or if you are taking the CKA, then this video is for you. I hope it helps!
This is the first of three videos where I discuss a module of questions from the Certified Knowledge Architect (CKA) exam. These questions provide good examples of what to expect on the exam and how to answer them. There's a ton I could say about the CKA, but in this video I keep it high level and superficially examine the exam to determine what topics will be covered in detail later on.
#CKA #Kubernetes #CertifiedKubernetesAdministrator #CKAExam #CKAPracticeQuestions #K8s #KubernetesCertification
#CKAExamTips #KubernetesTraining #CKAExamPrep #KubernetesAdmin #CKAOnlineTraining #KubernetesCertified #CKACertification #CKAExamGuide
#KubernetesAdministrator #CKACertifiedProfessional #CKAExamFormat #KubernetesExpert #CKATraining
#CKAPrepGuide #KubernetesAdminCertification #CKAOnlineCourse
#CKAOnlineExam #KubernetesTrainingOnline #CKAPracticeExam #CKACourse #CKAExamPattern
#CKAExamCost
#CKAPreparationMaterials
#CKAOnlineTrainingMaterials
#KubernetesCertificationTrainingOnline
#CKAPracticeTest
#CKAOnlineCertification
#CKAExamSampleQuestions
#CKAExamObjective
#CKAOnlineTrainingProgram
#KubernetesAdministratorTraining
#CKACertificationExam
#CKAOnlineTest
#CKAExamDifficulty
#KubernetesCertificationCost
#CKAOnlinePractice
#CKAExamResources
#CKAExamQuestionsPdf
#CKAPreparationGuide
#CKAPreparationCourse
#CKAExamPreparationGuide

Пікірлер: 32
@user-uy7bf5kz4o
@user-uy7bf5kz4o 10 ай бұрын
Hi Ajeet, First of all, thanks for posting great content videos to the community! I have noticed this and would like to share my thoughts here... The second part of the question in this video - create a replicaset to match the existing pod. For that, we would need to create a new replicaset definition file with matchLabels that must be matched the Pod's matchLabels. Just scaling the Replicaset would not be the right solution. For example, if the pod has the match label as: run: app-chip, then create the replicaset as follows: apiVersion: apps/v1 kind: ReplicaSet metadata: creationTimestamp: "2023-09-05T03:02:18Z" generation: 1 labels: run: app-chip name: appychip spec: replicas: 4 selector: matchLabels: run: app-chip template: metadata: creationTimestamp: null labels: run: app-chip spec: containers: - image: nginx imagePullPolicy: Always name: app-chip
@sureshburra7670
@sureshburra7670 9 ай бұрын
Totally agree, Looks like there is a miss here for the second part of the question.
@skipbarr7846
@skipbarr7846 3 ай бұрын
Great stuff
@iajeetkhan
@iajeetkhan 3 ай бұрын
I am glad the content is helpful and people are clearing their exam practicing it. Please like and subscribe to keep me motivated. Keep Learning & Keep Sharing :)
@narigina6414
@narigina6414 Жыл бұрын
Please keep making these videos I am learning alot. Currently preparing for CKA. Related to question we can use scale up option as well right to increase the pods.
@iajeetkhan
@iajeetkhan Жыл бұрын
Yes, you can. Stay subscribed, I will be publishing 10th part next week. 🙏🏻🙏🏻🙏🏻
@udp1024
@udp1024 6 ай бұрын
A great collection of videos. Thank you for the effort. All questions are very helpful. One question, Part 9, Question 17, the solution seems to be incorrect. How did you get the replica set yaml? The scenario is that there is an existing pod and you are bringing it into the replica set without disrupting the service. This question has to be solved with labels I think.
@user-yg4qp8ly7u
@user-yg4qp8ly7u 4 ай бұрын
yes, it should be solved by using labels
@akdevsecops
@akdevsecops Жыл бұрын
Great job bro You really support the community with valuable content and create a positive atmosphere. Keep it up! Your hard work and dedication to making helpful videos and being friendly are so impressive. Thankyou
@iajeetkhan
@iajeetkhan Жыл бұрын
Really humbled with your kind words 🙏🏻🙏🏻 thanks for the shoutout, please share the videos with peers and help me to reach 1k subscribers soon 🙏🏻
@VocalSoul1
@VocalSoul1 5 ай бұрын
Hi Ajeet, keep up the great work man! i'm really learning a lot and hoping to write the CKA exam in a few months
@iajeetkhan
@iajeetkhan 5 ай бұрын
Thanks! I wish you all the best for the exam. Do share your exam experience and results here 💪🏻
@OrionPronk
@OrionPronk 4 ай бұрын
You can edit the pod directly in question 16 and add the toleration to save a lot of time: kubectl edit appychip
@sushilkavi1038
@sushilkavi1038 5 ай бұрын
In this video 5:48 I did not understand from where you copied the replicaset defination file. It will be good if you keep pointing to cheatsheet and how you are finding these which will help in exam as it is not possible to memorize these command and how you got that defination file
@iajeetkhan
@iajeetkhan 5 ай бұрын
There are multiple example of replicaset in documentation. Copy any of it and modify it as per the question requirement.
@suresh00
@suresh00 8 ай бұрын
can't we use k scale deployment deployment-name --replicas=4 ??
@abu7midan
@abu7midan 9 ай бұрын
when i go to killercoda i dont find any pod , how you get same question
@iajeetkhan
@iajeetkhan 9 ай бұрын
I got the same pod running for demo purpose and to demonstrate that you will get the pod running in exam environment if mentioned in the question.
@harshavardhan2755
@harshavardhan2755 11 ай бұрын
Hi why you did not get error pod alredy exists , I guess after adding tolerations we need to delete existing pod before creating
@sln0782
@sln0782 3 ай бұрын
It's because he used kubectl apply, he should have used "kubectl replace" instead
@karankumarkaran1268
@karankumarkaran1268 Жыл бұрын
Hi @ajeet khan Can we use kubectl cheat sheet while during cka exam? Are the proctor will allow to use that cheet sheet? Thank you
@iajeetkhan
@iajeetkhan Жыл бұрын
Yes definitely! I have mentioned this in the tips video. Please watch all videos carefully and practice all questions. If you are able to solve all these questions on your own, then you can easily crack the exam with good score 😇
@karankumarkaran1268
@karankumarkaran1268 Жыл бұрын
Thank you for your response @Ajeet Khan
@karankumarkaran1268
@karankumarkaran1268 Жыл бұрын
Please help me
@iajeetkhan
@iajeetkhan Жыл бұрын
@@karankumarkaran1268 yes, feel free to ask any questions. I am happy to help.
@karankumarkaran1268
@karankumarkaran1268 Жыл бұрын
@iajeet khan, I can able to answer all the question, which is explaining you here.. And Practiced well.. Is this knowledge bis enough to attend the exam? Can i get the any suggestions about the exam from you?
Smart Sigma Kid #funny #sigma #comedy
00:26
CRAZY GREAPA
Рет қаралды 5 МЛН
ТАМАЕВ УНИЧТОЖИЛ CLS ВЕНГАЛБИ! Конфликт с Ахмедом?!
25:37
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 52 МЛН
Host Path volume type  storage in kubernetes
23:53
Mr. Nagolu
Рет қаралды 59
Kubernetes CrashLoopBackOff: Day 7 of #100DaysOfKubernetes
9:00
Anais Urlichs
Рет қаралды 20 М.
Questions No One Knows the Answers to (Full Version)
12:08
TED-Ed
Рет қаралды 28 МЛН
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 675 М.
Телефон-електрошокер
0:43
RICARDO 2.0
Рет қаралды 1,3 МЛН
Это Xiaomi Su7 Max 🤯 #xiaomi #su7max
1:01
Tynalieff Shorts
Рет қаралды 1,5 МЛН