# Missing Kubernetes\_namespace attribute to configure in json file

**URL:** <https://community.dynatrace.com/t/missing-kubernetes-namespace-attribute-to-configure-in-json-file/19271>\
**Category:** Container platforms\
**Tags:** management-zones, kubernetes\
**Created:** [May 8, 2020, 8:49pm UTC](https://community.dynatrace.com/t/missing-kubernetes-namespace-attribute-to-configure-in-json-file/19271 "2020-05-08T20:49:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![keerthana\_deiva](https://avatars.discourse-cdn.com/v4/letter/k/fbc32d/32.png) [@keerthana\_deiva](https://community.dynatrace.com/u/keerthana_deiva)\
**Post date:** [May 8, 2020, 8:49pm UTC](https://community.dynatrace.com/t/missing-kubernetes-namespace-attribute-to-configure-in-json-file/19271/1 "2020-05-08T20:49:20Z")

</div>

Hi I am configuring management zone for kubernetes application via API..i have a json code,

**“conditions”: [**

**{**

**“key”: {**

**“attribute”: “PROCESS\_GROUP\_NAME”**

**},**

**“comparisonInfo”: {**

**“type”: “STRING”,**

**“operator”: “BEGINS\_WITH”,**

**“value”: “{ {kubernetes\_namespace}}”,**

**“negate”: false,**

**“caseSensitive”: true**

**}**

## so this will automatically setup the management zone like,

![24945-1588970662244.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/8/b89ef71f974b506780e6d72f7dba62b5caa1fefb.png)

But i need the rule to be setup with Kubernetes namespace like,

![24938-1588970795581.png](https://global.discourse-cdn.com/dynatrace/original/3X/c/d/cd05a9421f16fac3000d2a0cd82dc93342daf47b.png)  
But i couldn’t find the key word Kubernetes\_namespace for attribute to set it up. Help me to fix this..!!

---

<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:** [May 8, 2020, 11:23pm UTC](https://community.dynatrace.com/t/missing-kubernetes-namespace-attribute-to-configure-in-json-file/19271/2 "2020-05-08T23:23:47Z")

</div>

Id open a support chat or a support ticket - that will be the fastest way to resolving your issue.

---

<div class="post-metadata">

**Author:** ![keerthana\_deiva](https://avatars.discourse-cdn.com/v4/letter/k/fbc32d/32.png) [@keerthana\_deiva](https://community.dynatrace.com/u/keerthana_deiva)\
**Post date:** [May 11, 2020, 4:52pm UTC](https://community.dynatrace.com/t/missing-kubernetes-namespace-attribute-to-configure-in-json-file/19271/3 "2020-05-11T16:52:02Z")

</div>

Solution:

“key”: {

“attribute”: “PROCESS\_GROUP\_PREDEFINED\_METADATA”,

“dynamicKey”: “KUBERNETES\_NAMESPACE”,

“type”: “PROCESS\_PREDEFINED\_METADATA\_KEY”

}
