<p>I'd like to prepare multiple yaml files customizing arguments of flannel (DaemonSet) and run the flannel pod of the node with yaml matching the condition expressed by the label. Can I label a worker node before joining Kubernetes master ?</p>

shigeru ishida
<p>You can specify <code>--node-labels</code> when you're <code>kubelet</code> is starting, which will apply the labels to the nodes; but <strong>ONLY</strong> during registration.</p>

<p>This will not work if your <code>kubelet</code> is starting up and the node is already a member of the cluster.</p>

<p><a href="https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet" rel="nofollow noreferrer">Kubelet Docs</a></p>
