<p>I've got <code>logstash</code> running within 5 pods.</p>

<p>I cannot get the command to change the number of pods to 2 to work:</p>

<pre><code>kuberctl scale --replicas=2 daemonset/logstash -n logstash
</code></pre>

<p>I have tried variations of it but still no joy.</p>

<p>Could someone tell or point me in the direction?</p>

mac
<p>note that DaemonSet deploys one pod per node. the number of pods would be as many as nodes. you cant control the number of replicas.</p>

<p>you need to change the object to either Deployment or Statefulset to manage the replica count</p>
