Skip to content
landfall

Groups in the web UI

The web UI (lf ui) shows a group as one site: its servers, their drift, an edge, and buttons that run on every server. Each button runs an lf command. See Several servers for the commands behind it.

# start the web UI in the project folder, so it finds the group
cd my-site && lf ui

The web UI finds groups in the .landfall.json of the folder it started in and of the projects you deployed from.

Find a group

  • The sidebar lists each group under Groups, with a dot for its health: green ok, yellow drift, red down.
  • A site row that belongs to a group shows a group badge. It opens the group.
  • The group view shows each server's release, state and replicas, the drift, the domains and how they get certificates.
  • A server that left the group but still runs the site shows with an outside group badge. Sync does not change it.

Buttons and what they run

buttonwhereruns
Deploygroup viewlf deploy -s <servers> in the project's folder
Restartgroup viewlf restart -s <servers> <site>
Logsgroup view, Morelf logs -s <servers> <site> -f, each line after its server
Roll back, Stop, Startgroup view, Morethe command on every server, with -s <servers>
Syncgroup view, when the group driftslf sync -s <servers> <site>
UndoGroup runs cardlf undo <run id> -s <servers>
On, Off, WeightEdge cardlf edge <site> <server>=on|off|<weight> --edge <edge>
Check each servera server's Traefik settings, Certificates cardlf check -s <servers> <site>
Adda server's Settings, Private networks cardlf network add <network> <server> [<other>]
Take outa server's Settings, Private networks cardlf network rm <network> <server>
Changea server's Settings, next to private addresslf server config <server> --private-ip <ip>
  • While Deploy runs, the output shows each server's phase: waiting, switching, switched, failed or put back.
  • Each server's row in the group view links to its history.
  • The Certificates card picks a DNS challenge or a load balancer.

The Deploy dialog

  • The Deploy dialog picks one server or several. The first one picked is the primary. Several run lf deploy -s <servers>.
  • A group project starts with its servers picked. One of them alone runs lf deploy --partial.
  • Before the start, the dialog says what the deploy would refuse: a server without a DNS challenge or load balancer (with a link to its Traefik certificates), volumes without x-landfall: { local: true }, and autodeploy.
  • A group project's Pipeline shows the group as an environment's target, with a group badge that opens the group.
  • Deploy and Promote run on every server of the group. Auto-deploy is off for a group: deploy from CI instead (lf ci init).

Cards in the group view

cardshowswhen
Edgeeach server's address, weight, requests per minute, 4xx, 5xx, state and healthwith an edge in .landfall.json
Group runsthe runs that went to several of its servers, with each server's entryalways
Loadeach server's CPU and memory, and the site's containers there, with their sumalways
Trafficthe site's requests, errors, median, p95 and bytes on each server, and for all of themalways
Autoscaleeach service's range, its count on each server and the totalwith lf autoscale rules

With an edge, the Traffic card's first row shows what visitors sent, from the edge's access log.

On a server's own page

  • A change to a group site asks where it goes: every server of the group, or only this one. This holds for Edit, Roll back, Stop, Start, Restart, Scale, Traffic split and Delete.
  • Every server is the default. Stop and Delete start on only this one, since they take the site away.
  • Only this one leaves the servers different, and the group shows the drift.
  • A server's Traffic tab for a group site links to the whole group. Its Stats tab links each group site's containers to the group.

On the map

  • A dotted line links the site's copies on the servers of the group. Selecting one lights the others.
  • The edge's Traefik links to each copy it sends requests to. A server turned off there has a grey line.
  • A dashed line links the copies on the other servers to a service that runs on the primary only.