# Define HU consumption on Openshift (K8s) based on Memory allocated to a namespace

**URL:** <https://community.dynatrace.com/t/define-hu-consumption-on-openshift-k8s-based-on-memory-allocated-to-a-namespace/38201>\
**Category:** Container platforms\
**Tags:** openshift, monitoring-consumption, kubernetes\
**Created:** [January 31, 2023, 4:20am UTC](https://community.dynatrace.com/t/define-hu-consumption-on-openshift-k8s-based-on-memory-allocated-to-a-namespace/38201 "2023-01-31T04:20:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amohammed51](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@amohammed51](https://community.dynatrace.com/u/amohammed51)\
**Post date:** [January 31, 2023, 4:20am UTC](https://community.dynatrace.com/t/define-hu-consumption-on-openshift-k8s-based-on-memory-allocated-to-a-namespace/38201/1 "2023-01-31T04:20:44Z")

</div>

Hi All,

On Openshift Dynatrace Operator, we have Classic FullStack mode deployed against namespaces. The HU consumption is being based on the App Node’s memory. We would like it to calculate HUs based on memory allocated to the namespace only and not the node itself.

I believe this is an ideal case for App Only monitoring instead of Classic FullStack.

However, I’d like to get a confirmation if someone has tried this and if this is the case i.e. deploying Dynatrace Operator in App Only mode is doing to restrict HU consumption to the memory used by the Namespace PODS only and not the node itself.

Thanks!

Ashfaq.

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [January 31, 2023, 5:55am UTC](https://community.dynatrace.com/t/define-hu-consumption-on-openshift-k8s-based-on-memory-allocated-to-a-namespace/38201/2 "2023-01-31T05:55:35Z")

</div>

Hi&nbsp;[@amohammed51](https://community.dynatrace.com/user/3190),

In App only mode you have to calculate with the pods memory limits. So some cases the full stack is more economical than the app only., because as I wrote App only consumption depends on the instrumented pods number and their memory limits.

Documentation example:

> **[Application and Infrastructure Monitoring (Host Units)](https://docs.dynatrace.com/docs/license/classic-licensing/application-and-infrastructure-monitoring)**
>
> Understand how Dynatrace application and infrastructure monitoring consumption is calculated based on host units.

I hope it helps.

Best regards,

Mizső
