File tree 1 file changed +25
-1
lines changed
database-management/adminer
1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ apiVersion: apps/v1
2
2
kind : Deployment
3
3
metadata :
4
4
name : adminer
5
+ labels :
6
+ app : adminer
5
7
spec :
6
8
replicas : 1
7
9
selector :
@@ -14,18 +16,40 @@ spec:
14
16
spec :
15
17
containers :
16
18
- name : adminer
17
- image : adminer
19
+ image : adminer:4.8.1 # Specify a version tag
18
20
ports :
19
21
- containerPort : 8080
22
+ resources :
23
+ requests :
24
+ memory : " 128Mi"
25
+ cpu : " 250m"
26
+ limits :
27
+ memory : " 256Mi"
28
+ cpu : " 500m"
29
+ livenessProbe :
30
+ httpGet :
31
+ path : /
32
+ port : 8080
33
+ initialDelaySeconds : 5
34
+ periodSeconds : 10
35
+ readinessProbe :
36
+ httpGet :
37
+ path : /
38
+ port : 8080
39
+ initialDelaySeconds : 5
40
+ periodSeconds : 10
20
41
21
42
---
22
43
apiVersion : v1
23
44
kind : Service
24
45
metadata :
25
46
name : adminer
47
+ labels :
48
+ app : adminer
26
49
spec :
27
50
ports :
28
51
- port : 8080
52
+ targetPort : 8080
29
53
nodePort : 30433
30
54
selector :
31
55
app : adminer
You can’t perform that action at this time.
0 commit comments