Going with C, here's why.
https://kubernetes.io/docs/concepts/workloads/controllers/deployment/
A. kubectl get deployment nginx-deployment - No, this won't list the images in use.
B. kubectl get pod nginx - No (that's not even the name of the thing)
C. kubectl describe deployment nginx-deployment - Yes, this lists all the images in use (see the link)
D. docker ps - Wow, this would just list all running docker processes... not even the images in use, just the current containers. And not even the context of the deployment. Wrong wrong wrong.
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
obeythefist
4 months, 1 week ago