TIL: Run a script on every k8s Node using a DaemonSet
I’ve known that DaemonSets are used to run containers on all Nodes of a Kubernetes Cluster (or some), but I’ve never thought of using them to run a (shell) script on each node – a not-so-uncommon task when maintaining clusters!
https://kevingimbel.de/blog/2023/09/til-run-a-script-on-every-k8s-node-using-a-daemonset/
#Administration, #Bash, #Cluster, #DaemonSet, #DevOps, #K8s, #Kubernetes, #Scripting, #SRE
#administration #bash #cluster #daemonset #devops #k8s #kubernetes #scripting #sre