So, after fucking around a wee bit more, I can go to bed knowing that I am, in fact, not stupid.

It turns out that the TrueChart - and possibly other forks/deriviations - of the NFS CSI driver set node-selectors "incorrectly". It could also be a k3s quirk, who knows. Either way, look at this, and closely so:

You will notice that there is no value after the equal sign. So... When you set controller.runOnMaster and .runOnControlPlane, this gets generated. HOWEVER, there should be a `=true` instead of an empty value! k3s compares them, from what I can tell, exactly. So, since my node has this as `=true`, the nodeSelector should _also_ be `...=true` - which, it is, in fact, NOT.

This son of a fucking bitch took me a day to "debug". I have a feeling k3s and kubernetes will be one heeeeeeeeeeell of a ride xD

Reply to this note

Please Login to reply.

Discussion

No replies yet.