-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TimescaleDB Toolkit? #16
Comments
I'm also interested in this. I've read in Timescale's documentation that the toolkit is included in the official |
@Sh1ken @Felk Thanks for opening this, I wasn't aware of the Toolkit! I could investigate installing it, but it seems the latest CNPG version has added official support for TimescaleDB via the image catalog. I haven't tried it yet, but it looks like it will use the official |
Thank you for pointing us in this direction. In the end I tried to use StackGres given that it included the Tried to switch to the Community license by modifing the Will try to implement CNPG with this new chart now. Looks very promising and already found a blog post that uses CNPG with Timescale + Toolkit with the Community license. Apparently the author (@tqwewe) ended up in the same rabbit hole as me, lol. Hopefully this helps @Felk as well. Cheers and thank you so much for your support! |
Also @gabe565, I tried to add the Almost had success with it but had an issue retriving the correct package from packagecloud and that issue is still open: timescale/timescaledb-toolkit#799 (comment). So, if you end up adding support for |
Hey @gabe565 @Sh1ken, I indeed got CNPG working with the official TimescaleDB-HA-image by using the image catalog. I originally ran into some issues, which I described in more details here: cloudnative-pg/charts#414 The short answer is: either use the cnpg helm chart (as described in the linked issue), or use an image catalog with the following additional tweaks:
So a minimal complete apiVersion: postgresql.cnpg.io/v1
kind: ClusterImageCatalog
metadata:
name: timescale
namespace: cnpg
spec:
images:
- major: 16
image: timescale/timescaledb-ha:pg16
---
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: example
spec:
imageCatalogRef:
apiGroup: postgresql.cnpg.io
kind: ClusterImageCatalog
name: timescale
major: 16
instances: 1
postgresql:
shared_preload_libraries:
- timescaledb
bootstrap:
initdb:
postInitTemplateSQL:
- CREATE EXTENSION IF NOT EXISTS timescaledb;
- CREATE EXTENSION IF NOT EXISTS timescaledb_toolkit;
postgresGID: 1000
postgresUID: 1000 |
Thanks for your input, @Felk. I already got my instance going thanks to the instructions provided by @tqwewe linked above without any issues. Yay! Having said that, I'd rather use your sample config though -- seems like I'd have more control with this definition just relying on the official helm chart rather an intermediate package, specially now that |
@Sh1ken @Felk Thanks for all the info! I'll have to try out out the image catalog. Frustrating that it has to run as a different UID, but at least it works.
@Sh1ken That's messy. It looks to me like the issue is that they don't have arm64 versions of the toolkit for v16+. I tested with
so I'm essentially running as an amd64 machine. |
First of all, thanks for this repo! I got Timescale working on my Kubernetes cluster real quick. :)
Have you considered including the TimescaleDB Toolkit also?
I'll have to implemented it either way so let me know if you're open to PRs.
Cheers.
The text was updated successfully, but these errors were encountered: