-
Notifications
You must be signed in to change notification settings - Fork 5
/
redis-commander.yml
59 lines (59 loc) · 1.19 KB
/
redis-commander.yml
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
---
kind: DeploymentConfig
apiVersion: v1
metadata:
name: redis-commander
labels:
service: redis-commander
spec:
selector:
service: redis-commander
template:
metadata:
labels:
service: redis-commander
name: redis-commander
spec:
containers:
- name: redis-commander
image: rediscommander/redis-commander
env:
- name: REDIS_HOST
value: redis
- name: REDIS_PORT
value: "6379"
ports:
- containerPort: 8081
resources:
requests:
memory: "64Mi"
cpu: "50m"
limits:
memory: "128Mi"
cpu: "100m"
replicas: 1
strategy:
type: Recreate
---
apiVersion: v1
kind: Service
metadata:
name: redis-commander
labels:
service: redis-commander
spec:
ports:
- name: "8081"
port: 8081
targetPort: 8081
selector:
service: redis-commander
---
apiVersion: v1
kind: Route
metadata:
name: redis-commander
spec:
to:
kind: Service
name: redis-commander