How to find images used in helm release?

How can we find the image used in different helm release? This is one of qthe uestions in Mock exam 2 in CKA.

Kindly assist.

Thanks.
Sakshi

Hi @sakshibag80

One way would be to use a jsonpath query to print custom-columns:

kubectl get deployments -A -o custom-columns='NAME:.metadata.name,NAMESPACE:.metadata.namespace
,IMAGE:.spec.template.spec.containers[*].image'

Once you identify the Deployment, you can describe it to see the annotation that defines the Helm release name.

Hi @sakshibag80,

We can use helm get values -n and check the image.

For example: