1
0
Fork 0
mirror of https://github.com/karancode/yamllint-github-action.git synced 2024-08-16 10:19:48 +02:00
yamllint/tests/data/single_files/file1.yml
Richard Steinbrück dd59165b84
Add testing framework bats and fix #4 (#5)
* Fix mdl issues

* Add bats as testing framework

* Fix #4

* Add GitHub codeowner file

* Add Dependabot config

* Add github workflow for testing

* don't comment if yamllint is successful (fixes #2)

* remove GITHUB_EVENT.json
2020-04-28 17:39:44 +09:00

21 lines
638 B
YAML

---
apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule
metadata:
creationTimestamp: null
labels:
app: prometheus-operator
release: prometheus-operator
name: redis
namespace: monitoring
spec:
groups:
- name: redis.memory
rules:
- alert: RedisMemoryAlmostFull
annotations:
message: 'Redis memory is at {{ $value | humanizePercentage }} of maximum for 2 days in a row'
expr: redis_memory_used_bytes/redis_memory_max_bytes > 0.8
for: 2d
labels:
severity: warning