Skip to content
SHC Docs

Layer 10. Edge

Layer 10. Edge. Layer page.

Compose ports: and expose: declare the ports a service listens on. --expose publishes a port outside the fabric.

On a cluster that listens itself, stripTemplatePorts removes every ports: entry and declares the container port in expose: (ce modules/app/port_mappings.go). The comment there says a publish is an --expose on the deployment.

ce core/publish/publish.go is the ledger of those publishes. The install and update commands both take --expose (ce modules/app/commands/install.go, modules/app/commands/update.go).

The system Traefik dynamic config is a clusterfs section (ce modules/app/traefik_section.go). Enrolment reaches the public join route through TCP 443; see Mesh.

The edge is the one deployment layers 0 to 4 may depend on. Every node joins through it, at every location (ruling D1, register row A-07).

Ruled, not on this pin: --host and --port as publish flags. Both commands mark them gone and point at --expose.