zone inlet
[Preview]
ockam zone inlet [OPTIONS] --pod <POD>
Options
-
--cluster [CLUSTER]
(optional)
The Cluster that hosts the Zone -
--zone-name [ZONE_NAME]
(optional)
The name of the Zone -
--zone-config [ZONE_CONFIG]
(optional)
The path to the Zone configuration file, in yaml or json format. If not set, the./ockam.yaml
file from the current directory will be used -
--pod <POD>
References the name of TCP Outlet created in the Zone and the Relay name -
--enrollment-ticket [ENROLLMENT TICKET]
(optional)
A path, URL or inlined hex-encoded enrollment ticket to use for the Ockam Identity associated to this node. If ommited one will be created automatically with default attributes -
--background
(optional) -
--no-ctrlc-handler
(optional)
Disable the Ctrl-C handler -
--use-http-api
(optional)
Force the command to use the HTTP API. By default, the command will use the Orchestrator API -
--api-endpoint [API_ENDPOINT]
(optional)
The API endpoint of the Ockam AI Platform. Can be set using theAI_API_BASE_URL
environment variable. Defaults tohttp://localhost:30080
-
--from [SOCKET_ADDRESS]
(optional)
Address on which to accept TCP connections, in the format<scheme>://<host>:<port>
. At least the port must be provided. The default scheme istcp
and the default host is127.0.0.1
. If the argument is not set, a random port will be used on the default addresstcp://127.0.0.1
-
--to [ROUTE]
(optional)
Name of the TCP Outlet service to connect to -
--allow [POLICY_EXPRESSION]
(optional)
Policy expression that will be used for access control to the TCP Inlet. If you don't provide it, the policy set for the "tcp-inlet" resource type will be used.
You can check the fallback policy with ockam policy show --resource-type tcp-inlet
.
Learn More:
Use ockam <SUBCOMMAND> --help
for more information about a subcommand (e.g., 'cluster' or 'zone').
Learn more about Command: https://docs.ockam.ai/command/ Learn more about Ockam: https://docs.ockam.ai/
Feedback:
If you have questions, as you explore, join us on the Discord channel https://discord.ockam.io