Skip to content

Commit

Permalink
Add Kubernetes to Docu (#44)
Browse files Browse the repository at this point in the history
* Add Kubernetes Example Manifests

* add kubernetes to docu
  • Loading branch information
toschneck committed Sep 23, 2024
1 parent be60e42 commit bd9b72c
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ The file names given here are examples, you can choose other names, if you wish.

## Docker

This project ships with a basic [Dockerfile](./Dockerfile) which you can use
This project ships with a basic [Dockerfile](
./Dockerfile) which you can use
as a base to launch modbus-proxy inside a docker container.

First, build the docker image with:
Expand Down Expand Up @@ -293,6 +294,20 @@ root:
level: DEBUG
```

## Kubernetes

Based on the existing [Dockerfile](Dockerfile) an example Kubernetes manifest has been created and is located at [examples/kubernetes](examples/kubernetes).

* `ConfigMap` for modbus-proxy config: [`examples/kubernetes/10_modbus-proxy.configmap.yaml`](examples/kubernetes/10_modbus-proxy.configmap.yaml)

After the adjustment of the configmap, the manifest could get applied to your Kubernetes Cluster:
```
# adjust config
vim examples/kubernetes/10_modbus-proxy.configmap.yaml
# apply to cluster
kubectl apply -f examples/kubernetes
```

## Credits

Expand Down

0 comments on commit bd9b72c

Please sign in to comment.