forked from influxdata/telegraf-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathredis.yml
More file actions
27 lines (27 loc) · 701 Bytes
/
redis.yml
File metadata and controls
27 lines (27 loc) · 701 Bytes
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
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: redis
namespace: test
spec:
selector:
matchLabels:
app: redis
serviceName: redis
template:
metadata:
labels:
app: redis
annotations:
telegraf.influxdata.com/inputs: |+
[[inputs.redis]]
servers = ["tcp://localhost:6379"]
telegraf.influxdata.com/class: app
telegraf.influxdata.com/env-fieldref-NAMESPACE: metadata.namespace
telegraf.influxdata.com/limits-cpu: '750m'
# invalid memory limit, which will be ignored
telegraf.influxdata.com/limits-memory: '800x'
spec:
containers:
- name: redis
image: redis:alpine