Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Kubernetes to Docu #44

Merged
merged 3 commits into from
Sep 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading