feat:Add exclude label to application outage (#967)

* feat:Add exclude label to application outage

Signed-off-by: zhoujinyu <2319109590@qq.com>

* chore: add missing comments

Signed-off-by: zhoujinyu <2319109590@qq.com>

* chore: adjust comments

Signed-off-by: zhoujinyu <2319109590@qq.com>

---------

Signed-off-by: zhoujinyu <2319109590@qq.com>
This commit is contained in:
FAUST.
2025-11-24 22:54:05 +08:00
committed by GitHub
parent 6acd6f9bd3
commit ab4ae85896
2 changed files with 92 additions and 4 deletions

View File

@@ -3,3 +3,4 @@ application_outage: # Scenario to create an out
namespace: <namespace-with-application> # Namespace to target - all application routes will go inaccessible if pod selector is empty
pod_selector: {app: foo} # Pods to target
block: [Ingress, Egress] # It can be Ingress or Egress or Ingress, Egress
exclude_label: "" # Optional label selector to exclude pods. Supports dict, string, or list format