Skip to main content

cli extract port

cli extract port

Extract particular port number and IP address from a specific Element

Synopsis

This command extracts the port number and IP address of a matching port name, most likely from the protocol names, from a particular Element in the namespace. If the --immediate flag is not set, the command would try to communicate with the Manager of that Element to get first-hand accurate information. In this case, routing to the pods to the cluster is required. To set up routing to the cluster, you need to be on the same network as the cluster nodes or any other network that receives BGP routes from the cluster nodes. Port extraction with the Manager is not supported in public clouds or any other deployment type that does not run Calico with BGP enabled.

cli extract port <element> [--port <port-name>] [--immediate] [flags]

Options

  -h, --help          help for port
--immediate Extract port information immediately
--ipv6 Extract IPv6 address instead of IPv4
--port string Port name to extract

Options inherited from parent commands

  -c, --config string      config file (default "config.json")
-n, --namespace string namespace to perform the operations (default "trirematics")
-v, --verbose debug output

SEE ALSO

Auto generated by spf13/cobra on 16-Feb-2024