mc-ingress/README.md
Tamipes e2004844d1
All checks were successful
/ build (push) Successful in 1m39s
doc: kubernetes dev cycle
2026-06-23 00:26:55 +02:00

22 lines
812 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
```
### 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")'
```