Skip to content

Commit 4bad7ac

Browse files
authored
Add docs for alertmanager email + generic webhook config (#121)
Signed-off-by: sami <sami@appscode.com>
1 parent caf53e3 commit 4bad7ac

8 files changed

Lines changed: 216 additions & 58 deletions

File tree

31.8 KB
Loading

docs/platform/selfhost-setup/install/aws-marketplace.md

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -277,19 +277,42 @@ If using private or authenticated registries, provide:
277277
* **Certs:** Upload CA Cert, Client Cert, and Client Key if required for mutual TLS.
278278
* **Image Pull Secrets:** Define the secrets used by the cluster to authenticate with the registries. You can enable create namespace during helm install, allow nondistributable artifacts and insecure option for insecure registry
279279

280+
### 5. Monitoring
281+
282+
Use the **Monitoring** section to configure Alertmanager notifications for platform alerts for the site admin.
283+
284+
* **Alert Manager Email:** Enable email notifications for Alertmanager alerts.
285+
* **Enable Email:** Turns email notifications on or off.
286+
* **To:** The recipient email address. For Gmail, you can also use plus addressing such as `user+alerts@example.com`.
287+
* **From:** The sender email address shown in the message. For Gmail, use the same address as **Auth Username** unless you have configured a verified alias.
288+
* **Smarthost:** The SMTP server address. For Gmail, use `smtp.gmail.com:587`.
289+
* **Auth Username:** The SMTP login username. For Gmail, this should be the real Gmail or Google Workspace mailbox used to authenticate.
290+
* **Password:** The SMTP password. For Gmail, use an App Password generated from `https://myaccount.google.com/apppasswords`.
291+
* **Require TLS:** Enables TLS for the SMTP connection. Leave this enabled for Gmail.
292+
* **Send Resolved:** Sends a follow-up notification when an alert returns to a healthy state.
293+
* **Alert Manager Webhook:** Send alerts to an endpoint that accepts Alertmanager's generic webhook payload.
294+
* **Enable Webhook:** Turns webhook delivery on or off.
295+
* **URL:** The destination webhook URL. Some systems embed the secret directly in the URL.
296+
* **Send Resolved:** Sends a follow-up notification when an alert returns to a healthy state.
280297

281-
### 5. Settings
298+
<br/>
299+
<img width="50%" src="../images/monitoring-alertmanager.png">
300+
301+
> **Tip:** For Google Chat, a supported workaround is to generate a space email address in Google Chat settings and use that address in the **To** field.
302+
303+
304+
### 6. Settings
282305

283306
#### Domain White List
284307

285308
* You must specify the end users domains, the system will only allow users with those specified domains. You can Add multiple domain whitelists at the same time.
286309
* Put Login and Logout URL
287310

288-
### 6. Self Management
311+
### 7. Self Management
289312
In this section you can enable or disable features. You can also create an initial `CAPI Cluster` from this section.
290313

291314

292-
### 7. Branding & UI Customization
315+
### 8. Branding & UI Customization
293316
Administrators can globally re-brand the Ace interface to match corporate identity.
294317

295318
* **App Name:** Changes the browser tab title.
@@ -299,13 +322,13 @@ Administrators can globally re-brand the Ace interface to match corporate identi
299322
* **Favicon:** Upload a 20KB icon file.
300323
* **App Tag:** Toggle **"Show App Tag"** to display or hide the version/tagging info in the UI.
301324

302-
### 8. Generate Installer and Documentation
325+
### 9. Generate Installer and Documentation
303326

304327
Click the "Next" button to submit your information. AppsCode will generate the installer and provide the necessary documentation and further installation guideline in details.
305328

306329
You will find an `Installer URL` for this installer. You have to give this URL in the AWS Marketplace application.
307330

308-
### 9. Deploy KubeDB Platform
331+
### 10. Deploy KubeDB Platform
309332

310333
The expiry time for this installer is 2 hours. You will find in detail deployment guideline after creating the installer.
311334

@@ -518,4 +541,4 @@ and subscribe to **AppsCode Cloud w/Usage Billing** product.
518541

519542
### 10. Explore the Deployed Platform
520543

521-
Once deployed, access the **KubeDB Platform** using the specified domain. Log in with the admin account credentials provided during the creation process.
544+
Once deployed, access the **KubeDB Platform** using the specified domain. Log in with the admin account credentials provided during the creation process.

docs/platform/selfhost-setup/install/azure-marketplace.md

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,30 @@ If using private or authenticated registries, provide:
9595
* **Certs:** Upload CA Cert, Client Cert, and Client Key if required for mutual TLS.
9696
* **Image Pull Secrets:** Define the secrets used by the cluster to authenticate with the registries. You can enable create namespace during helm install, allow nondistributable artifacts and insecure option for insecure registry
9797

98-
### 6. Settings
98+
### 6. Monitoring
99+
100+
Use the **Monitoring** section to configure Alertmanager notifications for platform alerts for the site admin.
101+
102+
* **Alert Manager Email:** Enable email notifications for Alertmanager alerts.
103+
* **Enable Email:** Turns email notifications on or off.
104+
* **To:** The recipient email address. For Gmail, you can also use plus addressing such as `user+alerts@example.com`.
105+
* **From:** The sender email address shown in the message. For Gmail, use the same address as **Auth Username** unless you have configured a verified alias.
106+
* **Smarthost:** The SMTP server address. For Gmail, use `smtp.gmail.com:587`.
107+
* **Auth Username:** The SMTP login username. For Gmail, this should be the real Gmail or Google Workspace mailbox used to authenticate.
108+
* **Password:** The SMTP password. For Gmail, use an App Password generated from `https://myaccount.google.com/apppasswords`.
109+
* **Require TLS:** Enables TLS for the SMTP connection. Leave this enabled for Gmail.
110+
* **Send Resolved:** Sends a follow-up notification when an alert returns to a healthy state.
111+
* **Alert Manager Webhook:** Send alerts to an endpoint that accepts Alertmanager's generic webhook payload.
112+
* **Enable Webhook:** Turns webhook delivery on or off.
113+
* **URL:** The destination webhook URL. Some systems embed the secret directly in the URL.
114+
* **Send Resolved:** Sends a follow-up notification when an alert returns to a healthy state.
115+
116+
<br/>
117+
<img width="50%" src="../images/monitoring-alertmanager.png">
118+
119+
> **Tip:** For Google Chat, a supported workaround is to generate a space email address in Google Chat settings and use that address in the **To** field.
120+
121+
### 7. Settings
99122

100123
#### Domain White List
101124
* Add domain one by one for whitelisting
@@ -104,11 +127,11 @@ If using private or authenticated registries, provide:
104127
<br/>
105128
<img width="50%" src="../images/domain-whitelisting.png">
106129

107-
### 7. Self Management
130+
### 8. Self Management
108131

109132
In this section you can enable or disable features. You can also create an initial `CAPI Cluster` from this section.
110133

111-
### 8. Branding & UI Customization
134+
### 9. Branding & UI Customization
112135

113136
Administrators can globally re-brand the Ace interface to match corporate identity.
114137

@@ -122,11 +145,11 @@ Administrators can globally re-brand the Ace interface to match corporate identi
122145
<br/>
123146
<img width="50%" src="../images/branding.png">
124147

125-
### 9. Generate Installer and Documentation
148+
### 10. Generate Installer and Documentation
126149

127150
Click the "Deploy" button to submit your information. AppsCode will generate the installer and provide the necessary documentation.
128151

129-
### 10. Deploy KubeDB Platform
152+
### 11. Deploy KubeDB Platform
130153

131154
#### Step 1: Create Azure application
132155
Go to Azure Marketplace and select AppsCode Cloud w/ Usage Billing application. [AppsCode Cloud w/ Usage Billing from Marketplace](https://portal.azure.com/#create/appscode.ace_paygace-payg)
@@ -165,6 +188,6 @@ You can monitor the deployment progress through the **Managed Resource Group's**
165188
<img src="../images/managed-resources.png" style="width: 48%;">
166189
</div>
167190

168-
### 11. Explore the Deployed Platform
191+
### 12. Explore the Deployed Platform
169192

170-
Once deployed, access the **KubeDB Platform** using the specified domain. Log in with the admin account credentials provided during the creation process.
193+
Once deployed, access the **KubeDB Platform** using the specified domain. Log in with the admin account credentials provided during the creation process.

docs/platform/selfhost-setup/install/cloud-demo.md

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,31 @@ If using private or authenticated registries, provide:
8686
* **Certs:** Upload CA Cert, Client Cert, and Client Key if required for mutual TLS.
8787
* **Image Pull Secrets:** Define the secrets used by the cluster to authenticate with the registries. You can enable create namespace during helm install, allow nondistributable artifacts and insecure option for insecure registry
8888

89+
### 5. Monitoring
90+
91+
Use the **Monitoring** section to configure Alertmanager notifications for platform alerts for the site admin.
92+
93+
* **Alert Manager Email:** Enable email notifications for Alertmanager alerts.
94+
* **Enable Email:** Turns email notifications on or off.
95+
* **To:** The recipient email address. For Gmail, you can also use plus addressing such as `user+alerts@example.com`.
96+
* **From:** The sender email address shown in the message. For Gmail, use the same address as **Auth Username** unless you have configured a verified alias.
97+
* **Smarthost:** The SMTP server address. For Gmail, use `smtp.gmail.com:587`.
98+
* **Auth Username:** The SMTP login username. For Gmail, this should be the real Gmail or Google Workspace mailbox used to authenticate.
99+
* **Password:** The SMTP password. For Gmail, use an App Password generated from `https://myaccount.google.com/apppasswords`.
100+
* **Require TLS:** Enables TLS for the SMTP connection. Leave this enabled for Gmail.
101+
* **Send Resolved:** Sends a follow-up notification when an alert returns to a healthy state.
102+
* **Alert Manager Webhook:** Send alerts to an endpoint that accepts Alertmanager's generic webhook payload.
103+
* **Enable Webhook:** Turns webhook delivery on or off.
104+
* **URL:** The destination webhook URL. Some systems embed the secret directly in the URL.
105+
* **Send Resolved:** Sends a follow-up notification when an alert returns to a healthy state.
106+
107+
<br/>
108+
<img width="50%" src="../images/monitoring-alertmanager.png">
109+
110+
> **Tip:** For Google Chat, a supported workaround is to generate a space email address in Google Chat settings and use that address in the **To** field.
89111
90-
### 5. Settings
112+
113+
### 6. Settings
91114

92115
#### Domain White List and Proxy Servers
93116

@@ -98,7 +121,7 @@ If using private or authenticated registries, provide:
98121
<br/>
99122
<img width="50%" src="../images/domain-whitelisting.png">
100123

101-
### 6. Ingress & Gateway
124+
### 7. Ingress & Gateway
102125

103126
Configure how the application is exposed to the internet or your internal network.
104127

@@ -107,14 +130,13 @@ Configure how the application is exposed to the internet or your internal networ
107130
<br/>
108131
<img width="50%" src="../images/ingress-gateway.png">
109132

110-
111-
### 7. Self Management
133+
### 8. Self Management
112134
In this section you can enable or disable features
113135

114136
<br/>
115137
<img width="50%" src="../images/features.png">
116138

117-
### 8. Branding & UI Customization
139+
### 9. Branding & UI Customization
118140
Administrators can globally re-brand the Ace interface to match corporate identity.
119141

120142
* **App Name:** Changes the browser tab title.
@@ -127,15 +149,15 @@ Administrators can globally re-brand the Ace interface to match corporate identi
127149
<br/>
128150
<img width="50%" src="../images/branding.png">
129151

130-
### 9. Generate Installer and Documentation
152+
### 10. Generate Installer and Documentation
131153

132154
Click the "Deploy" button to submit your information. AppsCode will generate the installer and provide the necessary documentation.
133155

134-
### 10. Deploy KubeDB Platform
156+
### 11. Deploy KubeDB Platform
135157

136158
Follow the documentation provided by AppsCode to deploy the KubeDB Platform on your system.
137159

138-
### 11. Explore the Deployed Platform
160+
### 12. Explore the Deployed Platform
139161

140162
Once deployed, access the KubeDB Platform using the specified domain. Log in with the admin account credentials provided during the creation process.
141163

docs/platform/selfhost-setup/install/k8s-app-demo.md

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,31 @@ If using private or authenticated registries, provide:
6363
* **Certs:** Upload CA Cert, Client Cert, and Client Key if required for mutual TLS.
6464
* **Image Pull Secrets:** Define the secrets used by the cluster to authenticate with the registries. You can enable create namespace during helm install, allow nondistributable artifacts and insecure option for insecure registry
6565

66+
### 5. Monitoring
67+
68+
Use the **Monitoring** section to configure Alertmanager notifications for platform alerts for the site admin.
69+
70+
* **Alert Manager Email:** Enable email notifications for Alertmanager alerts.
71+
* **Enable Email:** Turns email notifications on or off.
72+
* **To:** The recipient email address. For Gmail, you can also use plus addressing such as `user+alerts@example.com`.
73+
* **From:** The sender email address shown in the message. For Gmail, use the same address as **Auth Username** unless you have configured a verified alias.
74+
* **Smarthost:** The SMTP server address. For Gmail, use `smtp.gmail.com:587`.
75+
* **Auth Username:** The SMTP login username. For Gmail, this should be the real Gmail or Google Workspace mailbox used to authenticate.
76+
* **Password:** The SMTP password. For Gmail, use an App Password generated from `https://myaccount.google.com/apppasswords`.
77+
* **Require TLS:** Enables TLS for the SMTP connection. Leave this enabled for Gmail.
78+
* **Send Resolved:** Sends a follow-up notification when an alert returns to a healthy state.
79+
* **Alert Manager Webhook:** Send alerts to an endpoint that accepts Alertmanager's generic webhook payload.
80+
* **Enable Webhook:** Turns webhook delivery on or off.
81+
* **URL:** The destination webhook URL. Some systems embed the secret directly in the URL.
82+
* **Send Resolved:** Sends a follow-up notification when an alert returns to a healthy state.
6683

67-
### 5. Settings
84+
<br/>
85+
<img width="50%" src="../images/monitoring-alertmanager.png">
86+
87+
> **Tip:** For Google Chat, a supported workaround is to generate a space email address in Google Chat settings and use that address in the **To** field.
88+
89+
90+
### 6. Settings
6891

6992
#### Domain White List and Proxy Servers
7093

@@ -75,13 +98,13 @@ If using private or authenticated registries, provide:
7598
<br/>
7699
<img width="50%" src="../images/domain-whitelisting.png">
77100

78-
### 6. Self Management
101+
### 7. Self Management
79102
In this section you can enable or disable features
80103

81104
<br/>
82105
<img width="50%" src="../images/features.png">
83106

84-
### 7. Branding & UI Customization
107+
### 8. Branding & UI Customization
85108
Administrators can globally re-brand the Ace interface to match corporate identity.
86109

87110
* **App Name:** Changes the browser tab title.
@@ -94,15 +117,15 @@ Administrators can globally re-brand the Ace interface to match corporate identi
94117
<br/>
95118
<img width="50%" src="../images/branding.png">
96119

97-
### 8. Generate Installer and Documentation
120+
### 9. Generate Installer and Documentation
98121

99122
Click the "Deploy" button to submit your information. AppsCode will generate the installer and provide the necessary documentation.
100123

101-
### 9. Deploy KubeDB Platform
124+
### 10. Deploy KubeDB Platform
102125

103126
Follow the documentation provided by AppsCode to deploy the KubeDB Platform on your system.
104127

105-
### 10. Explore the Deployed Platform
128+
### 11. Explore the Deployed Platform
106129

107130
Once deployed, access the KubeDB Platform using the specified domain. Log in with the admin account credentials provided during the creation process.
108131

@@ -113,4 +136,4 @@ Once deployed, access the KubeDB Platform using the specified domain. Log in wit
113136

114137
If you encounter any challenges during the deployment or have questions, reach out to AppsCode support for assistance.
115138

116-
Congratulations! You have successfully deployed the KubeDB Platform in K8s App Demo mode. Explore the features and capabilities of the platform in your customized environment.
139+
Congratulations! You have successfully deployed the KubeDB Platform in K8s App Demo mode. Explore the features and capabilities of the platform in your customized environment.

docs/platform/selfhost-setup/install/onprem-demo.md

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,31 @@ If using private or authenticated registries, provide:
6262
* **Certs:** Upload CA Cert, Client Cert, and Client Key if required for mutual TLS.
6363
* **Image Pull Secrets:** Define the secrets used by the cluster to authenticate with the registries. You can enable create namespace during helm install, allow nondistributable artifacts and insecure option for insecure registry
6464

65+
### 5. Monitoring
66+
67+
Use the **Monitoring** section to configure Alertmanager notifications for platform alerts for the site admin.
68+
69+
* **Alert Manager Email:** Enable email notifications for Alertmanager alerts.
70+
* **Enable Email:** Turns email notifications on or off.
71+
* **To:** The recipient email address. For Gmail, you can also use plus addressing such as `user+alerts@example.com`.
72+
* **From:** The sender email address shown in the message. For Gmail, use the same address as **Auth Username** unless you have configured a verified alias.
73+
* **Smarthost:** The SMTP server address. For Gmail, use `smtp.gmail.com:587`.
74+
* **Auth Username:** The SMTP login username. For Gmail, this should be the real Gmail or Google Workspace mailbox used to authenticate.
75+
* **Password:** The SMTP password. For Gmail, use an App Password generated from `https://myaccount.google.com/apppasswords`.
76+
* **Require TLS:** Enables TLS for the SMTP connection. Leave this enabled for Gmail.
77+
* **Send Resolved:** Sends a follow-up notification when an alert returns to a healthy state.
78+
* **Alert Manager Webhook:** Send alerts to an endpoint that accepts Alertmanager's generic webhook payload.
79+
* **Enable Webhook:** Turns webhook delivery on or off.
80+
* **URL:** The destination webhook URL. Some systems embed the secret directly in the URL.
81+
* **Send Resolved:** Sends a follow-up notification when an alert returns to a healthy state.
6582

66-
### 5. Settings
83+
<br/>
84+
<img width="50%" src="../images/monitoring-alertmanager.png">
85+
86+
> **Tip:** For Google Chat, a supported workaround is to generate a space email address in Google Chat settings and use that address in the **To** field.
87+
88+
89+
### 6. Settings
6790

6891
#### Domain White List and Proxy Servers
6992

@@ -74,7 +97,7 @@ If using private or authenticated registries, provide:
7497
<br/>
7598
<img width="50%" src="../images/domain-whitelisting.png">
7699

77-
### 6. TLS
100+
### 7. TLS
78101
Configure TLS certificates for secure communication. You can choose the Issuer type from the following list.
79102
* **External**: Use this if you already have certificates from an external provider.
80103
* CA CERT: Paste the Certificate Authority certificate.
@@ -85,7 +108,7 @@ Configure TLS certificates for secure communication. You can choose the Issuer t
85108
* CA CERT: Paste the internal CA certificate.
86109
* CA Key: Paste the internal CA key.
87110

88-
### 7. Ingress & Gateway
111+
### 8. Ingress & Gateway
89112

90113
Configure how the application is exposed to the internet or your internal network.
91114

@@ -94,7 +117,7 @@ Configure how the application is exposed to the internet or your internal networ
94117
<br/>
95118
<img width="50%" src="../images/ingress-gateway.png">
96119

97-
### 8. NATS
120+
### 9. NATS
98121

99122
Configure NATS, which is used as the internal messaging system for the platform.
100123

@@ -111,13 +134,13 @@ Configure NATS, which is used as the internal messaging system for the platform.
111134
<br/>
112135
<img width="50%" src="../images/nats.png">
113136

114-
### 9. Self Management
137+
### 10. Self Management
115138
In this section you can enable or disable features
116139

117140
<br/>
118141
<img width="50%" src="../images/features.png">
119142

120-
### 10. Branding & UI Customization
143+
### 11. Branding & UI Customization
121144
Administrators can globally re-brand the Ace interface to match corporate identity.
122145

123146
* **App Name:** Changes the browser tab title.
@@ -130,15 +153,15 @@ Administrators can globally re-brand the Ace interface to match corporate identi
130153
<br/>
131154
<img width="50%" src="../images/branding.png">
132155

133-
### 11. Generate Installer and Documentation
156+
### 12. Generate Installer and Documentation
134157

135158
Click the "Deploy" button to submit your information. AppsCode will generate the installer and provide the necessary documentation.
136159

137-
### 12. Deploy KubeDB Platform
160+
### 13. Deploy KubeDB Platform
138161

139162
Follow the documentation provided by AppsCode to deploy the KubeDB Platform on your system.
140163

141-
### 13. Explore the Deployed Platform
164+
### 14. Explore the Deployed Platform
142165

143166
Once deployed, access the KubeDB Platform using the specified domain. Log in with the admin account credentials provided during the creation process.
144167

0 commit comments

Comments
 (0)