<p>Is there a way to run a Kubernetes DaemonSet only on master nodes? I know this is possible with deployments but can this behaviour be replicated with DaemonSets?</p>

VBoi
<p>I used a mix of nodeSelector and tolerations to achieve this. Here's the code - </p>

<pre><code>  tolerations:
  - key: node-role.kubernetes.io/master
    operator: Exists
    effect: NoSchedule

  nodeSelector:
    kubernetes.io/role: master
</code></pre>
