# Best practice configuration requirement

**URL:** <https://community.dynatrace.com/t/best-practice-configuration-requirement/41641>\
**Category:** Container platforms\
**Tags:** kubernetes\
**Created:** [September 14, 2023, 2:28am UTC](https://community.dynatrace.com/t/best-practice-configuration-requirement/41641 "2023-09-14T02:28:56Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [September 14, 2023, 2:16pm UTC](https://community.dynatrace.com/t/best-practice-configuration-requirement/41641/3 "2023-09-14T14:16:43Z")

</div>

Hi [@Lwl](https://community.dynatrace.com/user/63531)&nbsp;,

You can connect to the public API or internal API endponit of Kubernetes.

[Kubernetes API Monitoring | Dynatrace Docs](https://www.dynatrace.com/support/help/setup-and-configuration/setup-on-k8s/guides/operation/k8s-api-monitoring)

Event monitoring configuration:

[Monitor Kubernetes/OpenShift events | Dynatrace Docs](https://www.dynatrace.com/support/help/platform-modules/infrastructure-monitoring/container-platform-monitoring/kubernetes-monitoring/monitor-events-kubernetes)

In case of Internal API end point connection you need a containerized AG (FullStack) instrumentation. In case of AppOnly instrumentation you can also create a containerized AG as a StatefulSet set.

Instrumentation types:

[Deployment options on Kubernetes/OpenShift | Dynatrace Docs](https://www.dynatrace.com/support/help/setup-and-configuration/setup-on-container-platforms/kubernetes/get-started-with-kubernetes-monitoring/deployment-options-k8s?_ga=2.254549581.439151297.1694544326-2045166400.1688992958&_gl=1*1tym1ut*_ga*MjA0NTE2NjQwMC4xNjg4OTkyOTU4*_ga_1MEMV02JXV*MTY5NDY5NTQ2Ny4xMzkuMS4xNjk0Njk5ODAxLjAuMC4w)

Create manual containerized AG in case of AppOnly injection:

[Manually deploy ActiveGate as a StatefulSet | Dynatrace Docs](https://www.dynatrace.com/support/help/setup-and-configuration/setup-on-k8s/installation/other/ag-statefulset)

For event configuration I always use this without filters (I prefer it, pvc consumes lot of DDU):

 ![Mizs_2-1694700659827.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/f/8f8596f2b91070d3a3f728cfcb95b268d92505e9.png)

Then you can able to create nice dashboards and alerts (there are some perdefined in Settings / Anomaly detection):

 ![Mizs_3-1694700968360.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/bb74d21e7509c6b92ce935c7807817617b1a68bf.png)

I hope it helps.

Best regards,

János

---

_[View the full topic](https://community.dynatrace.com/t/best-practice-configuration-requirement/41641)._
