# Host units are consuming by pods as well and pods is displaying as hosts

**URL:** <https://community.dynatrace.com/t/host-units-are-consuming-by-pods-as-well-and-pods-is-displaying-as-hosts/40891>\
**Category:** Container platforms\
**Tags:** kubernetes\
**Created:** [July 27, 2023, 7:08am UTC](https://community.dynatrace.com/t/host-units-are-consuming-by-pods-as-well-and-pods-is-displaying-as-hosts/40891 "2023-07-27T07:08:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![manickam](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@manickam](https://community.dynatrace.com/u/manickam)\
**Post date:** [July 27, 2023, 7:08am UTC](https://community.dynatrace.com/t/host-units-are-consuming-by-pods-as-well-and-pods-is-displaying-as-hosts/40891/1 "2023-07-27T07:08:47Z")

</div>

Host units are consuming by pods and pods is displaying as hosts, I have raised a customer support for this and they asked me to add this line&nbsp;&nbsp;[feature.dynatrace.com/injection-failure-policy=](https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Ffeature.dynatrace.com%2Finjection-failure-policy%3D&data=05%7C01%7CManickam.Gopal%40agilysys.com%7C1bef0b03eda046edbab308db8e6d7396%7C9750a82093644bc39990123c1645274b%7C0%7C0%7C638260372961061900%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=iRqkhKlRE04tvvx0P0SLeWdRTT%2BDAGGmj8tqz79VI4E%3D&reserved=0)“fail” in&nbsp;dynakube.yaml file.

Could someone explain why it is necessary and do i have any document for this Flag.

---

<div class="post-metadata">

**Author:** ![Mohamed\_Hamdy](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@Mohamed\_Hamdy](https://community.dynatrace.com/u/Mohamed_Hamdy)\
**Post date:** [August 1, 2023, 5:33pm UTC](https://community.dynatrace.com/t/host-units-are-consuming-by-pods-as-well-and-pods-is-displaying-as-hosts/40891/2 "2023-08-01T17:33:34Z")

</div>

Hello&nbsp;[@manickam](https://community.dynatrace.com/user/62494),

The failure policy determines what should happen when OneAgent injection fails for a particular pod in a Kubernetes cluster. By default, the failure policy is set to&nbsp;silent. You can override the failure policy for all injected pods that match the DynaKube by setting the&nbsp;[feature.dynatrace.com/injection-failure-policy](http://feature.dynatrace.com/injection-failure-policy)&nbsp;to one of the following values.

- silent—if OneAgent injection fails for a particular pod, the pod will continue to run without monitoring.
- fail—if OneAgent injection fails for a particular pod, the pod will not start, and the injection failure will be treated as an error.

for more details please check the following URL:

> **[Guides](https://docs.dynatrace.com/docs/ingest-from/setup-on-k8s/guides)**
>
> Detailed description of installation and configuration options for specific use-cases
