dc952ed548
feat(helm): set deployment terminationGracePeriodSeconds to 10
2023-10-03 11:41:22 +02:00
9b05f8441f
feat(helm): set deployment rollingUpdate.maxUnavailable to 1
2023-10-03 11:40:29 +02:00
4330045f11
feat(helm): liveness probe config
2023-10-03 11:40:08 +02:00
2000699f98
fix(helm): properly propagate ingressClassName
2023-10-03 10:27:46 +02:00
56069dbda5
refactor: add /api/livez endpoint for kubernetes liveness probe, remove readiness probe
2023-09-09 01:10:42 +02:00
7cdcf52149
feat(helm): set replicaCount to 2 for production
2023-09-04 11:26:40 +02:00
0f7fee21e0
fix(helm): difference between preferred... and required...
...
- preferred (soft) pod (anti) affinity has weights and podAffinityTerm, required does not
- required (hard) pod (anti) affinity has directly array with labelSelector (no weight and no podAffinityTerm)
2023-09-03 14:11:21 +02:00
aa0637e6fc
fix(helm): add missing weight param to podAntiAffinity item
2023-09-03 14:04:33 +02:00
d16eb3d7b9
fix(helm): add default pdb.minAvailable to values.yaml
2023-09-03 12:02:44 +02:00
bdb17ba397
fix(helm): .Values.replicaCount type for comparison
2023-09-03 11:24:26 +02:00
60d455c938
feat(helm): add podAntiAffinity (soft), run instances across nodes
2023-09-03 10:53:25 +02:00
e66c493366
feat(helm): add PodDisruptionBudget and run staging in two replicas
2023-09-03 10:52:39 +02:00
2a7b833b2e
refactor(nextauth): change provider from Google to Keycloak
...
- using self-hosted keycloak as SSO `https://sso.mareshq.com `
2023-09-02 17:37:45 +02:00
a976fcdce0
refactor(helm): increase job .spec.activeDeadlineSeconds to 5 minutes
2023-07-05 17:10:09 +02:00
b88aec0a3d
refactor(helm): x2 cpu resources for jobs (to 200mCPU)
2023-07-05 17:09:02 +02:00
4c663dfe52
refactor(helm): x2 job (migration, seed) resources (to 512Mi RAM)
2023-07-05 17:04:35 +02:00
b479b98ef3
refactor(helm): x2 job (migration, seed) resources
2023-07-05 17:01:18 +02:00
ccdc5fb9b6
feat(helm): add resource requests and limits to jobs, adjust resources for deployment
2023-07-05 16:56:05 +02:00
595fc73364
ci: add deploy dry run and deploy jobs to production
2023-07-04 21:20:46 +02:00
5e46503a3a
feat(helm): Deployment: specify upgrade strategy (RollingUpdate)
2023-07-04 21:07:58 +02:00
6428d1e346
fix(helm): remove Ingress cert-manager.io/issuer annotation (.../cluster-issuer is already set)
2023-07-04 21:05:12 +02:00
a509c09d75
fix(helm): add Deployment's missing .spec.template.metadata.labels
2023-07-04 20:48:08 +02:00
800f65a5e6
refactor(helm): do not specify Job .spec.selector (bast practice)
...
See: https://kubernetes.io/docs/concepts/workloads/controllers/job/#specifying-your-own-pod-selector
2023-07-04 20:44:25 +02:00
d09c18f654
feat(helm): add and unify labels
2023-07-04 20:40:54 +02:00
060e5a4f14
fix(helm): seed job esbuild output file path to /app/cache/seed.cjs
2023-07-04 19:31:28 +02:00
22ebadf393
refactor(helm): move seed job emptyDir mount to /app/cache (from /cache)
2023-07-04 19:28:34 +02:00
b73d9e5f48
refactor(helm): add emptyDir volume to seed job to write seed.cjs file to (/cache/seed.cjs)
2023-07-04 18:59:34 +02:00
f6558172b0
refactor(helm): run seed job with esbuild
...
See: https://github.com/prisma/prisma/issues/7053#issuecomment-851589268
2023-07-04 18:29:51 +02:00
29b5c1fcae
fix(helm): set NODE_ENV to 'production' for staging
2023-07-04 18:19:19 +02:00
6e74ef1810
fix(helm): typo
2023-07-04 13:17:26 +02:00
86d3320673
refactor(helm): job-db-seed run npx prisma db seed
2023-07-04 13:13:40 +02:00
ada27c7284
refactor(helm): job-db-seed: run as shell, install tsx, prisma, run directly npm tsx prisma/seed.ts
2023-07-04 13:07:17 +02:00
7f8bed3483
refactor(helm): set backoffLimit for jobs to 0
2023-07-04 12:11:15 +02:00
e36bdc79cd
fix(helm): set image registry to 'registry.mareshq.com/mareshq/backoffice'
2023-07-03 21:34:20 +02:00
4187512f88
feat(helm): add image pull secret for private registries
2023-07-03 21:30:33 +02:00
38c28dc73f
chore(helm): rename jobs
2023-07-03 21:12:16 +02:00
60cf6fdbba
fix(helm): specify secrets' .type (set to opaque)
2023-07-03 19:30:15 +02:00
24a205dc19
chore(helm): add .image.tag to values.dummy.yaml
2023-07-03 19:07:59 +02:00
9d27ab7962
fix(helm): remove lables (set automatically by helm), move annotations from .metadata.labels to .metadata
2023-07-03 19:07:03 +02:00
764824b92b
fix(helm): configmap kind
...
- kind: kind: ConfigMap won't work...
2023-07-03 18:50:23 +02:00
72ffd68df5
feat(helm): quote values
2023-07-03 18:49:59 +02:00
0fa03a9c18
chore(helm): add values.dummy.yaml (for testing)
2023-07-03 18:49:18 +02:00
6b8302bf4c
fix(helm): .service.portName (not .port.name)
2023-07-03 18:31:22 +02:00
75f9b1cf2d
fix: yaml path to secrets and env
...
- backoffice.secrets.*
- backoffice.env
2023-07-03 18:16:23 +02:00
d454ec8fc9
feat: add helm chart
2023-07-03 17:59:20 +02:00