Consul

hashicorp/consul/standalone

Single-node HashiCorp Consul in dev mode

Deploys a single-node HashiCorp Consul server into a local Kind cluster with host access on port 30500 (UI). Useful for service discovery and key-value storage in development.

Install gck#

go install github.com/gravitee-io-labs/gck@latest

For other installation methods, see Installation .

Usage#

Create#

gck create --from hashicorp/consul/standalone

Cleanup#

gck delete

Quick Start#

Open the Consul UI from your host:

open http://localhost:30500

No authentication is configured.

Endpoints

Services this context exposes on your machine after gck create, including the ones it inherits from the contexts it composes. Rows marked with a flag only exist when you pass it.

ServiceURLNotesFrom
Consulhttp://localhost:30500hashicorp/consul/standalone

Variables

Template variables overridable with --set. Use --set path.segments.var=value to target a specific context in the composition chain.

VariableDefaultOriginDescription
clusterNameconsul-standalonehashicorp/consul/standaloneName of the Kind cluster
imageRepositoryhashicorp/consulhashicorp/consul/standaloneConsul Docker image repository
imageTag1.20.5hashicorp/consul/standaloneConsul Docker image tag