<p>I can taint a node but not an instance group.</p>

<pre><code>kubectl taint nodes nodeA 
kops.k8s.io/instancegroup=loadbalancer:NoSchedule
</code></pre>

<p>can we do below</p>

<pre><code>kubectl taint instanceGroup loadbalancer:NoSchedule 


error: at least one taint update is required
</code></pre>

AhmFM
<p>Instance Group is <a href="https://cloud.google.com/compute/docs/instance-groups/" rel="nofollow noreferrer">GCP thing</a> and not a Kubernetes thing. Taints can only be done on nodes. So you will have to taint the nodes manually. </p>

<p>If you named the nodes in your instance group to something that matches <code>mygroup</code>. For example, you could do something like this:</p>

<pre><code>$ kubectl taint nodes `kubectl get nodes -o name | grep mygroup` key=value:NoSchedule
</code></pre>
