# Help with setting externaltrafficpolicy to cluster

**URL:** https://forums.percona.com/t/help-with-setting-externaltrafficpolicy-to-cluster/34076
**Category:** Percona Server for MongoDB
**Created:** [October 2, 2024, 5:16pm UTC](https://forums.percona.com/t/help-with-setting-externaltrafficpolicy-to-cluster/34076 "2024-10-02T17:16:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Henry\_Smearman](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/henry_smearman/32/18339_2.png) [@Henry\_Smearman](https://forums.percona.com/u/Henry_Smearman)
#### Post date: [October 2, 2024, 5:16pm UTC](https://forums.percona.com/t/help-with-setting-externaltrafficpolicy-to-cluster/34076/1 "2024-10-02T17:16:13Z")

</div>

Hello All,

I am using using the helm chart psmdb-operator-1.17.0 and psmdb-db 7.0.12 to install a mongodb rep set server. I change the expose to true, exposeType to NodePort which does create the service but Im not able to access the rep set outside of the cluster unless I edit the service and change externalTrafficPolicy to Cluster. When the service is created the default for externalTrafficPolicy is Local, Is there a place in the helm charts for either the operator or the server that I can set so the policy always defaults to Cluster ?

---

<div class="post-metadata">

### Author: ![Vinodh\_Krishnaswamy](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/vinodh_krishnaswamy/32/46_2.png) [@Vinodh\_Krishnaswamy](https://forums.percona.com/u/Vinodh_Krishnaswamy)
#### Post date: [October 3, 2024, 4:14pm UTC](https://forums.percona.com/t/help-with-setting-externaltrafficpolicy-to-cluster/34076/2 "2024-10-03T16:14:51Z")

</div>

Hi Henry,

> Is there a place in the helm charts for either the operator or the server that I can set so the policy is defaults to Cluster ?

It is planned to be released in future releases as part of - [[K8SPSMDB-739] - Percona JIRA](https://perconadev.atlassian.net/browse/K8SPSMDB-739). So, it may be available in v1.18.0.  
Refer here - [percona-server-mongodb-operator/deploy/cr.yaml at main · percona/percona-server-mongodb-operator · GitHub](https://github.com/percona/percona-server-mongodb-operator/blob/main/deploy/cr.yaml#L228)

Regards,  
Vinodh Guruji

---

<div class="post-metadata">

### Author: ![radoslaw.szulgo](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/radoslaw.szulgo/32/17315_2.png) [@radoslaw.szulgo](https://forums.percona.com/u/radoslaw.szulgo)
#### Post date: [September 10, 2025, 7:34pm UTC](https://forums.percona.com/t/help-with-setting-externaltrafficpolicy-to-cluster/34076/3 "2025-09-10T19:34:12Z")

</div>

HI, just an update - it’s resolved in 1.18.0
