Reputation: 111
I have installed postgres using helm charts
helm install patroni bitnami/postgresql-ha --values default-values-repmgr.yaml
Image: bitnami/postgresql-repmgr:16.4.0-debian-12-r27
postgresql-repmgr this image is doing below things
Installed Postgresql &
Doing HA & Replication
I now wants to install the timescaledb using command key in default-values-repmgr.yaml which is below
postgresql:
image:
registry: docker.io
repository: bitnami/postgresql-repmgr
tag: 16.4.0-debian-12-r27
digest: ""
pullPolicy: IfNotPresent
command:
- /bin/bash
- -c
- |
set -e
echo "Installing required utilities..."
apt-get update
apt-get install -y curl gnupg lsb-release ca-certificates
echo "Adding TimescaleDB repository..."
curl -sSL https://packagecloud.io/timescale/timescaledb/gpgkey | apt-key add -
DISTRO=$(lsb_release -c | awk '{print $2}')
echo "deb https://packagecloud.io/timescale/timescaledb/debian/ $DISTRO main" > /etc/apt/sources.list.d/timescaledb.list
apt-get update
echo "Installing TimescaleDB package..."
apt-get install -y timescaledb-2-postgresql-16 timescaledb-2-loader-postgresql-16 timescaledb-tools timescaledb-toolkit-postgresql-16
echo "TimescaleDB installation completed."
now getting this issue in the pod
kubectl logs patroni-postgresql-ha-postgresql-1
Installing required utilities...
Reading package lists...
E: List directory /var/lib/apt/lists/partial is missing. - Acquire (2: No such file or directory)
Upvotes: 1
Views: 40