Nomad
InfluxDB
@hashicorp
InfluxDB is an open source time series database for recording metrics, events, and analytics.
- Community
- Pack
Updated 2 years ago
- GitHub(opens in new tab)
InfluxDB
This pack contains all you need to deploy InfluxDB (version 2 by default) in Nomad. It uses Docker driver.
Variables
job_name
(string) - The name to use as the job name which overrides using the pack name.region
(string) - The region where jobs will be deployed.datacenters
(list of strings) - A list of datacenters in the region which are eligible for task placement.namespace
(string) - The namespace where the job should be placed.constraints
(string) - Constraints to apply to the entire job.image_name
(string) - The docker image name.image_tag
(string) - The docker image tag.task_resources
(object, number number) Resources used by InfluxDB taskregister_consul_service
(bool) - If you want to register a consul service for the jobconsul_service_name
(string) - The consul service name for the hello-world applicationconsul_service_tags
(list of string) - The consul service name for the hello-world applicationconfig_volume_name
(string) - The name of the configuration dedicated volume you want InfluxDB to usedata_volume_name
(string) - The name of the data dedicated volume you want InfluxDB to useconfig_volume_type
(string) - The type of the configuration dedicated volume you want InfluxDB to usedata_volume_type
(string) - The type of the data dedicated volume you want InfluxDB to usedocker_influxdb_env_vars
(map of string) - Environment variables to pass to Docker container
Automated Setup
If you pass the right environment variables to the pack, you can automatically setup the init of InfluxDB.
An example of the docker_influxdb_env_vars
to use is in the vars.nomad
file.