# HashiCorp Consul

HashiCorp Consul is a self-hosted development app. A distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure. It is open source and self-hosted, installable on Docker Hub and Kubernetes (Helm).

Canonical page: https://ourlocalhost.com/app/6005/hashicorp-consul

## Description

A distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.

## Platform availability

Available on 1 of 10 platforms: Helm.

## Health score

72/100 (Good), based on 4 of 4 factors.
- Maintained: 100 (last commit 2 days ago)
- Popular: 90 (30,117 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 20 (6 GB minimum RAM, runs on ARM)

## Links

- GitHub: https://github.com/hashicorp/consul
- Docker Hub: https://hub.docker.com/r/hashicorp/consul
- Official website: https://www.consul.io
- Kubernetes (Helm): https://artifacthub.io/packages/helm/hashicorp/consul
- Documentation: https://developer.hashicorp.com/consul

## Common questions

### What additional Kubernetes configuration is needed for Consul server agents on self-hosted Kubernetes?

You need to pre-define Persistent Volume Claims and a default storage class for the server agents.

### Does Consul automatically fix services after health checking marks them unhealthy?

No, it can avoid routing traffic to unhealthy hosts, but it does not fix the underlying problem.

### Can Consul be used to store application configuration?

It provides an HTTP API for storing indexed objects, which can hold configuration parameters and application metadata.

### Does Consul support running across multiple datacenters or regions?

Yes, it is datacenter aware and can support any number of regions without complex configuration.

### What prerequisites matter when using envconsul to load Consul keys into environment variables?

Start a local Consul agent first, keep the consuming process in the foreground, and pass a prefix that matches the Consul key paths.

---
Source: Our Local Host (https://ourlocalhost.com/app/6005/hashicorp-consul), the self-hosted and open-source app directory.
