-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathreporting_network_drop.yaml
27 lines (26 loc) · 1.21 KB
/
reporting_network_drop.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Unless explicitly stated otherwise all files in this repository are licensed
# under the Apache License Version 2.0.
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2025 Datadog, Inc.
apiVersion: chaos.datadoghq.com/v1beta1
kind: DisruptionCron
metadata:
name: network-drop
namespace: chaos-demo
spec:
reporting: # optional, add custom notification for this disruption
slackChannel: team-slack-channel # required, custom slack channel to send notifications to (can be a name or slack channel ID)
purpose:
| # required, purpose/contextual informations to explain reasons of the disruption launch, can contain markdown formatting
*full network drop*: _aims to validate retry capabilities of demo-curl_. Contact #team-test for more informations.
minNotificationType: Info # optional, minimal notification type to be notified, default is Success, available options are Info, Success, Warning, Error
schedule: "*/5 * * * *"
targetResource:
kind: deployment
name: demo-curl
disruptionTemplate:
level: pod
count: 1
network:
drop: 100 # percentage of outgoing packets to drop
duration: 10s # disruption will time out after 10 seconds