-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy pathhelm.yaml
259 lines (257 loc) · 7.07 KB
/
helm.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
---
# Source: immich/templates/machine-learning.yaml
apiVersion: v1
kind: Service
metadata:
name: release-name-machine-learning
labels:
app.kubernetes.io/service: release-name-machine-learning
app.kubernetes.io/instance: release-name
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: machine-learning
app.kubernetes.io/version: v1.119.0
helm.sh/chart: immich-0.9.0
annotations:
spec:
type: ClusterIP
ports:
- port: 3003
targetPort: http
protocol: TCP
name: http
selector:
app.kubernetes.io/instance: release-name
app.kubernetes.io/name: machine-learning
---
# Source: immich/templates/server.yaml
apiVersion: v1
kind: Service
metadata:
name: release-name-server
labels:
app.kubernetes.io/service: release-name-server
app.kubernetes.io/instance: release-name
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: server
app.kubernetes.io/version: v1.119.0
helm.sh/chart: immich-0.9.0
annotations:
spec:
type: ClusterIP
ports:
- port: 2283
targetPort: http
protocol: TCP
name: http
selector:
app.kubernetes.io/instance: release-name
app.kubernetes.io/name: server
---
# Source: immich/templates/machine-learning.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: release-name-machine-learning
labels:
app.kubernetes.io/instance: release-name
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: machine-learning
app.kubernetes.io/version: v1.119.0
helm.sh/chart: immich-0.9.0
spec:
revisionHistoryLimit: 3
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app.kubernetes.io/name: machine-learning
app.kubernetes.io/instance: release-name
template:
metadata:
labels:
app.kubernetes.io/name: machine-learning
app.kubernetes.io/instance: release-name
spec:
serviceAccountName: default
automountServiceAccountToken: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
containers:
- name: release-name-machine-learning
image: ghcr.io/immich-app/immich-machine-learning:v1.119.0
imagePullPolicy: IfNotPresent
env:
- name: DB_DATABASE_NAME
value: immich
- name: DB_HOSTNAME
value: postgresql.data
- name: DB_PASSWORD
value: immich
- name: DB_USERNAME
value: immich
- name: DB_VECTOR_EXTENSION
value: pgvector
- name: IMMICH_MACHINE_LEARNING_URL
value: http://release-name-machine-learning:3003
- name: IMMICH_TELEMETRY_INCLUDE
value: all
- name: REDIS_HOSTNAME
value: redis-master.data
- name: TRANSFORMERS_CACHE
value: /cache
ports:
- name: http
containerPort: 3003
protocol: TCP
volumeMounts:
- name: cache
mountPath: /cache
livenessProbe:
failureThreshold: 3
httpGet:
path: /ping
port: http
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
readinessProbe:
failureThreshold: 3
httpGet:
path: /ping
port: http
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
startupProbe:
failureThreshold: 60
httpGet:
path: /ping
port: http
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
volumes:
- name: cache
emptyDir:
{}
---
# Source: immich/templates/server.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: release-name-server
labels:
app.kubernetes.io/instance: release-name
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: server
app.kubernetes.io/version: v1.119.0
helm.sh/chart: immich-0.9.0
spec:
revisionHistoryLimit: 3
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app.kubernetes.io/name: server
app.kubernetes.io/instance: release-name
template:
metadata:
labels:
app.kubernetes.io/name: server
app.kubernetes.io/instance: release-name
spec:
serviceAccountName: default
automountServiceAccountToken: true
dnsPolicy: ClusterFirst
enableServiceLinks: true
containers:
- name: release-name-server
image: ghcr.io/immich-app/immich-server:v1.119.0
imagePullPolicy: IfNotPresent
env:
- name: DB_DATABASE_NAME
value: immich
- name: DB_HOSTNAME
value: postgresql.data
- name: DB_PASSWORD
value: immich
- name: DB_USERNAME
value: immich
- name: DB_VECTOR_EXTENSION
value: pgvector
- name: IMMICH_MACHINE_LEARNING_URL
value: http://release-name-machine-learning:3003
- name: IMMICH_TELEMETRY_INCLUDE
value: all
- name: REDIS_HOSTNAME
value: redis-master.data
ports:
- name: http
containerPort: 2283
protocol: TCP
volumeMounts:
- name: library
mountPath: /usr/src/app/upload
- name: pictures
mountPath: /pictures
subPath: cfis
livenessProbe:
failureThreshold: 3
httpGet:
path: /api/server/ping
port: http
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
readinessProbe:
failureThreshold: 3
httpGet:
path: /api/server/ping
port: http
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
startupProbe:
failureThreshold: 30
httpGet:
path: /api/server/ping
port: http
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
volumes:
- name: library
persistentVolumeClaim:
claimName: immich-library
- name: pictures
persistentVolumeClaim:
claimName: pictures-cfis
---
# Source: immich/templates/server.yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: release-name-server
labels:
app.kubernetes.io/instance: release-name
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: server
app.kubernetes.io/version: v1.119.0
helm.sh/chart: immich-0.9.0
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: "0"
spec:
ingressClassName: nginx
rules:
- host: "immich.savagexi.com"
http:
paths:
- path: "/"
pathType: Prefix
backend:
service:
name: release-name-server
port:
number: 2283