22 lines
471 B
YAML
22 lines
471 B
YAML
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
|
|
image: docker.io/weaveworks/kured:latest
|
|
imagePullPolicy: Always
|
|
command:
|
|
- /usr/bin/kured
|
|
- --reboot-command="/usr/bin/systemctl reboot" |