changeset 142:61f49b60a882

i now think tainting was wrong since it blocked most jobs from using the node. switched to affinity.
author drewp@bigasterisk.com
date Tue, 14 Feb 2023 15:05:29 -0800
parents 64fe74f0005f
children 6b4226845254
files kube.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/kube.py	Tue Feb 14 15:04:34 2023 -0800
+++ b/kube.py	Tue Feb 14 15:05:29 2023 -0800
@@ -105,9 +105,6 @@
     # also note that podman dropped the default `docker.io/` prefix on image names (see https://unix.stackexchange.com/a/701785/419418)
     config_and_run_service()
 
-if host.name == 'dash':
-    server.shell("kubectl taint nodes --overwrite dash hardware=dash_zigbee:NoSchedule")
-
 if host.name in admin_from:
     files.directory(path='/etc/rancher/k3s')
     install_skaffold()