server: add --enable-core-dump flag (#15245)

This ensures Envoy can core dump when the dumpability bit might have
been unset (e.g.: running inside a container with fewer capabilities
than the ones Envoy itself has).

Fixes #15242.

Mirrored from https://github.com/envoyproxy/envoy @ 4f1ec4f5c863560ea2da86c5b4cdc9135cd6a5da
pull/624/head
data-plane-api(Azure Pipelines) 4 years ago
parent b2117c2e2f
commit 7b8b530e69
  1. 5
      envoy/admin/v3/server_info.proto
  2. 5
      envoy/admin/v4alpha/server_info.proto

@ -58,7 +58,7 @@ message ServerInfo {
config.core.v3.Node node = 7;
}
// [#next-free-field: 37]
// [#next-free-field: 38]
message CommandLineOptions {
option (udpa.annotations.versioning).previous_message_type =
"envoy.admin.v2alpha.CommandLineOptions";
@ -189,4 +189,7 @@ message CommandLineOptions {
// See :option:`--socket-mode` for details.
uint32 socket_mode = 36;
// See :option:`--enable-core-dump` for details.
bool enable_core_dump = 37;
}

@ -58,7 +58,7 @@ message ServerInfo {
config.core.v4alpha.Node node = 7;
}
// [#next-free-field: 37]
// [#next-free-field: 38]
message CommandLineOptions {
option (udpa.annotations.versioning).previous_message_type = "envoy.admin.v3.CommandLineOptions";
@ -188,4 +188,7 @@ message CommandLineOptions {
// See :option:`--socket-mode` for details.
uint32 socket_mode = 36;
// See :option:`--enable-core-dump` for details.
bool enable_core_dump = 37;
}

Loading…
Cancel
Save