-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest-victoriametrics.yaml
56 lines (56 loc) · 1.48 KB
/
manifest-victoriametrics.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
# This is a sample manifest for deploying the zettelkasten-exporter using an VictoriaMetrics
# storage.
# To deploy VictoriaMetrics, see: https://github.com/VictoriaMetrics/helm-charts
---
apiVersion: v1
kind: Namespace
metadata:
name: monitoring
---
apiVersion: v1
kind: Secret
metadata:
name: zettelkasten-exporter-env
namespace: monitoring
type: Opaque
data:
# These are placeholder values. Replace them with the
# appropriate values for your setup.
github-token: YW55LXRva2Vu
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: zettelkasten-exporter
namespace: monitoring
labels:
app.kubernetes.io/name: zettelkasten-exporter
spec:
selector:
matchLabels:
app.kubernetes.io/name: zettelkasten-exporter
replicas: 1
template:
metadata:
labels:
app.kubernetes.io/name: zettelkasten-exporter
spec:
containers:
- name: zettelkasten-exporter
image: "ghcr.io/luissimas/zettelkasten-exporter:latest"
env:
- name: LOG_LEVEL
value: INFO
- name: COLLECTION_INTERVAL
value: 5m
- name: ZETTELKASTEN_GIT_URL
value: <YOUR_REPOSITORY_GIT_URL>
- name: ZETTELKASTEN_GIT_BRANCH
value: master
- name: ZETTELKASTEN_GIT_TOKEN
valueFrom:
secretKeyRef:
name: zettelkasten-exporter-env
key: github-token
- name: VICTORIAMETRICS_URL
value: http://victoriametrics