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

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
Cortney
4 days ago
Just ran the command, worked like a charm!
upvoted 0 times
...
Gerald
9 days ago
Wait, are you sure deleting them won't cause issues?
upvoted 0 times
...
Cora
14 days ago
Yeah, but sometimes you gotta clear them out.
upvoted 0 times
...
Torie
20 days ago
Nginx pods are usually pretty stable, right?
upvoted 0 times
...
Hildred
25 days ago
I thought we weren't supposed to delete prod pods?
upvoted 0 times
...
Erasmo
30 days ago
Just ran the command, worked like a charm!
upvoted 0 times
...
Cyndy
1 month 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
1 month 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
2 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
2 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