It's also not a bad idea to match the Ruby version. You can typically find this in the Gemfile. If you're using asdf or mise, I'd install that version of Ruby. They're not locked to that version for any particular reason except that's what was set whenever the project was created.
Always check the release notes when upgrading kamal because there could be a brief outage due to upgrading the kamal-proxy. This is sometimes required when upgrading the kamal version.
I tried patching kamal and was able to send a 503.json over but it looks like Kamal Proxy would also need a patch. Sadly, it doesn’t appear to support API responses for now. I’d suggest opening an issue on Kamal Proxy to request this feature.
I don't recommend using it in a production environment. I would want to do a deeper inspection of the gem if that were the case. However, if you copy over your production logs and want to view them in log_bench, you can specify the file that you're wanting to open.