Server State

    As of Envoy v1.18 the v2 API has been removed and is no longer supported.

    If you are upgrading from v2 API config you may wish to view the v2 API documentation:

    [admin.v3.ServerInfo proto]

    Proto representation of the value returned by /server_info, containing server version/server status information.

    version

    () Server version.

    state

    (admin.v3.ServerInfo.State) State of the server.

    uptime_current_epoch

    () Uptime since current epoch was started.

    uptime_all_epochs

    (Duration) Uptime since the start of the first epoch.

    hot_restart_version

    () Hot restart version.

    command_line_options

    (admin.v3.CommandLineOptions) Command line options the server is currently running with.

    node

    () Populated node identity of this server.

    Enum admin.v3.ServerInfo.State

    LIVE

    (DEFAULT) ⁣Server is live and serving traffic.

    DRAINING

    ⁣Server is draining listeners in response to external health checks failing.

    PRE_INITIALIZING

    ⁣Server has not yet completed cluster manager initialization.

    INITIALIZING

    ⁣Server is running the cluster manager initialization callbacks (e.g., RDS).

    [admin.v3.CommandLineOptions proto]

    1. "base_id": "...",
    2. "use_dynamic_base_id": "...",
    3. "base_id_path": "...",
    4. "concurrency": "...",
    5. "config_path": "...",
    6. "config_yaml": "...",
    7. "reject_unknown_dynamic_fields": "...",
    8. "ignore_unknown_dynamic_fields": "...",
    9. "admin_address_path": "...",
    10. "log_level": "...",
    11. "component_log_level": "...",
    12. "log_format": "...",
    13. "log_format_escaped": "...",
    14. "log_path": "...",
    15. "service_cluster": "...",
    16. "service_node": "...",
    17. "service_zone": "...",
    18. "file_flush_interval": "{...}",
    19. "parent_shutdown_time": "{...}",
    20. "mode": "...",
    21. "disable_hot_restart": "...",
    22. "enable_mutex_tracing": "...",
    23. "restart_epoch": "...",
    24. "cpuset_threads": "...",
    25. "disabled_extensions": [],
    26. "enable_fine_grain_logging": "...",
    27. "socket_path": "...",
    28. "socket_mode": "...",
    29. }

    base_id

    () See --base-id for details.

    use_dynamic_base_id

    () See --use-dynamic-base-id for details.

    base_id_path

    () See --base-id-path for details.

    concurrency

    config_path

    () See --config-path for details.

    config_yaml

    () See --config-yaml for details.

    allow_unknown_static_fields

    () See --allow-unknown-static-fields for details.

    reject_unknown_dynamic_fields

    () See --reject-unknown-dynamic-fields for details.

    ignore_unknown_dynamic_fields

    () See --ignore-unknown-dynamic-fields for details.

    admin_address_path

    () See --admin-address-path for details.

    local_address_ip_version

    () See --local-address-ip-version for details.

    log_level

    () See --log-level for details.

    component_log_level

    () See --component-log-level for details.

    log_format

    () See --log-format for details.

    log_format_escaped

    () See --log-format-escaped for details.

    log_path

    () See --log-path for details.

    service_cluster

    () See --service-cluster for details.

    service_node

    () See --service-node for details.

    service_zone

    () See --service-zone for details.

    file_flush_interval

    () See --file-flush-interval-msec for details.

    drain_time

    () See --drain-time-s for details.

    drain_strategy

    () See --drain-strategy for details.

    () See --parent-shutdown-time-s for details.

    mode

    () See --mode for details.

    disable_hot_restart

    () See --disable-hot-restart for details.

    enable_mutex_tracing

    () See --enable-mutex-tracing for details.

    restart_epoch

    () See --restart-epoch for details.

    cpuset_threads

    () See --cpuset-threads for details.

    disabled_extensions

    (repeated ) See --disable-extensions for details.

    enable_fine_grain_logging

    () See --enable-fine-grain-logging for details.

    socket_path

    () See --socket-path for details.

    socket_mode

    () See --socket-mode for details.

    enable_core_dump

    () See --enable-core-dump for details.

    Enum admin.v3.CommandLineOptions.IpVersion

    [admin.v3.CommandLineOptions.IpVersion proto]

    v4

    (DEFAULT)

    v6

    Serve

    (DEFAULT) ⁣Validate configs and then serve traffic normally.

    Validate

    ⁣Validate configs and exit.

    InitOnly

    ⁣Completely load and initialize the config, and then exit without running the listener loop.

    Enum admin.v3.CommandLineOptions.DrainStrategy

    Gradual

    (DEFAULT) ⁣Gradually discourage connections over the course of the drain period.

    ⁣Discourage all connections for the duration of the drain sequence.