Run a node agent everywhere
- 12 min
- 6 steps
- Pods and workloads
Steps
0 of 6 done
Find the node a DaemonSet skips, tolerate its taint, then roll a new image out by hand with OnDelete and automatically with RollingUpdate.
Step 1 of 6
The
log-agentDaemonSet in theobservabilitynamespace should run on every node. List its pods together with the node each one landed on, and find the node that has none.Checked against what your commands print.
Step 2, not started: Find what keeps
log-agentoffkx-control-plane. The DaemonSet has no node selector, so look at the node itself.Step 3, not started: Make
log-agentrun on the control-plane node as well, without removing the node's taint. All four pods should end up Ready on the updated template.Step 4, not started: Switch
log-agentto theOnDeleteupdate strategy, then change itsagentcontainer image tobusybox:1.38. Check the pods: nothing should restart yet.Step 5, not started: Update one node by hand: delete the
log-agentpod onkx-workerand let the DaemonSet replace it from the changed template.Step 6, not started: Return
log-agentto theRollingUpdatestrategy, allowing two nodes to be without a ready agent at a time, and let it update the remaining nodes.
Enter runs the command. Tab completes, and the arrow keys recall earlier commands. Control C stops a watch. On an empty line, or after Escape, Tab moves focus out of the terminal.