feat: debug k8s-apply
This commit is contained in:
2 files changed
+9
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user