Skip to content

Commit

Permalink
Fixed helm-chart and docker-example in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelGerding authored Jul 31, 2023
1 parent 005d38d commit add236f
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,35 +19,35 @@ The extension supports all environment variables provided by [steadybit/extensio

## Installation

We recommend that you deploy the extension with our [official Helm chart](https://github.com/steadybit/extension-prometheus/tree/main/charts/steadybit-extension-prometheus).
We recommend deploying the extension with our [official Helm chart](https://github.com/steadybit/extension-prometheus/tree/main/charts/steadybit-extension-prometheus).

### Helm

```sh
helm repo add steadybit https://steadybit.github.io/extension-prometheus
helm repo add steadybit-extension-prometheus https://steadybit.github.io/extension-prometheus
helm repo update

helm upgrade steadybit-extension-prometheus \\
--install \\
--wait \\
--timeout 5m0s \\
--create-namespace \\
--namespace steadybit-extension \\
--set prometheus.name="dev" \\
--set prometheus.origin="http://prometheus-server.default.svc.cluster.local" \\
steadybit/steadybit-extension-prometheus
helm upgrade steadybit-extension-prometheus \
--install \
--wait \
--timeout 5m0s \
--create-namespace \
--namespace steadybit-extension \
--set prometheus.name="dev" \
--set prometheus.origin="http://prometheus-server.default.svc.cluster.local" \
steadybit-extension-prometheus/steadybit-extension-prometheus
```

### Docker

You may alternatively start the Docker container manually.

```sh
docker run \\
--env STEADYBIT_LOG_LEVEL=info \\
--expose 8087 \\
--env STEADYBIT_EXTENSION_PROMETHEUS_INSTANCE_0_NAME="{{SYMBOLIC_NAME}}" \\
--env STEADYBIT_EXTENSION_PROMETHEUS_INSTANCE_0_ORIGIN="{{PROMETHEUS_INSTANCE_SERVER_ORIGIN}}" \\
docker run \
--env STEADYBIT_LOG_LEVEL=info \
--expose 8087 \
--env STEADYBIT_EXTENSION_PROMETHEUS_INSTANCE_0_NAME="{{SYMBOLIC_NAME}}" \
--env STEADYBIT_EXTENSION_PROMETHEUS_INSTANCE_0_ORIGIN="{{PROMETHEUS_INSTANCE_SERVER_ORIGIN}}" \
ghcr.io/steadybit/extension-prometheus:latest
```

Expand Down

0 comments on commit add236f

Please sign in to comment.