zester
Reference

Overview

Zester uses YAML configuration files for both master and peel nodes. The configuration system is intentionally simple -- most settings have sensible defaults so that a minimal config file is enough to get started.

Configuration Files

NodeDefault PathsFormat
Master/etc/zester/master.yamlYAML
Peel/etc/zester/peel.yamlYAML
CLI/etc/zester/master.yaml, ~/.zester/config.yamlYAML

The CLI checks /etc/zester/master.yaml first, then falls back to ~/.zester/config.yaml. If neither exists, it connects to nats://localhost:4222 with no authentication.

Section Contents

PageDescription
Master ConfigurationNATS client connection settings: server URLs, credentials, reconnection behavior, and timeouts
Peel ConfigurationAll NATS client settings: server URLs, credentials, reconnection behavior, health checks, and timeouts

Minimal Examples

Master

The master uses command-line flags rather than a YAML config file:

zester-master --nats-url nats://nats:4222

The master connects to an external NATS server as a client. Credentials are loaded from /data/auth/master.creds and the account seed from /data/auth/account.seed.

Peel

The peel uses command-line flags:

zester-peel --id web-01 --nats-url nats://nats:4222

Credentials are loaded from /data/auth/<peel-id>.creds. The peel connects with unlimited reconnect attempts, 2-second backoff with jitter, and 8 MB reconnect buffer.

CLI

master:
  urls:
    - nats://master.example.com:4222
  creds_file: ~/.zester/admin.creds

Environment-specific configs

Use the --config flag to point at an alternative config file: zester --config /path/to/staging.yaml peel list.

On this page