Skip to content
SHC Docs

Forward module

Layer 10. Edge. Edge An operator path to one service port.

Source: modules/forward/.

CLIshc forward
Subcommands0
HTTP endpointssee the route reference
Events emittedNone
Error codessee the error code reference
Service classesForwardService
Cross-module depsapp, node
modules/forward/
├── parser.go
├── service.go
├── types.go
└── commands/
  • shc forward: forward local ports to a deployment’s services

The forward module implements shc forward, an SSH-style port-forward that tunnels a local port through the SHC daemon to a specific service inside a running deployment, on the node that owns the deployment. It is the operator’s equivalent of kubectl port-forward and is used for debugging and one-off access to services that aren’t exposed through ingress.

ForwardService handles the bidirectional relay. There is no persistent state and no HTTP endpoint; the transport is internal.