Skip to content

kubeapps-postgresql-0 CrashLoopBackOff #8146

Open
@sjxuereb

Description

@sjxuereb

Describe the bug

Postgres keeps crashing after installation. I tried with a standard installation and also with an nfs storageclass. it keeps crashing on the simplest of installations/configuration. I tried installing kubeapps several times.

After logging in kubeapps dashboard the catalog takes a long time to load and then I notice the postgres pod crashes. The pod revives and crashes on every dashboard command.

kubeapps-postgresql-0 0/1 CrashLoopBackOff

OS: Ubuntu 24.04.1 LTS
K8: Client Version: v1.31.3, Kustomize Version: v5.4.2, Server Version: v1.31.3
Helm: Version:"v3.16.3"

CHART NAME: kubeapps
CHART VERSION: 17.0.3
APP VERSION: 2.12.0**

To Reproduce

helm install kubeapps oci://registry-1.docker.io/bitnamicharts/kubeapps --namespace kapps --set useHelm3=true --set postgresql.resourcesPreset=2xlarge

Control 10g Ram /8 cores/ 32G disk
Workers 8g Ram /4cores/ 32G disk

Expected behavior

Normal behavior of the postgres and kubeapps dashboard.

Screenshots

Additional context
I also tried with a storageclass. Same results, postgres keeps crashing.

--set global.defaultStorageClass=nfs-client
--set postgresql.primary.persistence.enabled=true
--set redis.master.persistence.enabled=true
--set redis.replica.persistence.enabled=true

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugAn issue that reports a defect in an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions