Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ARM
k8s
Kured
Commits
5e32864e
Unverified
Commit
5e32864e
authored
Oct 08, 2021
by
Christian Kotzbauer
Committed by
GitHub
Oct 08, 2021
Browse files
Merge pull request #415 from MattJeanes/prometheus-alert-firing-option-chart
Add --alert-firing-only parameter to chart
parents
7c33ad8b
718faf4d
Changes
5
Hide whitespace changes
Inline
Side-by-side
charts/kured/Chart.yaml
View file @
5e32864e
...
...
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion
:
"
1.7.0"
description
:
A Helm chart for kured
name
:
kured
version
:
2.
9.1
version
:
2.
10.0
home
:
https://github.com/weaveworks/kured
maintainers
:
-
name
:
ckotzbauer
...
...
charts/kured/README.md
View file @
5e32864e
...
...
@@ -47,6 +47,7 @@ The following changes have been made compared to the stable chart:
|
`configuration.lockTtl`
| cli-parameter
`--lock-ttl`
|
`0`
|
|
`configuration.lockReleaseDelay`
| cli-parameter
`--lock-release-delay`
|
`0`
|
|
`configuration.alertFilterRegexp`
| cli-parameter
`--alert-filter-regexp`
|
`""`
|
|
`configuration.alertFiringOnly`
| cli-parameter
`--alert-firing-only`
|
`false`
|
|
`configuration.blockingPodSelector`
| Array of selectors for multiple cli-parameters
`--blocking-pod-selector`
|
`[]`
|
|
`configuration.endTime`
| cli-parameter
`--end-time`
|
`""`
|
|
`configuration.lockAnnotation`
| cli-parameter
`--lock-annotation`
|
`""`
|
...
...
charts/kured/templates/daemonset.yaml
View file @
5e32864e
...
...
@@ -61,6 +61,9 @@ spec:
{{
- if .Values.configuration.alertFilterRegexp
}}
-
--alert-filter-regexp={{ .Values.configuration.alertFilterRegexp }}
{{
- end
}}
{{
- if .Values.configuration.alertFiringOnly
}}
-
--alert-firing-only={{ .Values.configuration.alertFiringOnly }}
{{
- end
}}
{{
- range .Values.configuration.blockingPodSelector
}}
-
--blocking-pod-selector={{ . }}
{{
- end
}}
...
...
charts/kured/values.minikube.yaml
View file @
5e32864e
...
...
@@ -5,6 +5,7 @@ image:
configuration
:
# annotationTtl: 0 # force clean annotation after this amount of time (default 0, disabled)
# alertFilterRegexp: "" # alert names to ignore when checking for active alerts
# alertFiringOnly: false # only consider firing alerts when checking for active alerts
# blockingPodSelector: [] # label selector identifying pods whose presence should prevent reboots
# endTime: "" # only reboot before this time of day (default "23:59")
# lockAnnotation: "" # annotation in which to record locking node (default "weave.works/kured-node-lock")
...
...
charts/kured/values.yaml
View file @
5e32864e
...
...
@@ -24,6 +24,7 @@ extraEnvVars:
configuration
:
lockTtl
:
0
# force clean annotation after this amount of time (default 0, disabled)
alertFilterRegexp
:
"
"
# alert names to ignore when checking for active alerts
alertFiringOnly
:
false
# only consider firing alerts when checking for active alerts
blockingPodSelector
:
[]
# label selector identifying pods whose presence should prevent reboots
endTime
:
"
"
# only reboot before this time of day (default "23:59")
lockAnnotation
:
"
"
# annotation in which to record locking node (default "weave.works/kured-node-lock")
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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