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
Makeda
1 day ago
Don't forget to check the namespace!
upvoted 0 times
...
Freeman
6 days ago
Right! Then `kubectl delete pod `.
upvoted 0 times
...
Adrianna
11 days ago
Just use `kubectl get pods` first.
upvoted 0 times
...
Shawn
17 days ago
Deleting them is the real challenge!
upvoted 0 times
...
Makeda
22 days ago
I feel confident about listing the pods.
upvoted 0 times
...
Freeman
27 days ago
I think it's straightforward if you know the commands.
upvoted 0 times
...
Adrianna
1 month ago
This question is tricky!
upvoted 0 times
...
Jonelle
1 month ago
Deleting them is easy too, just use `kubectl delete`.
upvoted 0 times
...
Mireya
1 month ago
I feel confident about listing the pods.
upvoted 0 times
...
Delisa
2 months ago
I think it's straightforward if you know the commands.
upvoted 0 times
...
Pamella
2 months ago
This question is tricky!
upvoted 0 times
...
Devorah
2 months ago
Deleting them is easy too, just need to be careful!
upvoted 0 times
...
Hollis
2 months ago
I feel confident about listing the pods.
upvoted 0 times
...
Dorthy
2 months ago
I think it's straightforward if you know the commands.
upvoted 0 times
...
Layla
2 months ago
This question is tricky!
upvoted 0 times
...
Kattie
3 months ago
Just did it, no problems so far!
upvoted 0 times
...
Talia
3 months ago
Wait, are you sure deleting them won't cause issues?
upvoted 0 times
...
Alease
4 months ago
Nginx pods are pretty lightweight, so it's fine.
upvoted 0 times
...
Azalee
4 months ago
I thought we weren't supposed to delete prod pods?
upvoted 0 times
...
Cortney
5 months ago
Just ran the command, worked like a charm!
upvoted 0 times
...
Gerald
5 months ago
Wait, are you sure deleting them won't cause issues?
upvoted 0 times
...
Cora
5 months ago
Yeah, but sometimes you gotta clear them out.
upvoted 0 times
...
Torie
5 months ago
Nginx pods are usually pretty stable, right?
upvoted 0 times
...
Hildred
5 months ago
I thought we weren't supposed to delete prod pods?
upvoted 0 times
...
Erasmo
6 months ago
Just ran the command, worked like a charm!
upvoted 0 times
...
Cyndy
6 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
6 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
6 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
6 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