-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/Robusta-Resources-Management
- Loading branch information
Showing
44 changed files
with
2,354 additions
and
1,473 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 |
---|---|---|
|
@@ -19,3 +19,4 @@ generated_values*.yaml | |
.isort.cfg | ||
skaffold.dev.yaml | ||
tests/last_used_tag.txt | ||
pytest.ini |
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 @@ | ||
################# | ||
|
||
Robusta can report issues and events in your Kubernetes cluster by sending | ||
emails. | ||
|
||
Connecting the mail sink | ||
------------------------------------------------ | ||
|
||
To set up the mail sink, you need access to an SMTP server. You should also | ||
set the sender and receiver(s) addresses. | ||
|
||
As Robusta uses the `Apprise library <https://github.com/caronc/apprise>`_ under the hood for running mail | ||
notifications, you can configure the "mailto" field described below using | ||
the convenient and sophisticated syntax provided by Apprise. For more details | ||
`see here <https://github.com/caronc/apprise/wiki/Notify_email>`_. | ||
|
||
Configuring the mail sink | ||
------------------------------------------------ | ||
|
||
.. admonition:: Add this to your generated_values.yaml | ||
|
||
.. code-block:: yaml | ||
sinksConfig: | ||
- mail_sink: | ||
name: mail_sink | ||
mailto: "mailtos://user:password@server&from=a@x&to=b@y,c@z" | ||
(Note the quotes around the value in mailto. It's highly recommended to add | ||
them as this ensures that characters like `:` are handled correctly) | ||
|
||
Then do a :ref:`Helm Upgrade <Simple Upgrade>`. |
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,68 @@ | ||
Rocket.Chat | ||
################# | ||
|
||
Robusta can report issues and events in your Kubernetes cluster to Rocket.Chat. | ||
|
||
.. image:: /images/rocketchat1.png | ||
:width: 600 | ||
|
||
|
||
Prerequisites | ||
------------------------------------------------ | ||
|
||
Before you begin setting up the Rocket.Chat sink, ensure you have the following information ready: | ||
|
||
* Server URL | ||
* Personal Access Token | ||
* User ID | ||
* Channel name | ||
|
||
**Rocket.Chat Server Setup** | ||
|
||
First, you need to set up a Rocket.Chat server. If you haven't done this yet, you can find detailed information on deploying on-prem servers at the following URL: `Rocket.Chat Installation Guide <https://www.rocket.chat/install>`_. | ||
|
||
Or if you prefer using RocketChat's cloud SaaS platform, you can follow the instructions at this URL: `Rocket.Chat Cloud Setup <https://cloud.rocket.chat>`_. | ||
|
||
**Generating Personal Access Token and User ID** | ||
|
||
Follow these steps to generate the required `Personal Access Token` and `User ID`: | ||
|
||
1. Log in to your Rocket.Chat server using your valid username and password. | ||
|
||
2. Click on your avatar and select `My Account` from the menu. | ||
|
||
3. Navigate to `Profile` > `Personal Access Tokens`. | ||
|
||
4. Check the `Ignore Two Factor Authentication` option if enabled. | ||
|
||
5. Fill in the `Add new Personal Access Token` text field and click the `Add` button. | ||
|
||
6. Copy the provided `Personal Access Token` and `User ID` for later use. | ||
|
||
|
||
.. image:: /images/rocketchat2.png | ||
:width: 1000 | ||
|
||
Configuring the Rocket.Chat sink | ||
------------------------------------------------ | ||
|
||
.. admonition:: Add this to your generated_values.yaml | ||
|
||
.. code-block:: yaml | ||
sinks_config: | ||
# Rocket.Chat integration params | ||
- rocketchat_sink: | ||
name: main_rocketchat_sink | ||
user_id: <User ID> | ||
channel: <Rocket.Chat channel> | ||
token: <Personal Access Token> | ||
server_url: <Server URL> | ||
Save the file and run | ||
|
||
.. code-block:: bash | ||
:name: cb-add-rocketchat-sink | ||
helm upgrade robusta robusta/robusta --values=generated_values.yaml | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
Oops, something went wrong.