Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation CKA Exam - Topic 2 Question 95 Discussion

SIMULATIONList ''nginx-dev'' and ''nginx-prod'' pod and delete those pods
A) See the solution below

Linux Foundation CKA Exam - Topic 2 Question 95 Discussion

Actual exam question for Linux Foundation's CKA exam
Question #: 95
Topic #: 2
[All CKA Questions]

SIMULATION

List ''nginx-dev'' and ''nginx-prod'' pod and delete those pods

Show Suggested Answer Hide Answer
Suggested Answer: A

kubect1 get pods -o wide

kubectl delete po ''nginx-dev''

kubectl delete po ''nginx-prod''


Contribute your Thoughts:

0/2000 characters
Delisa
2 days ago
I think it's straightforward if you know the commands.
upvoted 0 times
...
Pamella
8 days ago
This question is tricky!
upvoted 0 times
...
Devorah
13 days ago
Deleting them is easy too, just need to be careful!
upvoted 0 times
...
Hollis
18 days ago
I feel confident about listing the pods.
upvoted 0 times
...
Dorthy
23 days ago
I think it's straightforward if you know the commands.
upvoted 0 times
...
Layla
28 days ago
This question is tricky!
upvoted 0 times
...
Kattie
1 month ago
Just did it, no problems so far!
upvoted 0 times
...
Talia
1 month ago
Wait, are you sure deleting them won't cause issues?
upvoted 0 times
...
Alease
3 months ago
Nginx pods are pretty lightweight, so it's fine.
upvoted 0 times
...
Azalee
3 months ago
I thought we weren't supposed to delete prod pods?
upvoted 0 times
...
Cortney
3 months ago
Just ran the command, worked like a charm!
upvoted 0 times
...
Gerald
3 months ago
Wait, are you sure deleting them won't cause issues?
upvoted 0 times
...
Cora
3 months ago
Yeah, but sometimes you gotta clear them out.
upvoted 0 times
...
Torie
4 months ago
Nginx pods are usually pretty stable, right?
upvoted 0 times
...
Hildred
4 months ago
I thought we weren't supposed to delete prod pods?
upvoted 0 times
...
Erasmo
4 months ago
Just ran the command, worked like a charm!
upvoted 0 times
...
Cyndy
4 months ago
I think we might need to use labels to filter the pods correctly. I remember something about `-l` flag in the delete command, but I can't recall the syntax.
upvoted 0 times
...
Felix
4 months ago
I feel like I need to double-check the namespace for those pods. Are they in the default namespace or a specific one?
upvoted 0 times
...
Tammi
5 months ago
I practiced something similar last week, and I believe the delete command is `kubectl delete pod `, but I might be mixing it up with another command.
upvoted 0 times
...
Deja
5 months ago
I think I remember that we can use `kubectl get pods` to list the pods, but I'm not entirely sure about the exact command for deleting them.
upvoted 0 times
...

Save Cancel