# KUBERNETES\_NODE and KUBERNETES\_CLUSTER entity type isNodeOfHost and isClusterOfHost is not coming in payload

**URL:** <https://community.dynatrace.com/t/kubernetes-node-and-kubernetes-cluster-entity-type-isnodeofhost-and-isclusterofhost-is-not-coming-in-payload/44941>\
**Category:** Dynatrace API\
**Tags:** kubernetes, dynatrace-api\
**Created:** [April 2, 2024, 10:28am UTC](https://community.dynatrace.com/t/kubernetes-node-and-kubernetes-cluster-entity-type-isnodeofhost-and-isclusterofhost-is-not-coming-in-payload/44941 "2024-04-02T10:28:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Adarsh3312](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@Adarsh3312](https://community.dynatrace.com/u/Adarsh3312)\
**Post date:** [April 9, 2024, 2:17pm UTC](https://community.dynatrace.com/t/kubernetes-node-and-kubernetes-cluster-entity-type-isnodeofhost-and-isclusterofhost-is-not-coming-in-payload/44941/3 "2024-04-09T14:17:05Z")

</div>

Hi Michal,

entityselector gives flexibility to get all kubernetes cluster and node in minimum number of API call. But if we use

```auto
fromRelationships.isClusterOfHost(type("Host"), entityname("name_of_host"))

```

then we will have to make 'n; number API calls if we have ‘n’ number of HOSTS. This won’t be performant as per our use case for data loading due to multiple network call

As mentioned in my query, In payload structure of entity selector for kubernetes\_cluster and node we get a HOST relation ship but when we are trying to fetch real data, those attributes are missing in payload.

Using entity selector will be much more performant and will be able to create relationship as well if somehow we start getting those HOST details in payload.

Can you please help in understanding do we need to do any configuration on Dynatrace side to get those data as our product delivery depends on this.

Regards,

Adarsh

---

_[View the full topic](https://community.dynatrace.com/t/kubernetes-node-and-kubernetes-cluster-entity-type-isnodeofhost-and-isclusterofhost-is-not-coming-in-payload/44941)._
