This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 549
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[alert-manager] move pai-bearer-token config field under alert-manager (
- Loading branch information
Showing
9 changed files
with
18 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -213,10 +213,10 @@ authentication: | |
# if you want to enable alert-handler actions, uncomment following lines and fill the right values. | ||
# alert-manager: | ||
# port: 9093 # optional, do not modify this if you do not want to change the port alert-manager is listening on | ||
# pai-bearer-token: 'your-application-token-for-pai-rest-server' | ||
# alert-handler: # alert-handler will only be enabled when this field is not empty | ||
# port: 9095 # optional, do not modify this if you do not want to change the port alert-handler is listening on | ||
# log-level: "info" # optional | ||
# pai-bearer-token: 'your-application-token-for-pai-rest-server' | ||
# email-configs: # email-notification will only be enabled when this field is not empty | ||
# admin-receiver: [email protected] | ||
# smtp-host: smtp.office365.com | ||
|
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 |
---|---|---|
|
@@ -73,10 +73,10 @@ rest-server: | |
# if you want to enable alert-handler actions, uncomment following lines and fill the right values. | ||
# alert-manager: | ||
# port: 9093 # optional, do not modify this if you do not want to change the port alert-manager is listening on | ||
# pai-bearer-token: 'your-application-token-for-pai-rest-server' | ||
# alert-handler: # alert-handler will only be enabled when this field is not empty | ||
# port: 9095 # optional, do not modify this if you do not want to change the port alert-handler is listening on | ||
# log-level: "info" # optional | ||
# pai-bearer-token: 'your-application-token-for-pai-rest-server' | ||
# email-configs: # email-notification will only be enabled when this field is not empty | ||
# admin-receiver: [email protected] | ||
# smtp-host: smtp.office365.com | ||
|
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 |
---|---|---|
|
@@ -77,9 +77,9 @@ The alert actions and the matching rules are realized in the `alert-manager` ser | |
```yaml | ||
alert-manager: | ||
port: 9093 # optional, do not change this if you do not want to change the port alert-manager is listening on | ||
pai-bearer-token: 'your-application-token-for-pai-rest-server' | ||
alert-handler: | ||
port: 9095 # optional, do not change this if you do not want to change the port alert-handler is listening on | ||
pai-bearer-token: 'your-application-token-for-pai-rest-server' | ||
email-configs: # email-notification will only be enabled when this field is not empty | ||
admin-receiver: [email protected] | ||
smtp-host: smtp.office365.com | ||
|
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 |
---|---|---|
|
@@ -74,9 +74,9 @@ prometheus: | |
```yaml | ||
alert-manager: | ||
port: 9093 | ||
pai-bearer-token: 'your-application-token-for-pai-rest-server' | ||
alert-handler: | ||
port: 9095 | ||
pai-bearer-token: 'your-application-token-for-pai-rest-server' | ||
email-configs: | ||
admin-receiver: [email protected] | ||
smtp-host: smtp.office365.com | ||
|
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 |
---|---|---|
|
@@ -106,10 +106,10 @@ rest-server: | |
# if you want to enable alert-handler actions, uncomment following lines and fill the right values. | ||
# alert-manager: | ||
# port: 9093 # optional, do not modify this if you do not want to change the port alert-manager is listening on | ||
# pai-bearer-token: 'your-application-token-for-pai-rest-server' | ||
# alert-handler: # alert-handler will only be enabled when this field is not empty | ||
# port: 9095 # optional, do not modify this if you do not want to change the port alert-handler is listening on | ||
# log-level: "info" # optional | ||
# pai-bearer-token: 'your-application-token-for-pai-rest-server' | ||
# email-configs: # email-notification will only be enabled when this field is not empty | ||
# admin-receiver: [email protected] | ||
# smtp-host: smtp.office365.com | ||
|
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 |
---|---|---|
|
@@ -17,9 +17,9 @@ you should configure `alert-manager` in your `service-configuration.yaml` like f | |
``` yaml | ||
alert-manager: | ||
port: 9093 # optional, do not change this if you do not want to change the port alert-manager is listening on | ||
pai-bearer-token: 'your-application-token-for-pai-rest-server' | ||
alert-handler: # alert-handler will only be enabled when this field is not empty | ||
port: 9095 # optional, do not change this if you do not want to change the port alert-handler is listening on | ||
pai-bearer-token: 'your-application-token-for-pai-rest-server' | ||
email-configs: # email-notification will only be enabled when this field is not empty | ||
admin-receiver: [email protected] | ||
smtp-host: smtp.office365.com | ||
|
@@ -54,6 +54,7 @@ After parsing, if you properly configured `email-configs` and `pai-bearer-token` | |
``` yaml | ||
alert-manager: | ||
port: 9093 | ||
pai-bearer-token: 'your-application-token-for-pai-rest-server' | ||
actions-available: | ||
- webportal-notification | ||
- cordon-nodes | ||
|
@@ -65,7 +66,6 @@ alert-manager: | |
log-level: info | ||
port: 9095 | ||
configured: True | ||
pai-bearer-token: 'your-application-token-for-pai-rest-server' | ||
email-configs: # email-notification will only be enabled when this field is not empty | ||
admin-receiver: [email protected] | ||
smtp-host: smtp.office365.com | ||
|
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