mc-ingress/README.md
Tamipes fbadd6e02e
Some checks failed
/ build (push) Has been cancelled
doc: kubernetes dev cycle
2026-06-23 00:26:29 +02:00

24 lines
824 B
Markdown

# Development
TODO: fill this out
### Kubernetes test deployment
```bash
./upload.sh
# sudo kubectl apply -f kube/test-deployment.yaml # Apply the test deployment if it wasn't already
sudo kubectl rollout restart deployment minecraft-ingress
```
```bash
```
### Nix shell with tmux
In the nix flake there is a devshell setup with cargo and tmux.
When using tmux it uses a set tmux server path, so only this project uses it.
# Env variables:
```bash
# Address the server should bind to
# BIND_ADDR="0.0.0.0:25565"
# Filter appplied with [evalexpr](https://docs.rs/evalexpr/latest/evalexpr/)
# The "context" has the addr variable populated with the address of part of the
# handshake packet. Custom filter can be specified, and drop any
# connections which match the filter.
# FILTER_CONN='(addr == "10.100.0.1")'
```