Commit 4eb31460 authored by Adam Harrison's avatar Adam Harrison
Browse files

Deployment YAML improvements

parent e2d777ae
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment