From ee42e8a0b1ee781e2f550f86166f0f8b8ea45587 Mon Sep 17 00:00:00 2001 From: Janik von Rotz Date: Mon, 16 Dec 2024 09:55:07 +0100 Subject: [PATCH] feat: debug k8s-apply --- README.md | 6 ++++++ task | 3 +++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 380a6d14..9a675c56 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/task b/task index fa2a0ec5..844848af 100755 --- a/task +++ b/task @@ -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)