Overview
This template provides a production‑ready GridDB instance as a Monk runnable. You can:- Run it directly to get a managed GridDB container with sensible defaults
- Inherit it in your own runnable to seamlessly add a high-performance time-series database to your stack
What this template manages
- GridDB container (
griddb/griddbimage, configurable tag) - Network service on port 31999
- Persistent volumes for data storage
- Optional cluster configuration and authentication
Quick start (run directly)
- Load templates
- Run GridDB with defaults
- Customize configuration (recommended via inheritance)
variables. Secrets added with monk secrets add will not affect this runnable unless you inherit it and reference those secrets.
- Preferred: inherit and replace variables with
secret("...")as shown below. - Alternative: fork/clone and edit the
variablesingriddb.yml, thenmonk load MANIFESTand run.
localhost:31999 (or the runnable hostname inside Monk networks) using the configured credentials.
Configuration
Key variables you can customize in this template:Use by inheritance (recommended for apps)
Inherit the GridDB runnable in your application and declare a connection. Example:Ports and connectivity
- Service:
db-svcon TCP port31999 - From other runnables in the same process group, use
connection-hostname("\<connection-name>")to resolve the GridDB host.
Persistence and configuration
- GridDB uses an internal hybrid storage architecture combining in-memory and on-disk persistence
- Data is automatically persisted according to GridDB’s configuration
- For cluster deployments, configure the
notif_memberandnotif_addressvariables appropriately
Features
- In-memory and on-disk hybrid architecture
- Time-series data optimization
- High-speed data ingestion
- SQL-like query language (TQL)
- ACID transaction support
- Horizontal scalability with multi-node clusters
- Multi-master replication support
Related templates
- Combine with
grafana/for time-series visualization - Integrate with
telegraf/for metrics collection - Use with IoT data ingestion pipelines
Troubleshooting
- If you changed the
passwordbut the container has existing data, authentication may fail. Either reset the data volume or update the password configuration. - For cluster deployments, ensure all nodes can communicate on the configured multicast address.
- Check logs: