How to use Kamal Proxy run command options in Kamal

Kamal now allows a bit more flexibility in the way the Proxy is being run.

Table of contents

Kamal Proxy options

Kamal 2.6.0 introduced the ability to set --metrics_port and --debug options through the boot configuration. These options provide us with more control over how the kamal-proxy operates and reports metrics.

The use is similar to other options:

# config/deploy.yml
proxy:
  debug: true 
  metrics_port: 9000

As the names suggest, the debug option let's us run Kamal Proxy in the debug mode with more logging and metrics_port let's us access the proxy's metrics on a given port.

Note the --metrics_port support is targeting Kamal Proxy version 0.8.8 which is not part of Kamal 2.6.0 yet.

Author
Josef Strzibny
I am a full stack web developer with love for Linux. I made and deployed my first commercial web applications during high school in 2008. I have worked for Red Hat on the platform and developer experience teams as a Linux packager.

© Deploy Linux Blog