-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add configuration field for alerting days (#176)
* make alerting days configurable * Update charts/internal/shoot-cert-management-seed/templates/configmap-observability.yaml Co-authored-by: Johannes Scheerer <johannes.scheerer@sap.com> * Update docs/usage/alerting.md Co-authored-by: Johannes Scheerer <johannes.scheerer@sap.com> * allow to disable alerting --------- Co-authored-by: Johannes Scheerer <johannes.scheerer@sap.com>
- Loading branch information
1 parent
e8223ff
commit e983c58
Showing
10 changed files
with
193 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
title: Changing alerting settings | ||
level: beginner | ||
category: Networking | ||
scope: operator | ||
publishdate: 2023-07-20 | ||
tags: ["task"] | ||
description: How to change the alerting on expiring certificates | ||
--- | ||
|
||
# Changing alerting settings | ||
|
||
Certificates are normally renewed automatically 30 days before they expire. | ||
As a second line of defense, there is an alerting in Prometheus activated if the certificate is a few days | ||
before expiration. By default, the alert is triggered 15 days before expiration. | ||
|
||
You can configure the days in the `providerConfig` of the extension. | ||
Setting it to 0 disables the alerting. | ||
|
||
In this example, the days are changed to 3 days before expiration. | ||
|
||
```yaml | ||
kind: Shoot | ||
... | ||
spec: | ||
extensions: | ||
- type: shoot-cert-service | ||
providerConfig: | ||
apiVersion: service.cert.extensions.gardener.cloud/v1alpha1 | ||
kind: CertConfig | ||
alerting: | ||
certExpirationAlertDays: 3 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters