Customize Your Installation
Build your bespoke Sentinel installation. Configure Sentinel with the agents you need. Generate installation commands and starter configuration.
1 Installation Method
2 Official Agents
Select the agents you want to include. All agents are optional and can be added later.
3 Installation
Shell
# Install Sentinel
cargo install sentinel-proxy
# No agents selected yet4 Example Configuration
A starter configuration with your selected agents. Save as sentinel.kdl
sentinel.kdl
// Sentinel Configuration
// https://sentinel.raskell.io
server {
worker-threads 0 // 0 = number of CPU cores
graceful-shutdown-timeout-secs 30
}
listeners {
listener "http" {
address "0.0.0.0:8080"
protocol "http"
}
}
routes {
route "default" {
matches {
path-prefix "/"
}
upstream "backend"
}
}
upstreams {
upstream "backend" {
targets {
target {
address "127.0.0.1:3000"
}
}
load-balancing "round_robin"
}
}
// No agents configured5 Run Sentinel
Start Sentinel with your configuration file.
Shell
# Start Sentinel
sentinel-proxy --config sentinel.kdl