CKA Exam | Kubernetes CKA Exam Practice Questions | cka exam questions and answers

  Рет қаралды 1,973

anishrana2001

anishrana2001

Күн бұрын

CKA Exam | Troubleshooting question | Kubernetes
Troubleshooting 30%
Evaluate cluster and node logging
Understand how to monitor applications
Manage container stdout & stderr logs
Troubleshoot application failure
Troubleshoot cluster component failure
Troubleshoot networking
Paypal link : paypal.me/anishrana20011
Github: github.com/anishrana2001/CKA

Пікірлер: 12
@user-mg8lx6yb6b
@user-mg8lx6yb6b 5 ай бұрын
For the question where they ask you to monitor pod and extract log lines corresponding to the error . Did they not only want that one specific line or did they ask for the whole log of the pod? video time 9:11
@anishrana2001ful
@anishrana2001ful 5 ай бұрын
Ideally, you should grep the log line only. But in the exam question,you may observe only these logs .... These questions and answers are just a tips and tricks. Which will ultimately help you to clear the exam.
@user-mg8lx6yb6b
@user-mg8lx6yb6b 5 ай бұрын
@@anishrana2001ful Thank you , they did ask this specific question , so I was wondering if I misunderstood what they wanted . Thanks for the amazing context . Looking forward to the rest
@newacct2574
@newacct2574 3 ай бұрын
In the sidecar question , the command part in documentation has "-f" flag. But in exam the command they provided didn't have that "-f" flag. With the flag pod status is 2/2 where as without -f it is in crashloopback . So what is recommended in exam. Use the "-f" and make the pod 2/2 or put the command as in question and leave it in 1/2 Crashloop state.
@anishrana2001ful
@anishrana2001ful 3 ай бұрын
Always go with exam task. If in the exam, you will observe without "-f" option then go with without "-f" option. You will notice your container will still produce output. See the below output. [root@master1 data]# kubectl get pods -w -NAME READY STATUS RESTARTS AGE deployment-007-688657cb7-wmpn9 1/2 CrashLoopBackOff 5 (2m20s ago) 5m26s deployment-007-688657cb7-wmpn9 1/2 NotReady 6 (2m46s ago) 5m52s deployment-007-688657cb7-wmpn9 1/2 CrashLoopBackOff 6 (15s ago) 6m6s- [root@master1 data]# kubectl logs deployment-007-688657cb7-wmpn9 -c sidecar-two i luv cncf i luv cncf i luv cncf i luv cncf [root@master1 data]# kubectl logs deployment-007-688657cb7-wmpn9 -c sidecar-two | wc -l 18 [root@master1 data]# kubectl logs deployment-007-688657cb7-wmpn9 -c sidecar-two | wc -l 35
@newacct2574
@newacct2574 3 ай бұрын
@@anishrana2001ful yes watched your video on sidecar. In exam the -f option was provided but the container was not generating logs. Most probably it was volume mount issue. The volume mount provided with the logacy-app container was the default one which we get while creating a new pod, maybe also needed to remove the existing volume options and put /var/log path there with the new volume name.
@rupesh4201
@rupesh4201 4 ай бұрын
Thank you, passed the CKA exam - (ETCD and sidecar questions do not work in the exam, if possible create a new video).
@anishrana2001ful
@anishrana2001ful 4 ай бұрын
Heartiest Congratulations May I ask you to elaborate what went wrong on etcd and sidecar questions?
@rupesh4201
@rupesh4201 4 ай бұрын
@@anishrana2001ful - for etcd - certs/key fle path not found... I ran with the provided keys/certs and also I tried with the etcd manifest yaml both went have same issue
@rupesh4201
@rupesh4201 4 ай бұрын
@@anishrana2001ful As mentioned in the video I added 6 lines but not worked, error "logs" not found - - name: busybox image: busybox args: [/bin/sh, -c, 'tail -n+1 /var/log/big-corp-app.log'] volumeMounts: - name: logs mountPath: /var/log
@dangtuan-cntt
@dangtuan-cntt 4 ай бұрын
Are the CKA exam questions similar to those in the video?
@rupesh4201
@rupesh4201 4 ай бұрын
yes@@dangtuan-cntt
CKA Exam | workload & Scheduling
25:20
anishrana2001
Рет қаралды 983
CKA Exam   Networking
13:40
anishrana2001
Рет қаралды 1,3 М.
LOVE LETTER - POPPY PLAYTIME CHAPTER 3 | GH'S ANIMATION
00:15
OMG🤪 #tiktok #shorts #potapova_blog
00:50
Potapova_blog
Рет қаралды 18 МЛН
small vs big hoop #tiktok
00:12
Анастасия Тарасова
Рет қаралды 31 МЛН
From Zero to CKA Hero: Master the Exam with Payload Pat's Tips!
41:36
CKA Exam || Storage question in CKA
14:03
anishrana2001
Рет қаралды 1,2 М.
CKAD  2024 | CKAD -part2 | CKAD exam preparation
15:07
anishrana2001
Рет қаралды 419
LOVE LETTER - POPPY PLAYTIME CHAPTER 3 | GH'S ANIMATION
00:15