Skip to main content

kubeconfigs

Creates, updates, deletes, gets or lists a kubeconfigs resource.

Overview

Namekubeconfigs
TypeResource
Idlinode.lke.kubeconfigs

Fields

The following fields are returned by SELECT queries:

Returns the Base64-encoded Kubeconfig file for this Kubernetes cluster.

NameDatatypeDescription
kubeconfigstringRead-only The Base64-encoded Kubeconfig file for this Cluster.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_lke_cluster_kubeconfigselectGet the Kubeconfig file for a Cluster. Please note that it often takes 2-5 minutes before the Kubeconfig file is ready after first creating a new cluster.

Learn more...

Learn more...
delete_lke_cluster_kubeconfigdeleteDelete and regenerate the Kubeconfig file for a 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

SELECT examples

Get the Kubeconfig file for a Cluster. Please note that it often takes 2-5 minutes before the Kubeconfig file is ready after first creating a new cluster.

Learn more...

Learn more...

SELECT
kubeconfig
FROM linode.lke.kubeconfigs;

DELETE examples

Delete and regenerate the Kubeconfig file for a Cluster.

Learn more...

Learn more...

DELETE FROM linode.lke.kubeconfigs;