Bootstrap

    [config.bootstrap.v2.Bootstrap proto]

    Bootstrap .

    node

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

    static_resources

    () Statically specified resources.

    dynamic_resources

    (config.bootstrap.v2.Bootstrap.DynamicResources) xDS configuration sources.

    cluster_manager

    () Configuration for the cluster manager which owns all upstream clusters within the server.

    hds_config

    (core.ApiConfigSource) Health discovery service config option. ()

    flags_path

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

    stats_sinks

    () Optional set of stats sinks.

    stats_config

    (config.metrics.v2.StatsConfig) Configuration for internal processing of stats.

    stats_flush_interval

    () 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). Duration must be at least 1ms and at most 5 min.

    watchdog

    (config.bootstrap.v2.Watchdog) Optional watchdog configuration.

    tracing

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

    runtime

    (config.bootstrap.v2.Runtime) Configuration for the runtime configuration provider (deprecated). If not specified, a “null” provider will be used which will result in all defaults being used.

    layered_runtime

    () Configuration for the runtime configuration provider. If not specified, a “null” provider will be used which will result in all defaults being used.

    admin

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

    overload_manager

    () Optional overload manager configuration.

    enable_dispatcher_stats

    (bool) Enable , defaults to false. Note that this records a value for each iteration of the event loop on every thread. This should normally be minimal overhead, but when using statsd, it will send each observed value over the wire individually because the statsd protocol doesn’t have any way to represent a histogram summary. Be aware that this can be a very large volume of data.

    header_prefix

    () Optional string which will be used in lieu of x-envoy in prefixing headers.

    For example, if this string is present and set to X-Foo, then x-envoy-retry-on will be transformed into x-foo-retry-on etc.

    Note this applies to the headers Envoy will generate, the headers Envoy will sanitize, and the headers Envoy will trust for core code and core extensions only. Be VERY careful making changes to this string, especially in multi-layer Envoy deployments or deployments using extensions which are not upstream.

    stats_server_version_override

    (UInt64Value) Optional proxy version which will be used to set the value of if specified. Envoy will not process this value, it will be sent as is to stats sinks.

    use_tcp_for_dns_lookups

    () Always use TCP queries instead of UDP queries for DNS lookups. This may be overridden on a per-cluster basis in cds_config, when dns_resolvers and are specified.

    config.bootstrap.v2.Bootstrap.StaticResources

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

    listeners

    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).

    secrets

    () These static secrets can be used by SdsSecretConfig

    config.bootstrap.v2.Bootstrap.DynamicResources

    [config.bootstrap.v2.Bootstrap.DynamicResources proto]

    1. {
    2. "lds_config": "{...}",
    3. "cds_config": "{...}",
    4. "ads_config": "{...}"
    5. }

    lds_config

    () All Listeners are provided by a single configuration source.

    cds_config

    (core.ConfigSource) All post-bootstrap definitions are provided by a single CDS configuration source.

    ads_config

    () A single ADS source may be optionally specified. This must have GRPC. Only that have the ads field set will be streamed on the ADS channel.

    config.bootstrap.v2.Admin

    [config.bootstrap.v2.Admin proto]

    Administration interface .

    1. {
    2. "access_log_path": "...",
    3. "profile_path": "...",
    4. "socket_options": []
    5. }

    access_log_path

    (string) The path to write the access log for the administration server. If no access log is desired specify ‘/dev/null’. This is only required if is set.

    profile_path

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

    address

    () The TCP address that the administration server will listen on. If not specified, Envoy will not start an administration server.

    socket_options

    (core.SocketOption) Additional socket options that may not be present in Envoy source code or precompiled binaries.

    Cluster manager architecture overview.

    local_cluster_name

    () Name of the local cluster (i.e., the cluster that owns the Envoy running this configuration). In order to enable zone aware routing this option must be set. If local_cluster_name is defined then must be defined in the Bootstrap static cluster resources. This is unrelated to the option which does not affect zone aware routing.

    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

    1. {
    2. "event_log_path": "..."
    3. }

    event_log_path

    (string) Specifies the path to the outlier event log.

    config.bootstrap.v2.Watchdog

    [config.bootstrap.v2.Watchdog proto]

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

    1. {
    2. "miss_timeout": "{...}",
    3. "megamiss_timeout": "{...}",
    4. "multikill_timeout": "{...}"
    5. }

    miss_timeout

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

    megamiss_timeout

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

    kill_timeout

    (Duration) 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

    () 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 (deprecated).

    1. {
    2. "subdirectory": "...",
    3. "override_subdirectory": "...",
    4. "base": "{...}"
    5. }

    symlink_root

    (string) 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. If this parameter is not set, there will be no disk based runtime.

    subdirectory

    () 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.

    override_subdirectory

    (string) 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.

    base

    () Static base runtime. This will be overridden by other runtime layers, e.g. disk or admin. This follows the .

    [config.bootstrap.v2.RuntimeLayer proto]

    name

    (, REQUIRED) Descriptive name for the runtime layer. This is only used for the runtime GET /runtime output.

    static_layer

    () Static runtime layer. This follows the . Unlike static xDS resources, this static layer is overridable by later layers in the runtime virtual filesystem.

    Precisely one of static_layer, , admin_layer, must be set.

    disk_layer

    (config.bootstrap.v2.RuntimeLayer.DiskLayer)

    Precisely one of , disk_layer, , rtds_layer must be set.

    admin_layer

    ()

    Precisely one of static_layer, , admin_layer, must be set.

    rtds_layer

    (config.bootstrap.v2.RuntimeLayer.RtdsLayer)

    Precisely one of , disk_layer, , rtds_layer must be set.

    config.bootstrap.v2.RuntimeLayer.DiskLayer

    [config.bootstrap.v2.RuntimeLayer.DiskLayer proto]

    layer.

    1. {
    2. "symlink_root": "...",
    3. "subdirectory": "...",
    4. "append_service_cluster": "..."
    5. }

    symlink_root

    (string) 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. See documentation on runtime for further details on how reloads are treated.

    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.

    append_service_cluster

    () Append the service cluster to the path under symlink root.

    config.bootstrap.v2.RuntimeLayer.AdminLayer

    [config.bootstrap.v2.RuntimeLayer.AdminLayer proto]

    layer.

    1. {}

    config.bootstrap.v2.RuntimeLayer.RtdsLayer

    Runtime Discovery Service (RTDS) layer.

    1. {
    2. "name": "...",

    name

    () Resource to subscribe to at rtds_config for the RTDS layer.

    rtds_config

    (core.ConfigSource) RTDS configuration source.

    Runtime configuration overview.

    layers

    () The layers of the runtime. This is ordered such that later layers in the list overlay earlier entries.