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.

ServiceURLNotesFrom
MongoDBlocalhost:30017no authenticationmongodb/standalone

Variables

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

VariableDefaultOriginDescription
clusterNamemongo-standalonemongodb/standaloneName of the Kind cluster
imageRepositorymongomongodb/standaloneMongoDB Docker image repository
imageTag7mongodb/standaloneMongoDB Docker image tag