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.
| Service | URL | Notes | From |
|---|---|---|---|
| Consul | http://localhost:30500 | hashicorp/consul/standalone |
Variables
Template variables overridable with --set. Use --set path.segments.var=value to target a specific context in the composition chain.
| Variable | Default | Origin | Description |
|---|---|---|---|
clusterName | consul-standalone | hashicorp/consul/standalone | Name of the Kind cluster |
imageRepository | hashicorp/consul | hashicorp/consul/standalone | Consul Docker image repository |
imageTag | 1.20.5 | hashicorp/consul/standalone | Consul Docker image tag |