Install Promscale on Kubernetes
You can install Promscale on Kubernetes using Helm or using a manifest file.
note
Before installing Promscale, refer to:
- Promscale Resource recommendation guide to understand the resource requirements.
- Promscale Configuration recommendation guide to understand configuration requirements.
Before you begin
- Install Helm. For more information, including packages and installation instructions, see the Helm documentation.
- Create a TimescaleDB service on Timescale Cloud.
Install the Promscale using Helm chart
Promscale needs to access your TimescaleDB database. You can provide the database URI, or specify connection parameters.
Installing the Promscale using Helm chart
Add the TimescaleDB Helm chart repository:
helm repo add timescale 'https://charts.timescale.com'
Check that the repository is up to date:
helm repo update
Install the Promscale Helm chart. Replace
RELEASE_NAME
with the name of your choice andTS_CLOUD_DB_URI
with theService URL
that you made note of when you created the TimescaleDB service:helm install <RELEASE_NAME> timescale/promscale --set connection.uri=<TS_CLOUD_DB_URI>
Install Promscale with a manifest file
You can install the Promscale Connector using a manifest file.
Installing the Promscale Connector with a manifest
Download the template manifest file:
curl https://raw.githubusercontent.com/timescale/promscale/0.14.0/deploy/static/deploy.yaml --output promscale-connector.yaml
Edit the manifest and configure the TimescaleDB database details. Add the
<PROMSCALE_DB_URI>
parameter inpromscale secret
, and remove the other<PROMSCALE_DB_*>
parameters. These are not required, because Promscale Connector integrates with Timescale Cloud directly.Deploy the manifest:
kubectl apply -f promscale-connector.yaml
When you have installed Promscale, you can ingest data in a few different ways:
Migrate existing Prometheus data with Prom-migrator.
Ingest incoming data. For more information, see the send data section.