Back to templates
InfluxDB icon

Deploy InfluxDB on Sealos

InfluxDB is an open source time series database built for real-time analytics, metrics, events, and IoT data.

Database
Run InfluxDB with persistent storage provisioned by Sealos.Keep database administration close to your cloud applications.Scale compute and storage resources as data usage grows.Deploy without hand-writing StatefulSet, volume, or service YAML.

Why deploy on Sealos

Sealos makes deploying any app effortless, secure, and production-ready. From one-click launch to ongoing operations, we handle the heavy lifting so you can focus on what matters.

One-Click Deploy
Sealos logo
Compute
Networking
Storage
Security
Observability
Your Application is Live

One-Click Deployment

Deploy any app template in seconds. No compose setup, manual configure, and go live.

Managed Kubernetes Reliability

Built on Sealos Managed Kubernetes for high availability, auto-scaling, and self-healing by default.

Automatic HTTPS & Security

Every deployment includes a secure domain with automatic SSL. We handle certificates and text protection for you.

Persistent Storage

Attach persistent volumes with ease. Your data stays safe, durable, and always accessible.

Scale when needed

Adjust resources as your app grows, no downtime required.

You Get the Whole Stack

Sealos provisions and connects every resource your application needs. Everything is ready to use.

One-click, fully provisionedSecure by defaultProduction ready

App Service

Your application is running and ready to serve requests.

Public HTTPS URL

Secure, global endpoint to access your application.

Database

Managed database instance for your application.

Persistent Volume

Durable storage for uploads and application data.

Environment Variables

Configuration and secrets injected securely into your app.

Logs & Metrics

Centralized logs and basic metrics are enabled.

README

README.md

Deploy and Host InfluxDB on Sealos

InfluxDB is an open source time series database for real-time analytics, metrics, events, and IoT data. This template deploys InfluxDB 2.9.1 with persistent storage, a compact default resource profile, and a public web UI on Sealos Cloud.

About Hosting InfluxDB

InfluxDB stores timestamped measurements and provides a queryable platform for dashboards, alerting systems, observability pipelines, and sensor data. This Sealos template runs InfluxDB as a single StatefulSet with a persistent volume mounted at /var/lib/influxdb2, so databases, buckets, tokens, and metadata survive restarts.

During first startup, the template initializes an admin user, organization, bucket, and API token from the deployment form. Sealos provisions HTTPS access through Ingress, keeps the workload on Kubernetes, and exposes the InfluxDB UI through an App entry in the Canvas.

Common Use Cases

  • Infrastructure Monitoring: Store CPU, memory, disk, network, and service metrics for dashboards and alerts.
  • IoT Telemetry: Ingest high-volume sensor data from devices, gateways, and edge systems.
  • Application Analytics: Track events, counters, timings, and product usage trends over time.
  • DevOps Observability: Retain build, deployment, and runtime measurements for troubleshooting.
  • Real-Time Experiments: Query recent time series data for operational analysis and prototypes.

Dependencies for InfluxDB Hosting

The Sealos template includes the InfluxDB container image, persistent storage, a Kubernetes Service, HTTPS Ingress, and a Sealos App entry. No external database is required.

Deployment Dependencies

Implementation Details

Architecture Components:

This template deploys the following resources:

  • InfluxDB StatefulSet: Runs docker.io/library/influxdb:2.9.1 with 200m CPU and 128Mi memory limits, and stores data in /var/lib/influxdb2.
  • Persistent Volume: Provides 1 GiB of durable storage for time series data and metadata.
  • Service: Exposes the InfluxDB HTTP API and web UI on port 8086 inside the cluster.
  • Ingress: Provides HTTPS access at the generated Sealos domain.
  • App Entry: Adds a direct InfluxDB link in the Sealos Canvas.

Configuration:

The template uses InfluxDB's official first-run setup environment variables. Set the admin password and API token in the deployment form, then save them securely. The default organization is sealos, and the initial bucket is primary.

License Information:

InfluxDB is licensed under open source licenses published by InfluxData. This Sealos template is provided as a deployment wrapper for the official InfluxDB container image.

Why Deploy InfluxDB on Sealos?

Sealos is an AI-assisted Cloud Operating System built on Kubernetes that unifies the application lifecycle, from deployment to ongoing operations. By deploying InfluxDB on Sealos, you get:

  • One-Click Deployment: Launch InfluxDB from the App Store without writing Kubernetes YAML.
  • Persistent Storage Included: Keep time series data and metadata across restarts.
  • Instant Public Access: Use an automatically provisioned HTTPS URL for the InfluxDB UI and API.
  • Easy Customization: Adjust credentials, resources, and storage through the deployment form and Canvas.
  • Kubernetes Foundation: Run on a cloud-native platform with service discovery, rollout management, and resource controls.
  • Pay-As-You-Go Resources: Start with a small footprint and scale resources when ingestion or query volume grows.

Deployment Guide

  1. Open the InfluxDB template and click Deploy Now.
  2. Configure the parameters in the popup dialog:
    • Initial InfluxDB admin password: Password for the admin web UI user.
    • Initial InfluxDB API token: Token for CLI, API, and client integrations.
  3. Save the password and token securely before deploying. InfluxDB uses them during first initialization.
  4. Wait for deployment to complete, typically 2-3 minutes. After deployment, you will be redirected to the Canvas. For later changes, describe your requirements in the dialog to let AI apply updates, or click the relevant resource cards to modify settings.
  5. Access InfluxDB from the provided App URL.
  6. Log in to the web UI with:
    • Username: admin
    • Password: the admin password you configured during deployment

InfluxDB does not provide public self-registration in this template. The initial admin account is created automatically during first startup.

Configuration

After deployment, you can configure InfluxDB through:

  • InfluxDB UI: Create buckets, tokens, dashboards, and data sources from the web interface.
  • InfluxDB API and CLI: Use the API token configured during deployment for automation.
  • Sealos AI Dialog: Describe resource or configuration changes and let AI apply updates.
  • Resource Cards: Open the StatefulSet, Service, Ingress, or storage cards in Canvas to review or adjust settings.

Scaling

To scale resources for higher ingestion or query volume:

  1. Open the Canvas for your deployment.
  2. Click the InfluxDB StatefulSet resource card.
  3. Adjust CPU and memory resources according to your workload.
  4. Increase persistent storage if your retention policy requires more capacity.
  5. Apply the changes in the dialog and wait for the pod to become ready again.

Troubleshooting

Cannot log in

  • Cause: The password entered in the UI does not match the value configured during first deployment.
  • Solution: Use username admin and the initial admin password from the deployment form. If the value was lost, redeploy with a new password and token, or reset credentials manually inside InfluxDB.

Pod is not ready

  • Cause: The first initialization may still be running, or resource limits may be too small for the workload.
  • Solution: Wait a few minutes, then check the StatefulSet logs from the Canvas. Increase memory if the pod restarts under load.

API clients cannot authenticate

  • Cause: The client token does not match the initial API token or a token created in the UI.
  • Solution: Use the deployment token or create a new token from Load Data → API Tokens in the InfluxDB UI.

Getting Help

Additional Resources

License

This Sealos template is provided under the repository license. InfluxDB is licensed by InfluxData under the licenses published in the official project repository.

Related templates

Explore more production-ready templates.

More

Ready to Stop Configuring and
Start Creating?

Get started for free. No credit card required.

Play