12
12
replicas : 1
13
13
template :
14
14
spec :
15
- # affinity:
16
- # podAffinity:
17
- # requiredDuringSchedulingIgnoredDuringExecution:
18
- # - labelSelector:
19
- # matchLabels:
20
- # app: git-cron
21
- # topologyKey: "kubernetes.io/hostname"
22
15
metadata :
23
16
labels :
24
17
app : git-repo
@@ -28,39 +21,12 @@ spec:
28
21
image : grimbough/code.bioc-gitlist:0.1.1
29
22
imagePullPolicy : " Always"
30
23
volumeMounts :
31
- # - mountPath: "/var/git"
32
- # name: git-repo
33
24
- mountPath : " /var/git"
34
25
name : git-repo-iscsi
35
26
ports :
36
27
- name : http
37
28
containerPort : 8080
38
29
protocol : TCP
39
- # livenessProbe:
40
- # failureThreshold: 6
41
- # httpGet:
42
- # path: /
43
- # port: http
44
- # initialDelaySeconds: 30
45
- # timeoutSeconds: 15
46
- # readinessProbe:
47
- # httpGet:
48
- # path: /
49
- # port: http
50
- # initialDelaySeconds: 30
51
- # periodSeconds: 15
52
- # timeoutSeconds: 15
53
- # env:
54
- # - name : DB_USER
55
- # value: xwiki
56
- # - name : DB_PASSWORD
57
- # value: bj%ksFh!gdb76Dhd
58
- # - name : DB_HOST
59
- # value: itswiki-postgresql
60
- # - name : JAVA_OPTS
61
- # value: "-Xmx5048m -Xms5048m"
62
- # - name : CATALINA_OPTS
63
- # value: "-Xmx5048m -Xms5048m"
64
30
resources :
65
31
limits :
66
32
cpu : 1
72
38
- name : git-repo-iscsi
73
39
persistentVolumeClaim :
74
40
claimName : bioc-code-iscsi-pvc
75
- # - name: git-repo
76
- # persistentVolumeClaim:
77
- # claimName: bioc-code-tools-pvc
78
41
---
79
42
apiVersion : apps/v1
80
43
kind : Deployment
@@ -114,32 +77,6 @@ spec:
114
77
- name : http
115
78
containerPort : 8080
116
79
protocol : TCP
117
- # livenessProbe:
118
- # failureThreshold: 6
119
- # httpGet:
120
- # host: git-repo
121
- # path: /
122
- # port: http
123
- # initialDelaySeconds: 30
124
- # timeoutSeconds: 15
125
- # readinessProbe:
126
- # httpGet:
127
- # path: /
128
- # port: http
129
- # initialDelaySeconds: 30
130
- # periodSeconds: 15
131
- # timeoutSeconds: 15
132
- # env:
133
- # - name : DB_USER
134
- # value: xwiki
135
- # - name : DB_PASSWORD
136
- # value: bj%ksFh!gdb76Dhd
137
- # - name : DB_HOST
138
- # value: itswiki-postgresql
139
- # - name : JAVA_OPTS
140
- # value: "-Xmx5048m -Xms5048m"
141
- # - name : CATALINA_OPTS
142
- # value: "-Xmx5048m -Xms5048m"
143
80
resources :
144
81
limits :
145
82
cpu : 1
@@ -172,14 +109,7 @@ spec:
172
109
metadata :
173
110
labels :
174
111
app : code-home
175
- spec :
176
- # affinity:
177
- # podAffinity:
178
- # requiredDuringSchedulingIgnoredDuringExecution:
179
- # - labelSelector:
180
- # matchLabels:
181
- # app: git-repo
182
- # topologyKey: "kubernetes.io/hostname"
112
+ spec :
183
113
containers :
184
114
- name : code-home
185
115
image : grimbough/code.bioc-home:0.1.1
@@ -188,35 +118,10 @@ spec:
188
118
- name : http
189
119
containerPort : 8080
190
120
protocol : TCP
191
- # livenessProbe:
192
- # failureThreshold: 6
193
- # httpGet:
194
- # path: /
195
- # port: http
196
- # initialDelaySeconds: 30
197
- # timeoutSeconds: 15
198
- # readinessProbe:
199
- # httpGet:
200
- # path: /
201
- # port: http
202
- # initialDelaySeconds: 30
203
- # periodSeconds: 15
204
- # timeoutSeconds: 15
205
- # env:
206
- # - name : DB_USER
207
- # value: xwiki
208
- # - name : DB_PASSWORD
209
- # value: bj%ksFh!gdb76Dhd
210
- # - name : DB_HOST
211
- # value: itswiki-postgresql
212
- # - name : JAVA_OPTS
213
- # value: "-Xmx5048m -Xms5048m"
214
- # - name : CATALINA_OPTS
215
- # value: "-Xmx5048m -Xms5048m"
216
121
resources :
217
122
limits :
218
123
cpu : 1
219
- memory : 2Gi
220
- requests :
221
- cpu : 700m
222
124
memory : 1Gi
125
+ requests :
126
+ cpu : 500m
127
+ memory : 256Mi
0 commit comments