Local bindings
Inspect and manage the forwards that your computer makes from a workstation.
A LocalBinding forwards ports and Unix sockets from a workstation to
this computer. The binding commands show what is forwarded and what is in conflict, and
they turn forwards on and off. Alias: bindings.
A binding never leaves this computer and is never routed or synced, so these commands always operate on the local store.
rl binding show
Show the forwards on this computer: the actual host ports in use, their sources, and any
conflicts. A forward from a workstation reads 8080 → host:18080; a service on this
computer carried into a workstation (reversePorts) reads host:11434 → 11434.
rl binding show
rl binding show -A # across all namespaces| Flag | Description |
|---|---|
-n, --namespace <ns> | Namespace. |
-A, --all-namespaces | All namespaces. |
--as <subject> | Impersonate a subject. |
--home <dir> | Data directory. |
rl binding enable / disable
Flip a LocalBinding’s master on/off switch (spec.enabled), by name or by label
selector with -l.
rl binding enable my-binding
rl binding disable my-binding
rl binding disable -l tier=dev # every matching binding| Flag | Description |
|---|---|
-l, --selector <selector> | Label selector (key=value[,key!=value,key in (a,b),key,!key]) instead of a name. |
-n, --namespace <ns> | Namespace. |
--as <subject> | Impersonate a subject. |
--home <dir> | Data directory. |
rl binding switch <name> <workstation>
Retarget an existing binding at a different workstation. It rewrites the binding’s
workstationSelector.matchName so the same host ports now forward from another workstation.
rl binding switch my-binding other-box| Flag | Description |
|---|---|
-n, --namespace <ns> | Namespace. |
--as <subject> | Impersonate a subject. |
--home <dir> | Data directory. |
Links a workstation asks to open
rl binding browser-opens is gone: it now fails with an unknown-subcommand error. Run
rl urlopenrules history to list the links that workstations asked to open and what your
computer did with each.
URL open rules lists the rl urlopenrules commands, and
Browser sign-in explains how a
link reaches your computer.