From ff1546509b431ccda52f81d955eb1918ef806718 Mon Sep 17 00:00:00 2001 From: Gary Vermeulen Date: Thu, 21 Nov 2024 12:00:57 +0000 Subject: [PATCH] added troubleshooting for disabling the apim initContainer --- charts/portal/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/charts/portal/README.md b/charts/portal/README.md index 63dc932d..ef9f5bcd 100644 --- a/charts/portal/README.md +++ b/charts/portal/README.md @@ -996,6 +996,17 @@ If the RabbitMQ cluster is stopped or removed out of order, there is a chance th $ helm upgrade --set-file --set -f layer7/portal ``` +### The APIM Container fails to start because RabbitMQ is unavailable +In Portal Chart version 2.3.11 an initContainer was added to the apim deployment to resolve a race condition with slower hardware. If RabbitMQ does not start correctly for one of the reasons above and you wish to use the Portal API without it, then the initContainer can be disabled which should allow apim to start. + +- set apim.preflightCheck.enabled to false +``` +apim: + ... + preflightCheck: + enabled: false + ... +``` ### Helm UPGRADE FAILED: cannot patch "db-upgrade" and "rbac-upgrade" If helm upgrade of the portal fails with error "Error: UPGRADE FAILED: cannot patch 'db-upgrade'", it is becasue of the limitation in kubernetes where a job can not be updated.