Skip to content

Commit

Permalink
fix: Healthcheck of Krawler jobs fails behind a proxy (close #143)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Nouguier committed Feb 29, 2020
1 parent d32dfd0 commit 451cd1f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
18 changes: 18 additions & 0 deletions docs/guides/advanced-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,24 @@ sidebarDepth: 3

# Advanced usage

## Configuring proxy settings

When you choose an on-premises deployment, it may be necessary to configure **Kargo** to use the corporate proxy server.
To use a proxy, you can set the environment variables `HTTP_PROXY`, `HTTPS_PROXY`, `FTP_PROXY` and `NO_PROXY`.

Depending on the traffic type, set the required variables in your `.env` file:

```env
HTTP_PROXY="http://USER:PASSWORD@PROXY_SERVER:PORT"
HTTPS_PROXY="https://USER:PASSWORD@PROXY_SERVER:PORT"
FTP_PROXY="http://USER:PASSWORD@PROXY_SERVER:PORT"
NO_PROXY="localhost"
```

::: warning
The `NO_PROXY` must at least contain the value `localhost` to let the Krawler jobs healthcheck work correctly.
:::

## Using the API Gateway

As a reminder, an API gateway allows you to map endpoints to a set of services or applications using url rules. Moreover it is possible to protect those endpoints using various authorization strategies ([Key authentication](https://en.wikipedia.org/wiki/Key_authentication), [JSON Web Tokens](https://jwt.io/), [OAuth](https://oauth.net/2/)...) and defining quotas and rate limiting. To enable such a features **Kargo** relies on [express gateway](https://www.express-gateway.io/).
Expand Down
1 change: 0 additions & 1 deletion docs/tips/packaging-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,3 @@ for SERVICE in $DELIVERY; do
done
rclone copy archives s3:bucket/path --include *.gz
```

0 comments on commit 451cd1f

Please sign in to comment.