Browse Source

Merge pull request #1373 from gravitl/hotfix_v0.14.5_k8s_mqtt_nodeport

changing traffic policy
dcarns 3 years ago
parent
commit
a895c58e70
1 changed files with 1 additions and 1 deletions
  1. 1 1
      k8s/server/mosquitto.yaml

+ 1 - 1
k8s/server/mosquitto.yaml

@@ -138,7 +138,7 @@ metadata:
   labels:
   labels:
   name: 'netmaker-mqtt'
   name: 'netmaker-mqtt'
 spec:
 spec:
-  externalTrafficPolicy: Local
+  externalTrafficPolicy: Cluster
   type: NodePort
   type: NodePort
   selector:
   selector:
     app.kubernetes.io/instance: mosquitto
     app.kubernetes.io/instance: mosquitto