config/placement_stateless/base.yaml (49 lines of code) (raw):
logging:
level: info
stdout: true
placement:
http_port: 5294
grpc_port: 5397
task_dequeue_limit: 10
task_dequeue_timeout: 100
offer_dequeue_limit: 10
max_placement_duration: 300s
task_type: 0
fetch_offer_tasks: true
strategy: mimir
concurrency: 35
max_rounds:
unknown: 1
batch: 1
stateless: 2
daemon: 0 # 0 Means no limit
stateful: 2
max_durations:
unknown: 500s
batch: 500s
stateless: 60s
daemon: 500s
stateful: 60s
max_desired_host_placement_duration: 120s
election:
root: "/peloton"
health:
heartbeat_interval: 5s
storage:
cassandra:
max_parallel_batches: 1000
max_updates_job: 10
connection:
contactPoints: ["127.0.0.1"]
port: 9042
consistency: LOCAL_QUORUM
hostPolicy: TokenAwareHostPolicy
# Need to increase timeout from 10s to 20s to avoid recovery code from timing out
# We saw recovery code timing out when peloton was recovering from a
# Cassandra latency spike issue.
timeout: 20s
store_name: peloton_test
migrations: pkg/storage/cassandra/migrations/
use_cassandra: false
db_write_concurrency: 40
metrics:
runtime_metrics:
enabled: true
interval: 10s