# Dynatrace V2 Metrics API + Kubernetes - How to configure localhost V2 API endpoint?

**URL:** <https://community.dynatrace.com/t/dynatrace-v2-metrics-api-kubernetes-how-to-configure-localhost-v2-api-endpoint/32049>\
**Category:** Dynatrace API\
**Tags:** oneagent, kubernetes, dynatrace-api\
**Created:** [July 8, 2021, 3:22pm UTC](https://community.dynatrace.com/t/dynatrace-v2-metrics-api-kubernetes-how-to-configure-localhost-v2-api-endpoint/32049 "2021-07-08T15:22:17Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![cherry](https://avatars.discourse-cdn.com/v4/letter/c/da6949/32.png) [@cherry](https://community.dynatrace.com/u/cherry)\
**Post date:** [August 17, 2022, 1:54pm UTC](https://community.dynatrace.com/t/dynatrace-v2-metrics-api-kubernetes-how-to-configure-localhost-v2-api-endpoint/32049/10 "2022-08-17T13:54:07Z")

</div>

I did install dynatrace operator

[https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.7.2/kubernetes.yaml](https://github.com/Dynatrace/dynatrace-operator/releases/download/v0.7.2/kubernetes.yaml)

This has installed the active gate stateful set , however when i try to navigate for /metric end point , the active gate seems not expoed.

I did add additional param of&nbsp;metrics-ingest in yaml file

---

_[View the full topic](https://community.dynatrace.com/t/dynatrace-v2-metrics-api-kubernetes-how-to-configure-localhost-v2-api-endpoint/32049)._
