Skip to main content

api_endpoints

Creates, updates, deletes, gets or lists an api_endpoints resource.

Overview

Nameapi_endpoints
TypeResource
Idlinode.lke.api_endpoints

Fields

The following fields are returned by SELECT queries:

Returns the Kubernetes API server endpoints for this cluster.

NameDatatypeDescription
endpointstringRead-only A Kubernetes API server endpoint for this cluster. (example: https://192.0.2.1:6443)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectclusterIdList the Kubernetes API server endpoints for this cluster. Please note that it often takes 2-5 minutes before the endpoint is ready after first creating a new cluster.

Learn more...

Learn more...

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
clusterIdstringID of the Kubernetes cluster to look up. (example: {{clusterId}})

SELECT examples

List the Kubernetes API server endpoints for this cluster. Please note that it often takes 2-5 minutes before the endpoint is ready after first creating a new cluster.

Learn more...

Learn more...

SELECT
endpoint
FROM linode.lke.api_endpoints
WHERE clusterId = '{{ clusterId }}' -- required
;