mirror of
https://github.com/kubereboot/kured.git
synced 2026-08-23 21:36:33 +00:00
Deployment YAML improvements
This commit is contained in:
+7
-6
@@ -1,8 +1,8 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: kured
|
||||
namespace: kube-system
|
||||
name: kured # Must match `--ds-name`
|
||||
namespace: kube-system # Must match `--ds-namespace`
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
@@ -11,12 +11,12 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: kured
|
||||
image: weaveworks/kured
|
||||
image: quay.io/weaveworks/kured
|
||||
imagePullPolicy: IfNotPresent
|
||||
command:
|
||||
- /usr/bin/kured
|
||||
# args:
|
||||
# - --alert-filter-regexp=^(BenignAlert|AnotherBenignAlert)$
|
||||
# - --alert-filter-regexp=^RebootRequired$
|
||||
# - --ds-name=kube-system
|
||||
# - --ds-namespace=kured
|
||||
# - --lock-annotation=weave.works/kured-node-lock
|
||||
@@ -24,6 +24,9 @@ spec:
|
||||
# - --prometheus-url=http://prometheus.monitoring.svc.cluster.local
|
||||
# - --reboot-sentinel=/var/run/reboot-required
|
||||
# - --slack-hook-url=https://hooks.slack.com/...
|
||||
# - --slack-username=prod
|
||||
#
|
||||
# NO USER SERVICEABLE PARTS BEYOND THIS POINT
|
||||
env:
|
||||
# Pass in the name of the node on which this pod is scheduled
|
||||
# for use with drain/uncordon operations and lock acquisition
|
||||
@@ -31,8 +34,6 @@ spec:
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
securityContext:
|
||||
privileged: true
|
||||
volumeMounts:
|
||||
# Needed for two purposes:
|
||||
# * Testing for the existence of /var/run/reboot-required
|
||||
|
||||
Reference in New Issue
Block a user