# What does the 'lookup' function in templates do?

Helm, Hard (Expert), Templates. https://k8wiz.com/uquiz/what-does-the-lookup-function-in-templates-do

- A. Query the Kubernetes API for live resources
- B. Search chart dependencies
- C. Lookup values in values.yaml
- D. Find template blocks

**Answer:** Query the Kubernetes API for live resources

**Explanation:** The lookup function queries the Kubernetes API for existing resources and can be used at template render time to make decisions.
