Dev mode

Every team knows the problem: the cluster holds all the services and all the data, and rebuilding that on a laptop is hard, sometimes forbidden. Meerkat does not copy the environment. It lets a developer run one service on their own machine, in place of the deployed one, for as long as they work on it - everything else stays as it is. The tunnel behind it is plug.

Enterprise edition plug itself is free, and runs beside any stack. What this page describes - plug integrated into Meerkat, with a key per developer, the substitution named and announced to everyone - is Enterprise. The developers' Swagger, further down, is in every edition.

How it works

An administrator marks a user as a developer (dev). The developer adds their public SSH key to their Meerkat account (Profile, Developer), then starts their service locally through plug:

plug -p <gateway-host> -s user-mng-service:8080:3000 npm run start

Installing it, per system, and opening the tunnel: Plug.

Taking an access back

The key lives on the developer's account, and the gateway checks it at every connection. Remove the key, or the developer role, and the tunnel closes within seconds: no certificate or token was issued that could outlive it, so there is nothing to expire and nothing to revoke elsewhere. The profile page shows the key's fingerprint exactly as OpenSSH prints it.

Everybody sees who is serving what

A substitution changes what the application in front of you is. So everyone using it is told, by name: "checkout, by Alice" rather than "checkout, by somebody".

That naming is what the integration brings: each developer has their own key, so each connection says who. With Community, plug runs on its own beside the gateway, with one shared key: a connection then proves the caller has plug, not who they are, and Meerkat knows nothing of the substitution. See One gateway for the compose file and the Helm values that open the integrated tunnel.

The developers' Swagger, served by the gateway

The gateway sees every API of the installation, and knows the OpenAPI description each route declares. So Meerkat turns them into one page, at /meerkat/apidocs, open to developers and to nobody else - in every edition.

It is not just one more Swagger UI next to a service:

The console has its own page, at /apidocs, for Meerkat's administration API: the one the console and the AI agent use.

Who is plugged in, and the trail

Application, Plug lists who is plugged into the cluster now, run by run, with what each serves, and ends a session in one click: the developer's command stops, and the service set aside comes back at once. The audit trail keeps each run's opening and end and each name served. See Plug.

Still to come