Skip to Content
GuidesProduction Checklist

Production Checklist

Use this checklist to prepare Pilot for production deployment.

Security

  • Kafka authentication - configure SASL or TLS for Kafka connections (SASL, TLS)
  • UI authentication - enable OAuth2/OIDC to restrict dashboard access (Authentication)
  • Cookie secret - set AUTH_COOKIE_SECRET to a strong random value (do not rely on auto-generation)
  • Token verification - set AUTH_<PROVIDER>_ISSUER for any provider whose bearer tokens are JWTs; without it no signature can be checked (Bearer Token Validation)
  • Audience binding - confirm the audience your IdP stamps matches AUTH_<PROVIDER>_ALLOWED_AUDIENCES, which defaults to the client id (Audience Binding)
  • MCP write access - keep PILOT_MCP_WRITE_ENABLED=false unless external AI agents must apply changes; then give them write-scoped tokens only (Mutation Execution)
  • HTTPS - enable server TLS or use a reverse proxy with TLS termination (TLS, Ingress)
  • License - configure a valid license for management operations (Licensing)

Kafka Configuration

  • Bootstrap servers - set KAFKA_BOOTSTRAP_SERVERS to at least 3 brokers for redundancy
  • Exclude internal topics - set PILOT_EXCLUDE_TOPICS="__consumer_offsets,__transaction_state" to avoid moving internal Kafka topics
  • Rack awareness - ensure PILOT_BALANCE_RACK_AWARE=true (default) and that your brokers have rack assignments configured

Balance & Throttling

  • Balance threshold - review PILOT_BALANCE_THRESHOLD (default: 5). A higher value tolerates larger differences and causes fewer moves (Even Balance)
  • Minimum difference - optional: set PILOT_BALANCE_FLOOR (for example bytes=2MB/s disk=2GiB) if small per-broker differences are not worth moving data for. Unset, Pilot evens out differences of any size (Minimum Difference)
  • Broker profile - optional: set PILOT_BROKER_PROFILE to see broker utilization. It does not change balancing (Broker Profiles)
  • Throttle rate - set PILOT_THROTTLE_RATE_MB based on your network capacity (default: 50 MB/s, increase for faster rebalancing)
  • Max throttle rate - set PILOT_THROTTLE_MAX_RATE_MB as an upper bound (default: 1000 MB/s)
  • Max moves per broker - set PILOT_MOVE_MAX_PER_BROKER based on broker capacity (default: 20)

Self-Healing

  • Start with dry-run - enable self-healing with PILOT_HEAL_DRY_RUN=true first
  • Enable critical fixes - set PILOT_HEAL_CRITICAL_ENABLED=true after validating dry-run behavior
  • Consider time windows - restrict healing to maintenance windows if needed
  • Consider a partition cap - healing cycles move unlimited partitions by default; set PILOT_HEAL_MAX_PARTITIONS_PER_RUN to a value > 0 to cap moves per cycle on large clusters

Monitoring

  • Prometheus scraping - configure Prometheus to scrape /metrics (Monitoring Setup)
  • Alerts - set up alerts for under-replicated partitions, offline partitions, license expiry, and sampler staleness
  • Health checks - configure liveness and readiness probes on /api/v1/health, which needs no sign-in (Health Probes)

Deployment

  • Single replica - run exactly one standalone Pilot per cluster (multiple standalone replicas cause conflicts); for standbys, use High Availability mode
  • Resource limits - set appropriate CPU and memory limits based on cluster size
  • Restart policy - configure automatic restart on failure (Docker restart policy or Kubernetes liveness probe)
  • Network access - ensure Pilot can reach all Kafka broker advertised listeners
  • License fetch - if using auto-fetch, ensure outbound HTTPS access to license.calinora.io

Audit & Compliance

  • Audit logging - enable authentication so audit events record who made each change; without it, events have an empty user (Audit Logging)
  • Topic replication - Pilot creates its internal topics with the cluster’s default.replication.factor. Set it above 1 on brokers and KRaft controllers before the first start, and allow Pilot DescribeConfigs on the cluster (Topic Configuration)
  • Audit delivery - add the PilotAuditEventsLost alert and, in HA mode, PilotAuditEventTooLarge (Alert Rules)
  • Review audit events - periodically review the audit log for unexpected operations

Backup & Recovery

  • State - Pilot keeps its state in Kafka topics that it creates and manages itself. Proposals are recalculated and not backed up (Architecture)
  • Audit retention - check that AUDIT_RETENTION_MS (default 30 days) meets your compliance needs
  • Cluster conditions - __pilot_conditions keeps the cluster conditions and their history for 24 hours. On a cluster that enforces ACLs, grant Pilot Create, Describe, AlterConfigs, Read and Write on it. Without the topic Pilot runs, and the conditions list starts empty after a restart
Last updated on