# Deploy node red on Kubernetes with custom settings.js

**URL:** <https://discourse.nodered.org/t/deploy-node-red-on-kubernetes-with-custom-settings-js/56057>\
**Category:** General\
**Created:** [3 January 2022 19:11 UTC](https://discourse.nodered.org/t/deploy-node-red-on-kubernetes-with-custom-settings-js/56057 "2022-01-03T19:11:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rorokoko](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@rorokoko](https://discourse.nodered.org/u/rorokoko)\
**Post date:** [3 January 2022 19:11 UTC](https://discourse.nodered.org/t/deploy-node-red-on-kubernetes-with-custom-settings-js/56057/1 "2022-01-03T19:11:53Z")

</div>

Hi guys,  
What is the easiest way to deploy node red docker on K8 using custom settings.js and some additional files? One way that i can think of is to first create a persistent volume and paste the files on to it, and then mount it with node red deployment. This seems like a very messy process. Can someone suggest a quick and easy way?

---

<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:** [3 January 2022 20:11 UTC](https://discourse.nodered.org/t/deploy-node-red-on-kubernetes-with-custom-settings-js/56057/2 "2022-01-03T20:11:56Z")

</div>

Please don't cross post the same question to multiple places, most of the time it will be the same people answering them.

Answered on Stack Overflow [here](https://stackoverflow.com/a/70570641/504554)

Also asked on Reddit here:

> **[r/nodered - Deploy Node red on Kubernetes with custom settings.js](https://www.reddit.com/r/nodered/comments/rv95wn/deploy_node_red_on_kubernetes_with_custom/)**
>
> 0 votes and 0 comments so far on Reddit

---

<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:** [4 March 2022 20:12 UTC](https://discourse.nodered.org/t/deploy-node-red-on-kubernetes-with-custom-settings-js/56057/3 "2022-03-04T20:12:41Z")

</div>

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