Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Set up kustomization #449

Merged
merged 23 commits into from
Aug 8, 2024
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
400f29b
chore: Remove existing k8s directory
microamp Jul 29, 2024
cc9d3b0
feat: Set up kustomization
microamp Jul 30, 2024
9ef3133
chore: Consistent indentation
microamp Jul 30, 2024
5b54451
chore: Add bib.bib.svc.cluster.local to INTERNAL_HOSTNAMES
microamp Jul 30, 2024
798103a
chore: Remove bib- prefix from app label
microamp Jul 31, 2024
f59fc9b
refactor: Remove /bin/sh -c from commands as redundant
microamp Jul 31, 2024
1a4e642
chore: Remove duplicate bib- prefix
microamp Aug 1, 2024
41d5dce
chore: Add missing labels
microamp Aug 1, 2024
09cf093
chore: Remove config map in favour of external secret
microamp Aug 4, 2024
b716c55
chore: Add secrets.yaml (placeholders)
microamp Aug 4, 2024
5163f5e
chore: Remove bibxml- and bibxml-service- prefixes
microamp Aug 7, 2024
4f145e5
chore: Name deployment appropriately
microamp Aug 7, 2024
4faa192
fix: Use correct image tag for redis container
microamp Aug 7, 2024
29cd2e7
revert: Bring back /bin/sh -c
microamp Aug 7, 2024
ba6dd2a
fix: Add security context to redis container
microamp Aug 7, 2024
a79ad21
fix: Mount /tmp volume in celery container
microamp Aug 7, 2024
3dd9fda
chore: Specify correct var for database password
microamp Aug 7, 2024
7a2376f
fix: Specify uid and gid in celery worker command
microamp Aug 7, 2024
60f7963
fix: Use 33 for user, group and fs group
microamp Aug 7, 2024
b5ff2c6
fix: Remove uid and gid params from celery worker command
microamp Aug 7, 2024
d6ce957
fix: Provide pidfile and schedule params to celery worker command
microamp Aug 7, 2024
2110708
fix: Give redis container access to dump file (/data/dump.rdb)
microamp Aug 7, 2024
3a5b2c6
fix: Use uid 999 and gid 999 in redis container
microamp Aug 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions k8s/bib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ spec:
volumeMounts:
- name: datasets
mountPath: /data/datasets
- name: tmp
mountPath: /tmp
envFrom:
- secretRef:
name: bib-secrets-env
Expand Down Expand Up @@ -91,6 +93,9 @@ spec:
- name: datasets
emptyDir:
sizeLimit: 5Gi
- name: tmp
emptyDir:
sizeLimit: 1Gi
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kesara This was to fix

[2024-08-07 21:48:12,394: CRITICAL/MainProcess] Unrecoverable error: FileNotFoundError(2, "No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/code']")

Let me know if 1Gi is overkill.

---
apiVersion: v1
kind: Service
Expand Down
Loading