kubeconfigs
Creates, updates, deletes, gets or lists a kubeconfigs
resource.
Overview
Name | kubeconfigs |
Type | Resource |
Id | linode.lke.kubeconfigs |
Fields
The following fields are returned by SELECT
queries:
- get_lke_cluster_kubeconfig
Returns the Base64-encoded Kubeconfig file for this Kubernetes cluster.
Name | Datatype | Description |
---|---|---|
kubeconfig | string | Read-only The Base64-encoded Kubeconfig file for this Cluster. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_lke_cluster_kubeconfig | select | 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... | ||
delete_lke_cluster_kubeconfig | delete | Delete 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.
Name | Datatype | Description |
---|
SELECT
examples
- get_lke_cluster_kubeconfig
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_lke_cluster_kubeconfig
Delete and regenerate the Kubeconfig file for a Cluster.
Learn more...
Learn more...
DELETE FROM linode.lke.kubeconfigs;