Skip to content

Commit

Permalink
Merge pull request #83 from junotx/am
Browse files Browse the repository at this point in the history
[alertmanager] update probes config
  • Loading branch information
benjaminhuo authored Aug 28, 2024
2 parents f3cd77e + ac58459 commit 317e969
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/alertmanager/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/a
sources:
- https://github.com/prometheus/alertmanager
type: application
version: 1.11.2
version: 1.11.3
appVersion: v0.27.0
kubeVersion: ">=1.19.0-0"
keywords:
Expand Down
18 changes: 18 additions & 0 deletions charts/alertmanager/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,9 @@
},
"livenessProbe": {
"properties": {
"failureThreshold": {
"type": "integer"
},
"httpGet": {
"properties": {
"path": {
Expand All @@ -335,6 +338,9 @@
}
},
"type": "object"
},
"timeoutSeconds": {
"type": "integer"
}
},
"type": "object"
Expand Down Expand Up @@ -502,6 +508,9 @@
},
"readinessProbe": {
"properties": {
"failureThreshold": {
"type": "integer"
},
"httpGet": {
"properties": {
"path": {
Expand All @@ -512,6 +521,15 @@
}
},
"type": "object"
},
"initialDelaySeconds": {
"type": "integer"
},
"periodSeconds": {
"type": "integer"
},
"timeoutSeconds": {
"type": "integer"
}
},
"type": "object"
Expand Down
10 changes: 8 additions & 2 deletions charts/alertmanager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,19 @@ extraContainers: []

livenessProbe:
httpGet:
path: /
path: /-/healthy
port: http
timeoutSeconds: 3
failureThreshold: 10

readinessProbe:
httpGet:
path: /
path: /-/ready
port: http
initialDelaySeconds: 3
timeoutSeconds: 3
periodSeconds: 5
failureThreshold: 10

service:
annotations: {}
Expand Down

0 comments on commit 317e969

Please sign in to comment.