APIM OSS - DB-less

gravitee-io/oss/apim/dbless

Gravitee APIM gateway in DB-less mode with the Gravitee Kubernetes Operator

Deploys the Gravitee API Management gateway in DB-less mode alongside the Gravitee Kubernetes Operator (GKO). APIs are defined entirely through Kubernetes custom resources — no database is involved.

Install gck#

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

For other installation methods, see Installation .

Usage#

Create#

gck create --from gravitee-io/oss/apim/dbless

Cleanup#

gck delete

Quick Start#

The gateway is available at http://localhost:30082 . Define APIs using GKO custom resources (ApiV4Definition, ApiDefinition):

kubectl apply -f my-api.yaml -n gravitee

For a guided introduction, see the Gravitee APIM quick start guide and the GKO documentation .

Composition chain

This context is composed from the following base contexts:

gravitee-io/oss/apim/dbless

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
APIM Gatewayhttp://localhost:30082gravitee-io/oss/apim/base
APIM Bridge APIhttp://localhost:30085needs --enable-bridgegravitee-io/oss/apim/base

Context flags

Optional flags you can pass to gck create to customize this context:

FlagDescription
--disable-esDisable Elasticsearch and analytics reporters
--disable-portalDisable the developer portal UI
--disable-uiDisable both Console and Portal UIs
--enable-bridgeEnable bridge architecture: management API serves as bridge, gateway syncs through it
--enable-consulDeploy Consul and configure APIM service discovery
--enable-distributed-syncDeploy Redis and enable distributed sync with multiple gateway replicas
--enable-gkoDeploy the Gravitee Kubernetes Operator (GKO) alongside APIM
--enable-hc-vaultDeploy HashiCorp Vault and configure it as a secret provider
--enable-keycloakDeploy Keycloak and configure APIM OIDC security provider
--enable-kibanaDeploy Kibana alongside Elasticsearch
--enable-mailhogDeploy MailHog and configure APIM email settings
--enable-opentelemetry-jaegerDeploy Jaeger and enable OpenTelemetry tracing on the gateway
--enable-otel-collectorExport gateway OpenTelemetry traces to a composed otel-collector
--enable-prometheusDeploy Prometheus and enable APIM metrics
--enable-redisDeploy Redis and use it for gateway rate limiting
--enable-system-proxyDeploy mitmproxy and configure APIM HTTP client proxy
--enable-tagsConfigure gateway with sharding tags (internal/external)
--enable-tcpAdd a TCP protocol listener on the gateway
--enable-tlsEnable TLS termination on the gateway

Variables

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

VariableDefaultOriginDescription
clusterNamegraviteegravitee-io/oss/apim/dblessName of the Kind cluster
imagePrefixgraviteeiogravitee-io/oss/apim/dblessDocker image prefix for Gravitee components
helmVersion(empty)gravitee-io/oss/apim/dblessHelm chart version constraint
imageTaglatestgravitee-io/oss/apim/dblessDocker image tag for the APIM gateway
imageRepositorygraviteeio/kubernetes-operatorgravitee-io/oss/gkoGKO Docker image repository