http: add Kill Request HTTP filter (#14170)
Add a KillRequest HTTP filter which can crash Envoy when receiving a Kill request. It will be used to fault inject kill request to Envoy and measure the blast radius. Risk Level: Low, new feature. Testing: Unit/integration tests. Docs Changes: Added Release Notes: Added Issue: #13978 Signed-off-by: Qin Qin <qqin@google.com> Mirrored from https://github.com/envoyproxy/envoy @ 237b29d6399953f22a47c6e4d19df74b4fbcee8dpull/623/head
parent
365457f885
commit
01656478f8
4 changed files with 37 additions and 0 deletions
@ -0,0 +1,12 @@ |
||||
# DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py. |
||||
|
||||
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package") |
||||
|
||||
licenses(["notice"]) # Apache 2 |
||||
|
||||
api_proto_package( |
||||
deps = [ |
||||
"//envoy/type/v3:pkg", |
||||
"@com_github_cncf_udpa//udpa/annotations:pkg", |
||||
], |
||||
) |
@ -0,0 +1,23 @@ |
||||
syntax = "proto3"; |
||||
|
||||
package envoy.extensions.filters.http.kill_request.v3; |
||||
|
||||
import "envoy/type/v3/percent.proto"; |
||||
|
||||
import "udpa/annotations/status.proto"; |
||||
import "udpa/annotations/versioning.proto"; |
||||
|
||||
option java_package = "io.envoyproxy.envoy.extensions.filters.http.kill_request.v3"; |
||||
option java_outer_classname = "KillRequestProto"; |
||||
option java_multiple_files = true; |
||||
option (udpa.annotations.file_status).package_version_status = ACTIVE; |
||||
|
||||
// [#protodoc-title: Kill Request] |
||||
// Kill Request :ref:`configuration overview <config_http_filters_kill_request>`. |
||||
// [#extension: envoy.filters.http.kill_request] |
||||
|
||||
// Configuration for KillRequest filter. |
||||
message KillRequest { |
||||
// The probability that a Kill request will be triggered. |
||||
type.v3.FractionalPercent probability = 1; |
||||
} |
Loading…
Reference in new issue