lbcli create admin-endpoint (2.2 and above)
Creates a new admin endpoint.
Synopsis
Creates an IP table rule with a specified port and IPs.
lbcli create admin-endpoint [flags]
Examples:
# Create an admin endpoint for port "port" with IPs "IP1", "IP2" and "IP3"
lbcli -J $JWT create admin-endpoint --port=port --ips=IP1,IP2,IP3
Flag | Short | Type | Default | Description |
---|---|---|---|---|
--help | -h | bool | Help for admin endpoint. | |
--ips | stringSlice | IP address to allow access to (required). | ||
--port | uint32 | Port number to create admin endpoint with (required). |
Was this page helpful?