Skip to content

Commit

Permalink
feat: Add support for kapture service (close #265)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnouguier committed Oct 7, 2021
1 parent dc690f1 commit 17c63ca
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 10 deletions.
1 change: 1 addition & 0 deletions .env.default
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ LOGSPOUT_TAG=v3.2.11
# Kapture
KAPTURE_IMAGE=kalisio/kapture
KAPTURE_TAG=latest
KAPTURE_KANO_URL=http://kano:8081
KAPTURE_REPLICAS=1
KAPTURE_CONSTRAINTS="node.role==worker"

Expand Down
4 changes: 3 additions & 1 deletion docs/guides/understanding-kargo.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,13 @@ A **stack** of interrelated services that can be orchestrated and scaled togethe

A **service** is an application to be deployed over the Swarm cluster. **Kargo** provides the default settings for deploying the following services/applications:

* [Adminer](https://www.adminer.org/)
* [Express Gateway](https://www.express-gateway.io/)
* [Grafana](https://grafana.com/)
* [Hub'eau](https://github.com/kalisio/k-hubeau)
* [k2](https://github.com/kalisio/k2)
* [kano](https://github.com/kalisio/kano)
* [kapture](https://github.com/kalisio/kapture)
* [MapServer](https://mapserver.org)
* [maputnik](https://maputnik.github.io/)
* [Metar/Taf](https://github.com/kalisio/k-metar-taf)
Expand All @@ -71,7 +73,7 @@ A **service** is an application to be deployed over the Swarm cluster. **Kargo**
* [redis](https://redis.io/)
* [Redis Commander](http://joeferner.github.io/redis-commander/)
* [Teleray](https://github.com/kalisio/k-teleray)
* [TileServer GL](http://tileserver.org/)
* [TileServer-GL](https://github.com/maptiler/tileserver-gl)
* [Thredds](https://www.unidata.ucar.edu/software/thredds/current/tds/)
* [Vigicrues](https://github.com/kalisio/k-vigicrues)
* [Weacast API](https://weacast.github.io/weacast-docs/)
Expand Down
29 changes: 20 additions & 9 deletions docs/reference/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,18 +120,16 @@ For each stack, there must be such an entry:
| `KANO_DEBUG` | Enable the debug mode. | `` |
| `KANO_REPLICAS` | The number of replicas. | `1` |

### Logspout
### Kapture

| Variable | Description | Default value |
| --- | --- | --- |
| `LOGSPOUT_IMAGE` | The image to be used. | `kalisio/logspout` |
| `LOGSPOUT_TAG` | The version to be used. | `v3.2.11` |
| `LOGSPOUT_SLACK_WEBHOOK_URL` | The Slack webhook URL to be used to post messages
| `LOGSPOUT_SLACK_MESSAGE_FILTER` | The regex to be used to filter messages to be sent to Slack

::: tip
More configuration details on our [Logspout Slack adapter](https://github.com/kalisio/logspout-slack).
:::
| `KAPTURE_IMAGE` | The image to be used. | `kalisio/kapture` |
| `KAPTURE_TAG` | The version to be used. | `latest` |
| `KAPTURE_KANO_URL` | The url to access the **Kano** app. | `http://kano:8081` |
| `KAPTURE_KANO_JWT` | The JWT to allow **kapture** to login to **Kano**. | - |
| `KAPTURE_REPLICAS` | The number of replicas to deploy. | `1` |
| `KAPTURE_CONSTRAINTS` | The constraints to apply when deploying the service. | `node.role==worker` |

### Kontrol

Expand All @@ -144,6 +142,19 @@ More configuration details on our [Logspout Slack adapter](https://github.com/ka
More configuration details on our [kontrol repository](https://github.com/kalisio/kontrol).
:::

### Logspout

| Variable | Description | Default value |
| --- | --- | --- |
| `LOGSPOUT_IMAGE` | The image to be used. | `kalisio/logspout` |
| `LOGSPOUT_TAG` | The version to be used. | `v3.2.11` |
| `LOGSPOUT_SLACK_WEBHOOK_URL` | The Slack webhook URL to be used to post messages
| `LOGSPOUT_SLACK_MESSAGE_FILTER` | The regex to be used to filter messages to be sent to Slack

::: tip
More configuration details on our [Logspout Slack adapter](https://github.com/kalisio/logspout-slack).
:::

### MapCache

| Variable | Description | Default value |
Expand Down

0 comments on commit 17c63ca

Please sign in to comment.