forked from NetApp/eseries-perf-analyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
01-epa-dbmanager.yaml
79 lines (79 loc) · 2.14 KB
/
01-epa-dbmanager.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
apiVersion: v1
kind: ConfigMap
metadata:
creationTimestamp: "2023-01-26T07:05:56Z"
name: collector-db-config
namespace: epa
data:
config.json: |
{
"storage_systems": [
{
"name": "R26U25-EF600"
},
{
"name": "R24U04-E2824"
}
]
}
---
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kubernetes.io/description: "EPA configuration manager"
a8r.io/owner: "scaleoutSean"
a8r.io/documentation: "https://github.com/scaleoutsean/eseries-perf-analyzer/tree/master/kubernetes"
a8r.io/chat: "https://github.com/scaleoutsean/eseries-perf-analyzer/discussions"
a8r.io/bugs: "https://github.com/scaleoutsean/eseries-perf-analyzer/issues"
a8r.io/repository: "https://github.com/scaleoutsean/eseries-perf-analyzer"
a8r.io/dependencies: "Python 3 with module for InfluxDB v1"
creationTimestamp: null
labels:
kubernetes.io/os: "linux"
app.kubernetes.io/version: "3.3.0"
app.kubernetes.io/name: dbmanager
# app.kubernetes.io/instance: dc1-dbmanager
service: collector-dbmanager
name: collector-dbmanager
spec:
replicas: 1
selector:
matchLabels:
service: collector-dbmanager
template:
metadata:
annotations:
labels:
service: collector-dbmanager
spec:
restartPolicy: Always
containers:
- name: dbmanager
# image: epa/epa-dbmanager:3.3.0
image: docker.io/scaleoutsean/epa-dbmanager:v3.3.0
imagePullPolicy: IfNotPresent
resources:
requests:
memory: "32Mi"
cpu: 0.1
limits:
memory: "64Mi"
cpu: 0.2
env:
- name: DB_ADDRESS
value: 7.7.7.7
- name: DB_PORT
value: "8086"
- name: RETENTION_PERIOD
value: 52w
volumeMounts:
- name: collector-db-config-vol
mountPath: "/config"
readOnly: true
volumes:
- name: collector-db-config-vol
configMap:
name: collector-db-config
status: {}