Kubernetes Monitoring: keep hostname static after restart

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

There are multiple options, you can find an overview here in the documentation.