# Deploy multiple jupyterhub instances in the same namespace

**URL:** https://discourse.jupyter.org/t/deploy-multiple-jupyterhub-instances-in-the-same-namespace/16509
**Category:** Zero to JupyterHub on Kubernetes
**Created:** [October 25, 2022, 11:16am UTC](https://discourse.jupyter.org/t/deploy-multiple-jupyterhub-instances-in-the-same-namespace/16509 "2022-10-25T11:16:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Yan\_Vulich](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/yan_vulich/32/8240_2.png) [@Yan\_Vulich](https://discourse.jupyter.org/u/Yan_Vulich)
#### Post date: [October 25, 2022, 11:16am UTC](https://discourse.jupyter.org/t/deploy-multiple-jupyterhub-instances-in-the-same-namespace/16509/1 "2022-10-25T11:16:24Z")

</div>

Hi,  
is deploying multiple instances in the same namespace supported?  
I get error trying for the second time with news name: invalid ownership metadata; annotation validation error: key “meta.helm.sh/release-name” must equal “jh2”: current value is “jh1”

I saw this [topic](https://discourse.jupyter.org/t/deploying-multiple-jupyterhub-charts-into-the-same-namespace/9423).

tried to add:  
hub:  
extraEnv:  
HUB\_NAMESPACE:  
name: HUB\_NAMESPACE  
valueFrom:  
fieldRef:  
fieldPath: metadata.namespace  
PREFIXED\_HUB\_NAMESPACE:  
value: “jh2-$(HUB\_NAMESPACE)”

but it still failing.

Thank you,  
Yan
