MongoDB
mongodb/standalone
Single-node MongoDB deployment for Kubernetes
Deploys a single-node MongoDB 7 instance into a local Kind cluster with host access on port 30017. Authentication is disabled.
Install gck#
go install github.com/gravitee-io-labs/gck@latest
For other installation methods, see Installation .
Usage#
Create#
gck create --from mongodb/standalone
Cleanup#
gck delete
Quick Start#
Connect from your host:
mongosh mongodb://localhost:30017
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 |
|---|---|---|---|
| MongoDB | localhost:30017 | no authentication | mongodb/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 | mongo-standalone | mongodb/standalone | Name of the Kind cluster |
imageRepository | mongo | mongodb/standalone | MongoDB Docker image repository |
imageTag | 7 | mongodb/standalone | MongoDB Docker image tag |