<p>I'd like to deploy a single app to multiple servers in one time.</p>
<p>I'm using <code>Kubernetes</code> and <code>K3S</code> to easily deploy containers.
Basically, I have a master server that I run and multiple servers that are localed in my customers facilities.</p>
<p>Master server was initialized with the following command:</p>
<pre><code>k3sup install \
    --ip $MASTER_IP \
    --user ubuntu \
    --cluster --k3s-channel latest \
    --k3s-extra-args &quot;--node-label ols.role=master&quot;
</code></pre>
<p>Customer's servers were launched with:</p>
<pre><code>k3sup join \
    --ip $WORKER01_IP \
    --user ubuntu \
    --server-ip $MASTER_IP \
    --server-user ubuntu \
    --k3s-channel latest \
    --k3s-extra-args &quot;--node-label ols.role=worker&quot;
</code></pre>
<p>When I want to deploy a new web service on each customer's server, I've tried the following code:</p>
<pre><code>helm install node-red k8s-at-home/node-red --set nodeSelector.&quot;ols\.role&quot;=worker
</code></pre>
<p>Problem: Only one single pod is deployed.</p>
<p>What I'd like is to deploy a single pod on each server and make it independent.
Is there a way to do that ?</p>

Manitoba
<p>Here there are two different things that we need to consider.</p>
<p>If the requirement is just to run more number of <code>replicas</code> of the <code>application</code> a change to the <code>deployment</code> template in the <code>helm</code> chart or through <code>values</code> you can pass number of minimum <code>replicas</code> need to be working in the cluster.</p>
<p>Reference <a href="https://kubernetes.io/docs/concepts/workloads/controllers/deployment/" rel="nofollow noreferrer">documentation</a> for <code>deployments</code></p>
<p>Coming to next thing, if the requirements is just to run application across all the nodes existing in the cluster, <code>Daemonsets</code> is the workload which gives the capability to run across all the existing nodes.</p>
<p>Reference <a href="https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/" rel="nofollow noreferrer">documentation</a> for <code>daemonsets</code></p>
<p>Again if you are using <code>helm</code> to deploy, appropriate templates for either <code>daemonsets</code> or <code>deployments</code> need to be added or modified based on the existing contents of the <code>helm</code> chart.</p>
<p>There are also different <a href="https://kubernetes.io/docs/concepts/workloads/controllers/" rel="nofollow noreferrer">workloads</a> <code>k8s</code> supports so based on requirements they can be picked appropriately.</p>
