From 9e7b9420f446afff4c6d5f5c3e958349ae59fabf Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Tue, 29 Jul 2025 21:44:29 -0500 Subject: [PATCH] k8s-iot-net-ctrl: Add node role taints Previously, _node-474c83.k8s.pyrocufflink.black_ was tainted `du5t1n.me/machine=raspberrypi`, which prevented arbitrary pods from being scheduled on it. Now that there are two more Raspberry Pi nodes in the cluster, and arbitrary pods _should_ be scheduled on them, this taint no longer makes sense. Instead, having specific taints for the node's roles is more clear. --- group_vars/k8s-iot-net-ctrl.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/group_vars/k8s-iot-net-ctrl.yml b/group_vars/k8s-iot-net-ctrl.yml index 8e0f426..188218e 100644 --- a/group_vars/k8s-iot-net-ctrl.yml +++ b/group_vars/k8s-iot-net-ctrl.yml @@ -1,3 +1,9 @@ k8s_node_labels: node-role.kubernetes.io/zigbee-ctrl: '' node-role.kubernetes.io/zwave-ctrl: '' + +k8s_node_taints: +- key: node-role.kubernetes.io/zigbee-ctrl + effect: NoSchedule +- key: node-role.kubernetes.io/zwave-ctrl + effect: NoSchedule