alpha
Login
or
Join now
gwen.works
/
churros-notella
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
chore(k8s): add notella deployment
author
Gwen Le Bihan
date
1 year ago
(Feb 3, 2025, 11:54 PM +0100)
commit
19252757
1925275759160f1647f7f8b945707c39057edd3f
parent
31fe261f
31fe261f306197fb53a7a3a156bf3244f65fdf98
+64
2 changed files
Expand all
Collapse all
Unified
Split
kubernetes
notella
deployment.yaml
kustomization.yaml
+59
kubernetes/notella/deployment.yaml
Reviewed
···
1
1
+
apiVersion: apps/v1
2
2
+
kind: Deployment
3
3
+
metadata:
4
4
+
name: churros-notella
5
5
+
spec:
6
6
+
template:
7
7
+
spec:
8
8
+
affinity:
9
9
+
podAntiAffinity:
10
10
+
preferredDuringSchedulingIgnoredDuringExecution:
11
11
+
- weight: 1
12
12
+
podAffinityTerm:
13
13
+
topologyKey: 'kubernetes.io/hostname'
14
14
+
labelSelector:
15
15
+
matchLabels:
16
16
+
app: churros-notella
17
17
+
containers:
18
18
+
- image: registry.inpt.fr/churros/notella:latest
19
19
+
imagePullPolicy: IfNotPresent
20
20
+
name: api
21
21
+
readinessProbe:
22
22
+
initialDelaySeconds: 5
23
23
+
periodSeconds: 10
24
24
+
httpGet:
25
25
+
scheme: HTTP
26
26
+
path: /
27
27
+
port: 4000
28
28
+
resources:
29
29
+
requests:
30
30
+
memory: '512Mi'
31
31
+
cpu: '300m'
32
32
+
limits:
33
33
+
memory: '1024Mi'
34
34
+
cpu: '800m'
35
35
+
env:
36
36
+
- name: DATABASE_BASE_URL
37
37
+
valueFrom:
38
38
+
secretKeyRef:
39
39
+
name: churros-postgresql-app
40
40
+
key: uri
41
41
+
- name: DATABASE_URL
42
42
+
value: $(DATABASE_BASE_URL)?pool_timeout=60
43
43
+
envFrom:
44
44
+
- configMapRef:
45
45
+
name: churros-config
46
46
+
- secretRef:
47
47
+
name: churros-secrets
48
48
+
initContainers:
49
49
+
- image: churros.inpt.fr/churros/churros/prisma:latest
50
50
+
name: migrator
51
51
+
imagePullPolicy: IfNotPresent
52
52
+
env:
53
53
+
- name: DATABASE_BASE_URL
54
54
+
valueFrom:
55
55
+
secretKeyRef:
56
56
+
name: churros-postgresql-app
57
57
+
key: uri
58
58
+
- name: DATABASE_URL
59
59
+
value: $(DATABASE_BASE_URL)?pool_timeout=60
+5
kubernetes/notella/kustomization.yaml
Reviewed
···
1
1
+
commonLabels:
2
2
+
app: notella
3
3
+
4
4
+
resources:
5
5
+
- deployment.yaml