2022-02-11 23:49:54 +01:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: DaemonSet
|
|
|
|
metadata:
|
|
|
|
name: kured
|
|
|
|
namespace: kube-system
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
name: kured
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
name: kured
|
|
|
|
spec:
|
|
|
|
serviceAccountName: kured
|
|
|
|
containers:
|
|
|
|
- name: kured
|
|
|
|
command:
|
|
|
|
- /usr/bin/kured
|
|
|
|
- --reboot-command=/usr/bin/systemctl reboot
|
2022-02-28 17:57:28 +01:00
|
|
|
- --reboot-sentinel=/var/run/reboot-needed
|