I came across this issue where I can’t seem to taint a node while on the node itself. I was running:
[ec2-user@ip-... ~]$ kubectl taint node $(hostname) state=goodbye:NoExecute Error from server (Forbidden): nodes "ip-....us-west-2.compute.internal" is forbidden: cannot modify taints
Is this intended behavior or am I missing something perhaps RBAC related? I was able to taint the node when on my local machine via kubectl though.
Any help would be appreciated! Thanks!