postgres-operator icon indicating copy to clipboard operation
postgres-operator copied to clipboard

How to use timescale license

Open archsyscall opened this issue 3 years ago • 2 comments

We are using timescale db from postgres operator. By default, using timescale is applied under the Apache License. But I want to use it with Timescale License. How can I set it up?

  • Which image of the operator are you using? registry.opensource.zalan.do/acid/spilo-14:2.1-p6
  • Where do you run it - cloud or metal? Kubernetes or OpenShift? AWS K8s
  • Are you running Postgres Operator in production? no
  • Type of issue? question

Some general remarks when posting a bug report:

  • Please, check the operator, pod (Patroni) and postgresql logs first. When copy-pasting many log lines please do it in a separate GitHub gist together with your Postgres CRD and configuration manifest.
  • If you feel this issue might be more related to the Spilo docker image or Patroni, consider opening issues in the respective repos.

archsyscall avatar Dec 07 '22 09:12 archsyscall

I have the exact same question. Was pretty surprised to not have important timescaledb feature available. Guess this can somehow achieved according to https://github.com/zalando/postgres-operator/issues/1795#issuecomment-1047654957

MartinLoeper avatar Jun 01 '24 22:06 MartinLoeper

I got it working as follows:

  • Clone the spilo repository
  • build the spilo image as follows: docker build --build-arg TIMESCALEDB_APACHE_ONLY=false --build-arg PGVERSION="16" postgres-appliance
  • push it into your favorite docker registry, e.g. docker.io/loeper/spilo with tag e.g. 16 (postgres version)
  • add the following postgres-operator helm chart values:
configPatroni:
  image:
    repository: docker.io/loeper/spilo
    tag: 16

MartinLoeper avatar Jun 01 '24 23:06 MartinLoeper

Hello. I'm having the same problem. I'm using Zalando postgres-operator Helm chart. But I couldn't find how to make TIMESCALEDB_APACHE_ONLY=false. Can you help me?

abbabe avatar Oct 24 '24 09:10 abbabe

Build your own Spiloimage and change it there.

FxKu avatar Oct 27 '25 08:10 FxKu