Skip to content
Snippets Groups Projects
Commit 2e64b0f9 authored by Oliver's avatar Oliver
Browse files

add comment about host network

parent 57222192
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -53,6 +53,13 @@ in an image that has a shell, etc then you can run the `alpine` image:
$ docker run -d --name redis_exporter -p 9121:9121 oliver006/redis_exporter:alpine
```
 
If you try to access a redis instance running on the host node, you'll need to add `--network host` so the
redis_exporter container can access it:
```sh
$ docker run -d --name redis_exporter --network host oliver006/redis_exporter
```
### Run on Kubernetes
 
[Here](contrib/k8s-redis-and-exporter-deployment.yaml) is an example Kubernetes deployment configuration for how to deploy the redis_exporter as a sidecar with a Redis instance.
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment