We'll manage Fluent-Bit on Kubernetes nodes as a DaemonSet. This will be necessary in order to grant it access to the Kubernetes API so it can augment log records with Kubernetes metadata (labels, pod name, etc.).
8 lines
146 B
Bash
8 lines
146 B
Bash
#!/bin/sh
|
|
|
|
find /etc/dnf/automatic/pre-reboot.d \
|
|
-type f \
|
|
-perm -u+x \
|
|
-exec {} \;
|
|
shutdown -r +5 'Rebooting after applying package updates'
|