# Node-red deployed on kubernetes(as a pod) to intereact with azure iot edge

**URL:** https://discourse.nodered.org/t/node-red-deployed-on-kubernetes-as-a-pod-to-intereact-with-azure-iot-edge/46149
**Category:** General
**Created:** [24 May 2021 11:48 UTC](https://discourse.nodered.org/t/node-red-deployed-on-kubernetes-as-a-pod-to-intereact-with-azure-iot-edge/46149 "2021-05-24T11:48:31Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![omarine](https://avatars.discourse-cdn.com/v4/letter/o/47e85d/32.png) [@omarine](https://discourse.nodered.org/u/omarine)
#### Post date: [24 May 2021 11:48 UTC](https://discourse.nodered.org/t/node-red-deployed-on-kubernetes-as-a-pod-to-intereact-with-azure-iot-edge/46149/1 "2021-05-24T11:48:32Z")

</div>

Hello,

i deployed Node-Red on azure kubernetes services to be able to interface with iotedge modules but i had this issue 🙂

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/7/3753381f77517e45b74ed9f49404029a281f9de3.png)

does anyone encountered this issue before or was able to run node-red (module client) on azure kubernetes ?

Regards,

---

<div class="post-metadata">

### Author: ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)
#### Post date: [24 May 2021 12:48 UTC](https://discourse.nodered.org/t/node-red-deployed-on-kubernetes-as-a-pod-to-intereact-with-azure-iot-edge/46149/2 "2021-05-24T12:48:39Z")

</div>

You are going to need to supply a lot more details here. Exactly what node is generating the error (I can't find any iotedge nodes on [flows.nodered.org](http://flows.nodered.org))?

Where is it trying to connect to? 127.0.0.1 is going to point to the pod that Node-RED is running on, so unless app it's trying to connect to is in the same container/pod then it's not going to connect.

---

<div class="post-metadata">

### Author: ![omarine](https://avatars.discourse-cdn.com/v4/letter/o/47e85d/32.png) [@omarine](https://discourse.nodered.org/u/omarine)
#### Post date: [25 May 2021 03:43 UTC](https://discourse.nodered.org/t/node-red-deployed-on-kubernetes-as-a-pod-to-intereact-with-azure-iot-edge/46149/3 "2021-05-25T03:43:22Z")

</div>

Hello,

thanks for your reply,

i am using this package [node-red-contrib-azure-iot-edge-kpm (node) - Node-RED](https://flows.nodered.org/node/node-red-contrib-azure-iot-edge-kpm)

the node-red i deployed is supposed to receive telemetry from another module so i am using module client, and for every module i deployed as a part of iot edge on kubernetes ,there is a side car pod (proxy) that exposes an api through localhost:35000 to help module interreact with the daemon witch another pod and could be deployed even to other kubernetes node.

i have the error as soon as i deploy my flow from the node-red ui.

Thanks

---

<div class="post-metadata">

### Author: ![omarine](https://avatars.discourse-cdn.com/v4/letter/o/47e85d/32.png) [@omarine](https://discourse.nodered.org/u/omarine)
#### Post date: [25 May 2021 08:33 UTC](https://discourse.nodered.org/t/node-red-deployed-on-kubernetes-as-a-pod-to-intereact-with-azure-iot-edge/46149/4 "2021-05-25T08:33:59Z")

</div>

containers running inside the pod node-red pod

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/a/2af2b0812e12151323c80bc725657206c04da657.png)

logs proxy :

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/6/567418c92f0fc2cd64425a40f5ce85348da39a81.png)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [24 July 2021 08:34 UTC](https://discourse.nodered.org/t/node-red-deployed-on-kubernetes-as-a-pod-to-intereact-with-azure-iot-edge/46149/5 "2021-07-24T08:34:47Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
