-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathepimetheus.kube.yaml
59 lines (59 loc) · 1.51 KB
/
epimetheus.kube.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
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: "2024-07-17T19:29:05Z"
labels:
app: epimetheus
name: epimetheus
spec:
containers:
- args:
- /opt/bitnami/scripts/redis/run.sh
env:
- name: ALLOW_EMPTY_PASSWORD
value: "yes"
image: docker.io/bitnami/redis:7.2
name: redis
ports:
- containerPort: 5000
hostPort: 5000
- containerPort: 6379
hostPort: 6379
securityContext:
runAsNonRoot: true
volumeMounts:
- mountPath: /bitnami/redis/data
name: epimetheus_redis-pvc
- env:
- name: OLLAMA_BASE_URL
value: http://ollama.ai.local
- name: PYTHONUNBUFFERED
value: 1
- name: SLACK_BOT_TOKEN
valueFrom:
secretKeyRef:
name: slack-app
key: slack-bot-token
- name: SLACK_APP_TOKEN
valueFrom:
secretKeyRef:
name: slack-app
key: slack-app-token
- name: SLACK_SIGNING_SECRET
valueFrom:
secretKeyRef:
name: slack-app
key: slack-signing-secret
- name: TAVILY_API_KEY
valueFrom:
secretKeyRef:
name: slack-app
key: tavily-api-key
image: localhost/epimetheus-test
name: epimetheus-app
securityContext:
runAsNonRoot: true
volumes:
- name: epimetheus_redis-pvc
persistentVolumeClaim:
claimName: epimetheus_redis