Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ARM
k8s
Kured
Commits
4eb31460
Commit
4eb31460
authored
Oct 24, 2017
by
Adam Harrison
Browse files
Deployment YAML improvements
parent
e2d777ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
kured-ds.yaml
View file @
4eb31460
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment