Exposures
An entry in spec.expose exposes a way into the network config’s namespace from
outside the cluster. Only TCP is supported for now. HTTP and HTTPS exposures
are not yet implemented.
spec:
expose:
- name: service
protocol: TCP
backend:
service: sample
port: 6379
There is no port field: for each exposure, sigillum picks a shard Gateway
with room and a free port from the class’s portRange, and writes a
ListenerSet and a TCPRoute named <network config>-<exposure>. Each exposure is placed
on its own, so exposures of one NetworkConfig can land on different shards, and each
one’s shard, address, port and URL show up in status.exposures[].
Sigillum never creates Gateways. Before an exposure can be ready, the platform must provide:
-
A Gateway matching the class’s
shardSelector, withallowedListeners. -
A gateway controller that serves the listener ports sigillum assigns.
-
The backend Service.