Skip to content

Getting started

Just looking? The live demo needs no install. Or one command runs a throwaway server with three weeks of example data and prints a link that signs you in; nothing is kept when you stop it:

Terminal window
docker run --rm -p 8080:8080 ghcr.io/pipozzz/goliash try

To see your own cluster or Docker host instead of example data, with nothing installed in them, run goliash scan: it reads the current Kubernetes context and the local Docker, read-only, and prints what is behind.

Terminal window
curl -fsSL https://goliash.dev/install.sh | sh
goliash scan

The rest of this page starts a server to keep with Docker Compose, shows example data, and connects your first orchestrator. It takes about five minutes.

Terminal window
curl -fsSLO https://raw.githubusercontent.com/pipozzz/goliash/main/docker-compose.yml
docker compose up -d
docker compose logs goliash | grep link= # open it to create your account

The server listens on http://localhost:8080 and keeps its SQLite database in a Docker volume.

Open http://localhost:8080: for the first 15 minutes after the start, while nobody has an account, the sign-in page offers Create the first account. Enter your e-mail and a password: you are the owner of the organization and signed in. Later the offer is gone from the page and the one-time setup link is only in the server log (the last command above shows it); it works once, for 24 hours, and restarting the server writes a new one. Invite the others with Invite under Settings → Workspace settings → People.

3. Look around with example data (optional)

Section titled “3. Look around with example data (optional)”

The empty overview shows Get started with the next step highlighted. Below it, Explore with example data opens a separate Example workspace with three weeks of realistic history: four targets, seven services, rollouts, drift and new upstream releases. Your own workspace stays empty and clean; switch back in the workspace menu at the top and delete Example under Settings → Workspaces when you are done.

To put the example data into the current workspace instead, run docker compose exec goliash goliash demo; its targets are named demo-*, so they are easy to tell apart from real ones.

There are two ways to collect a target. With Map what it finds to services automatically left on (it is offered while the workspace is empty), the matrix fills by itself within a minute of the first report; otherwise the workloads wait in the inbox for you to name their services.

An agent runs next to the orchestrator and sends snapshots to the server over HTTPS. Use it when the server cannot reach the orchestrator, or when credentials must stay in that network.

  1. Open Connect (on the matrix of a new installation, or Settings → Agents and targets → Connect a cluster or host) and click where the agent will run: Kubernetes, Docker or Docker Compose host, Nomad, or AWS, without a server (ECS Fargate). Above the tiles, pick the environment (production by default) or name a new one; what the agent finds maps to services by itself while the workspace has none. For a code for many hosts or a name, use the links under the tiles; Swarm, Linux servers and Compose files from Git are under More ways.
  2. Run the one command the page shows where the agent runs: Helm for Kubernetes, files in ~/goliash-agent for Docker, a job for Nomad, a CloudFormation stack for AWS. The enrollment code is already in it and shown only once.
  3. The agent finds by itself what it can read there: workloads, Compose projects, the host’s OS and packages, and on EC2 or EKS the AWS services its role may read. It looks again every 15 minutes and adds what turns up.
  4. Keep the page open: it shows when the agent connects and what its first report found, then takes you to the matrix or the inbox.

The manifests behind those commands are under Install.

Within a minute the first snapshot arrives and workloads appear.

Workloads labelled goliash.service or app.kubernetes.io/name map to services by themselves. Everything else waits in the Inbox, grouped by image with a suggested service name. One click maps every workload that runs the image and adds a rule, so the next ones map by themselves. See Matrix and mapping.