-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkraken-common-example.yaml
52 lines (52 loc) · 1.37 KB
/
kraken-common-example.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
kind: ConfigMap
apiVersion: v1
metadata:
name: kraken-common-example
labels:
app.kubernetes.io/name: "kraken-common-example"
data:
default_kubeburner.yaml: |-
---
global:
writeToFile: true
metricsDirectory: collected-metrics
measurements:
- name: podLatency
esIndex: kraken
indexerConfig:
enabled: true
esServers: [http://elasticsearch.openshift-logging.svc.cluster.local:9200]
insecureSkipVerify: true
defaultIndex: kraken
type: elastic
default_metrics.yaml: |-
metrics:
- query: cluster_version{type="completed"}
metricName: clusterVersion
instant: true
default_alerts.yaml: |-
- expr: increase(etcd_server_leader_changes_seen_total[2m]) > 0
description: etcd leader changes observed
severity: critical
default_pod_scenario.yml: |
config:
runStrategy:
runs: 2
maxSecondsBetweenRuns: 12
minSecondsBetweenRuns: 6
scenarios:
- name: kill up to 3 running pods in all namespaces
steps:
- podAction:
matches:
- namespace: "*"
filters:
- property:
name: "state"
value: "Running"
- randomSample:
size: 3
actions:
- kill:
probability: .8