Bootstrap

    Bootstrap configuration overview.

    node

    () Node identity to present to the management server and for instance identification purposes (e.g. in generated headers).

    static_resources

    (config.bootstrap.v2.Bootstrap.StaticResources) Statically specified resources.

    dynamic_resources

    () xDS configuration sources.

    cluster_manager

    (config.bootstrap.v2.ClusterManager) Configuration for the cluster manager which owns all upstream clusters within the server.

    flags_path

    () Optional file system path to search for startup flag files.

    stats_sinks

    (config.metrics.v2.StatsSink) Optional set of stats sinks.

    stats_config

    () Configuration for internal processing of stats.

    stats_flush_interval

    (Duration) Optional duration between flushes to configured stats sinks. For performance reasons Envoy latches counters and only flushes counters and gauges at a periodic interval. If not specified the default is 5000ms (5 seconds).

    watchdog

    () Optional watchdog configuration.

    tracing

    (config.trace.v2.Tracing) Configuration for an external tracing provider. If not specified, no tracing will be performed.

    rate_limit_service

    () Configuration for an external rate limit service provider. If not specified, any calls to the rate limit service will immediately return success.

    runtime

    admin

    (config.bootstrap.v2.Admin, REQUIRED) Configuration for the local administration HTTP server.

    config.bootstrap.v2.Bootstrap.StaticResources

    1. {
    2. "listeners": [],
    3. "clusters": []
    4. }

    listeners

    (Listener) Static . These listeners are available regardless of LDS configuration.

    clusters

    (Cluster) If a network based configuration source is specified for , it’s necessary to have some initial cluster definitions available to allow Envoy to know how to speak to the management server. These cluster definitions may not use EDS (i.e. they should be static IP or DNS-based).

    lds_config

    (core.ConfigSource) All are provided by a single LDS configuration source.

    cds_config

    () All post-bootstrap Cluster definitions are provided by a single configuration source.

    ads_config

    (core.ApiConfigSource) A single source may be optionally specified. This must have api_type . Only ConfigSources that have the field set will be streamed on the ADS channel.

    config.bootstrap.v2.Admin

    [config.bootstrap.v2.Admin proto]

    Administration interface .

    1. {
    2. "profile_path": "...",
    3. }

    access_log_path

    (string, REQUIRED) The path to write the access log for the administration server. If no access log is desired specify ‘/dev/null’.

    profile_path

    () The cpu profiler output path for the administration server. If no profile path is specified, the default is ‘/var/log/envoy/envoy.prof’.

    address

    (core.Address, REQUIRED) The TCP address that the administration server will listen on.

    Cluster manager architecture overview.

    local_cluster_name

    outlier_detection

    () Optional global configuration for outlier detection.

    upstream_bind_config

    (core.BindConfig) Optional configuration used to bind newly established upstream connections. This may be overridden on a per-cluster basis by upstream_bind_config in the cds_config.

    load_stats_config

    () A management server endpoint to stream load stats to via StreamLoadStats. This must have api_type .

    config.bootstrap.v2.ClusterManager.OutlierDetection

    [config.bootstrap.v2.ClusterManager.OutlierDetection proto]

    1. {
    2. }

    event_log_path

    () Specifies the path to the outlier event log.

    [config.bootstrap.v2.Watchdog proto]

    Envoy process watchdog configuration. When configured, this monitors for nonresponsive threads and kills the process after the configured thresholds.

    miss_timeout

    () The duration after which Envoy counts a nonresponsive thread in the server.watchdog_miss statistic. If not specified the default is 200ms.

    megamiss_timeout

    (Duration) The duration after which Envoy counts a nonresponsive thread in the server.watchdog_mega_miss statistic. If not specified the default is 1000ms.

    kill_timeout

    () If a watched thread has been nonresponsive for this duration, assume a programming error and kill the entire Envoy process. Set to 0 to disable kill behavior. If not specified the default is 0 (disabled).

    multikill_timeout

    (Duration) If at least two watched threads have been nonresponsive for at least this duration assume a true deadlock and kill the entire Envoy process. Set to 0 to disable this behavior. If not specified the default is 0 (disabled).

    config.bootstrap.v2.Runtime

    Runtime configuration overview.

    1. {
    2. "symlink_root": "...",
    3. "subdirectory": "...",

    symlink_root

    (, REQUIRED) The implementation assumes that the file system tree is accessed via a symbolic link. An atomic link swap is used when a new tree should be switched to. This parameter specifies the path to the symbolic link. Envoy will watch the location for changes and reload the file system tree when they happen.

    subdirectory

    (string) Specifies the subdirectory to load within the root directory. This is useful if multiple systems share the same delivery mechanism. Envoy configuration elements can be contained in a dedicated subdirectory.

    () Specifies an optional subdirectory to load within the root directory. If specified and the directory exists, configuration values within this directory will override those found in the primary subdirectory. This is useful when Envoy is deployed across many different types of servers. Sometimes it is useful to have a per service cluster directory for runtime configuration. See below for exactly how the override directory is used.