# Why has the naming of Kubernetes nodes changed in Dynatrace?

**URL:** <https://community.dynatrace.com/t/why-has-the-naming-of-kubernetes-nodes-changed-in-dynatrace/44139>\
**Category:** Product News\
**Tags:** news, kubernetes\
**Created:** [February 15, 2024, 9:44am UTC](https://community.dynatrace.com/t/why-has-the-naming-of-kubernetes-nodes-changed-in-dynatrace/44139 "2024-02-15T09:44:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Jelitsch1](https://avatars.discourse-cdn.com/v4/letter/p/b5e925/32.png) [@Peter\_Jelitsch1](https://community.dynatrace.com/u/Peter_Jelitsch1)\
**Post date:** [February 15, 2024, 9:44am UTC](https://community.dynatrace.com/t/why-has-the-naming-of-kubernetes-nodes-changed-in-dynatrace/44139/1 "2024-02-15T09:44:24Z")

</div>

Since release 283 we are not propagating host names to Kubernetes nodes anymore, but only use the Kubernetes node name as provided by the Kubernetes API.

## Why?

The node name in Dynatrace now reflects the node name as it is seen with the

```auto
kubectl get nodes

```

command. This makes it easier to correlate data from the API with the data visible in Dynatrace.

## What does this mean for historic node entities?

Kubernetes nodes, which have been first touched before release 283, internally might still hold the inherited host name. This inherited host name will not be deleted. As it overrules the real node name, when it comes to compute the entity name, it will still be visible in the UI.

## Are there affected Kubernetes node entities?

The following DQL query lists all kubernetes node on the tenant sorted by the timestamp when they were first seen.  
Less recent nodes might (but not neccessarily need to) have differences between the detected name (as seen in the kubectl command) and the entity name (which might be the inherited host name).

```auto
fetch dt.entity.kubernetes_node
| fieldsAdd lifetime, entity.detected_name, clustered_by, entity.detected_name == entity.name
| sort lifetime DESC

```

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [March 27, 2024, 3:47pm UTC](https://community.dynatrace.com/t/why-has-the-naming-of-kubernetes-nodes-changed-in-dynatrace/44139/2 "2024-03-27T15:47:52Z")

</div>

Thank you for sharing this!
