# Kubernetes Monitoring: keep hostname static after restart

**URL:** <https://community.dynatrace.com/t/kubernetes-monitoring-keep-hostname-static-after-restart/38175>\
**Category:** Container platforms\
**Tags:** hosts-classic, kubernetes\
**Created:** [January 27, 2023, 9:08am UTC](https://community.dynatrace.com/t/kubernetes-monitoring-keep-hostname-static-after-restart/38175 "2023-01-27T09:08:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saurav](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@Saurav](https://community.dynatrace.com/u/Saurav)\
**Post date:** [January 27, 2023, 9:08am UTC](https://community.dynatrace.com/t/kubernetes-monitoring-keep-hostname-static-after-restart/38175/1 "2023-01-27T09:08:30Z")

</div>

Kubernetes hostname always changes in Dynatrace after a restart, how can we keep it static?

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [January 27, 2023, 12:47pm UTC](https://community.dynatrace.com/t/kubernetes-monitoring-keep-hostname-static-after-restart/38175/2 "2023-01-27T12:47:27Z")

</div>

There are multiple options, you can find an [overview here in the documentation.](https://www.dynatrace.com/support/help/shortlink/hostname-config)
