Skip to content

endpoint-info

The following operations can be performed on "endpoint-info":

show| rm| add|

show endpoint info

API to get information of added IP endpoints

Synopsis

show endpoint info [] []

Arguments

endpointKind Endpoint kind. Currently, IP endpoints are supported

Possible values: IP Default value: IP

endpointName Name of endpoint, depends on kind. For IP Endpoint - IP address.

Output

endpointMetadata String of qualifiers, in dotted notation, structured metadata for an endpoint. Each qualifier is more specific than the one that precedes it, as in cluster.namespace.service. For example: cluster.default.frontend. Note: A qualifier that includes a dot (.) or space ( ) must be enclosed in double quotation marks.

endpointLabelsJson String representing labels in json form. Maximum length 16K

devno count stateflag

rm endpoint info

Deletes endpoint labels or endpoint incase of IP type.

Synopsis

rm endpoint info []

Arguments

endpointKind Endpoint kind. Currently, IP endpoints are supported

Possible values: IP Default value: IP

endpointName Name of endpoint, depends on kind. For IP Endpoint - IP address.

add endpoint info

Attaches multiple labels to existing endpoint, creates it otherwise

Synopsis

add endpoint info [] [-endpointMetadata ] [-endpointLabelsJson ]

Arguments

endpointKind Endpoint kind. Currently, IP endpoints are supported

Possible values: IP Default value: IP

endpointName Name of endpoint, depends on kind. For IP Endpoint - IP address.

endpointMetadata String of qualifiers, in dotted notation, structured metadata for an endpoint. Each qualifier is more specific than the one that precedes it, as in cluster.namespace.service. For example: cluster.default.frontend. Note: A qualifier that includes a dot (.) or space ( ) must be enclosed in double quotation marks.

endpointLabelsJson String representing labels in json form. Maximum length 16K

Was this article helpful?