feat: debug k8s-apply

This commit is contained in:
Janik von Rotz committed 2024-12-16 09:55:07 +01:00
1 parent d030e03398
commit ee42e8a0b1
2 files changed
+9

No files matched your search

+6
View File
@@ -344,6 +344,12 @@ While starting the native server this error is thrown:
OSError: [Errno 24] inotify instance limit reached
```
Or this error:
```bash
inotify.calls.InotifyError: Call failed (should not be -1): (-1) ERRNO=(0)
```
**Solution**
Increase inotify watch limit.
+3
View File
@@ -851,6 +851,9 @@ function k8s-apply() {
kubectl apply -f k8s/odoo16-deploy.yaml
kubectl apply -f k8s/odoo-svc.yaml
# debug
kubectl get pods
ODOO_POD=$(kubectl get pods -o=name --all-namespaces | grep odoo)
POSTGRES_POD=$(kubectl get pods -o=name --all-namespaces | grep postgres)