talos v0.4.1 published on Tuesday, Nov 5, 2024 by Pulumiverse
talos.cluster.getKubeconfig
Explore with Pulumi AI
Retrieves the kubeconfig for a Talos cluster
Using getKubeconfig
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getKubeconfig(args: GetKubeconfigArgs, opts?: InvokeOptions): Promise<GetKubeconfigResult>
function getKubeconfigOutput(args: GetKubeconfigOutputArgs, opts?: InvokeOptions): Output<GetKubeconfigResult>
def get_kubeconfig(client_configuration: Optional[GetKubeconfigClientConfiguration] = None,
endpoint: Optional[str] = None,
node: Optional[str] = None,
timeouts: Optional[GetKubeconfigTimeouts] = None,
wait: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetKubeconfigResult
def get_kubeconfig_output(client_configuration: Optional[pulumi.Input[GetKubeconfigClientConfigurationArgs]] = None,
endpoint: Optional[pulumi.Input[str]] = None,
node: Optional[pulumi.Input[str]] = None,
timeouts: Optional[pulumi.Input[GetKubeconfigTimeoutsArgs]] = None,
wait: Optional[pulumi.Input[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetKubeconfigResult]
func LookupKubeconfig(ctx *Context, args *LookupKubeconfigArgs, opts ...InvokeOption) (*LookupKubeconfigResult, error)
func LookupKubeconfigOutput(ctx *Context, args *LookupKubeconfigOutputArgs, opts ...InvokeOption) LookupKubeconfigResultOutput
> Note: This function is named LookupKubeconfig
in the Go SDK.
public static class GetKubeconfig
{
public static Task<GetKubeconfigResult> InvokeAsync(GetKubeconfigArgs args, InvokeOptions? opts = null)
public static Output<GetKubeconfigResult> Invoke(GetKubeconfigInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetKubeconfigResult> getKubeconfig(GetKubeconfigArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: talos:cluster/getKubeconfig:getKubeconfig
arguments:
# arguments dictionary
The following arguments are supported:
- Client
Configuration Pulumiverse.Talos. Cluster. Inputs. Get Kubeconfig Client Configuration - The client configuration data
- Node string
- controlplane node to retrieve the kubeconfig from
- Endpoint string
- endpoint to use for the talosclient. If not set, the node value will be used
- Timeouts
Pulumiverse.
Talos. Cluster. Inputs. Get Kubeconfig Timeouts - Wait bool
- Wait for the kubernetes api to be available
- Client
Configuration GetKubeconfig Client Configuration - The client configuration data
- Node string
- controlplane node to retrieve the kubeconfig from
- Endpoint string
- endpoint to use for the talosclient. If not set, the node value will be used
- Timeouts
Get
Kubeconfig Timeouts - Wait bool
- Wait for the kubernetes api to be available
- client
Configuration GetKubeconfig Client Configuration - The client configuration data
- node String
- controlplane node to retrieve the kubeconfig from
- endpoint String
- endpoint to use for the talosclient. If not set, the node value will be used
- timeouts
Get
Kubeconfig Timeouts - wait_ Boolean
- Wait for the kubernetes api to be available
- client
Configuration GetKubeconfig Client Configuration - The client configuration data
- node string
- controlplane node to retrieve the kubeconfig from
- endpoint string
- endpoint to use for the talosclient. If not set, the node value will be used
- timeouts
Get
Kubeconfig Timeouts - wait boolean
- Wait for the kubernetes api to be available
- client_
configuration GetKubeconfig Client Configuration - The client configuration data
- node str
- controlplane node to retrieve the kubeconfig from
- endpoint str
- endpoint to use for the talosclient. If not set, the node value will be used
- timeouts
Get
Kubeconfig Timeouts - wait bool
- Wait for the kubernetes api to be available
- client
Configuration Property Map - The client configuration data
- node String
- controlplane node to retrieve the kubeconfig from
- endpoint String
- endpoint to use for the talosclient. If not set, the node value will be used
- timeouts Property Map
- wait Boolean
- Wait for the kubernetes api to be available
getKubeconfig Result
The following output properties are available:
- Client
Configuration Pulumiverse.Talos. Cluster. Outputs. Get Kubeconfig Client Configuration - The client configuration data
- Endpoint string
- endpoint to use for the talosclient. If not set, the node value will be used
- Id string
- The ID of this resource.
- Kubeconfig
Raw string - The raw kubeconfig
- Kubernetes
Client Pulumiverse.Configuration Talos. Cluster. Outputs. Get Kubeconfig Kubernetes Client Configuration - The kubernetes client configuration
- Node string
- controlplane node to retrieve the kubeconfig from
- Timeouts
Pulumiverse.
Talos. Cluster. Outputs. Get Kubeconfig Timeouts - Wait bool
- Wait for the kubernetes api to be available
- Client
Configuration GetKubeconfig Client Configuration - The client configuration data
- Endpoint string
- endpoint to use for the talosclient. If not set, the node value will be used
- Id string
- The ID of this resource.
- Kubeconfig
Raw string - The raw kubeconfig
- Kubernetes
Client GetConfiguration Kubeconfig Kubernetes Client Configuration - The kubernetes client configuration
- Node string
- controlplane node to retrieve the kubeconfig from
- Timeouts
Get
Kubeconfig Timeouts - Wait bool
- Wait for the kubernetes api to be available
- client
Configuration GetKubeconfig Client Configuration - The client configuration data
- endpoint String
- endpoint to use for the talosclient. If not set, the node value will be used
- id String
- The ID of this resource.
- kubeconfig
Raw String - The raw kubeconfig
- kubernetes
Client GetConfiguration Kubeconfig Kubernetes Client Configuration - The kubernetes client configuration
- node String
- controlplane node to retrieve the kubeconfig from
- timeouts
Get
Kubeconfig Timeouts - wait_ Boolean
- Wait for the kubernetes api to be available
- client
Configuration GetKubeconfig Client Configuration - The client configuration data
- endpoint string
- endpoint to use for the talosclient. If not set, the node value will be used
- id string
- The ID of this resource.
- kubeconfig
Raw string - The raw kubeconfig
- kubernetes
Client GetConfiguration Kubeconfig Kubernetes Client Configuration - The kubernetes client configuration
- node string
- controlplane node to retrieve the kubeconfig from
- timeouts
Get
Kubeconfig Timeouts - wait boolean
- Wait for the kubernetes api to be available
- client_
configuration GetKubeconfig Client Configuration - The client configuration data
- endpoint str
- endpoint to use for the talosclient. If not set, the node value will be used
- id str
- The ID of this resource.
- kubeconfig_
raw str - The raw kubeconfig
- kubernetes_
client_ Getconfiguration Kubeconfig Kubernetes Client Configuration - The kubernetes client configuration
- node str
- controlplane node to retrieve the kubeconfig from
- timeouts
Get
Kubeconfig Timeouts - wait bool
- Wait for the kubernetes api to be available
- client
Configuration Property Map - The client configuration data
- endpoint String
- endpoint to use for the talosclient. If not set, the node value will be used
- id String
- The ID of this resource.
- kubeconfig
Raw String - The raw kubeconfig
- kubernetes
Client Property MapConfiguration - The kubernetes client configuration
- node String
- controlplane node to retrieve the kubeconfig from
- timeouts Property Map
- wait Boolean
- Wait for the kubernetes api to be available
Supporting Types
GetKubeconfigClientConfiguration
- Ca
Certificate string - The client CA certificate
- Client
Certificate string - The client certificate
- Client
Key string - The client key
- Ca
Certificate string - The client CA certificate
- Client
Certificate string - The client certificate
- Client
Key string - The client key
- ca
Certificate String - The client CA certificate
- client
Certificate String - The client certificate
- client
Key String - The client key
- ca
Certificate string - The client CA certificate
- client
Certificate string - The client certificate
- client
Key string - The client key
- ca_
certificate str - The client CA certificate
- client_
certificate str - The client certificate
- client_
key str - The client key
- ca
Certificate String - The client CA certificate
- client
Certificate String - The client certificate
- client
Key String - The client key
GetKubeconfigKubernetesClientConfiguration
- Ca
Certificate string - The kubernetes CA certificate
- Client
Certificate string - The kubernetes client certificate
- Client
Key string - The kubernetes client key
- Host string
- The kubernetes host
- Ca
Certificate string - The kubernetes CA certificate
- Client
Certificate string - The kubernetes client certificate
- Client
Key string - The kubernetes client key
- Host string
- The kubernetes host
- ca
Certificate String - The kubernetes CA certificate
- client
Certificate String - The kubernetes client certificate
- client
Key String - The kubernetes client key
- host String
- The kubernetes host
- ca
Certificate string - The kubernetes CA certificate
- client
Certificate string - The kubernetes client certificate
- client
Key string - The kubernetes client key
- host string
- The kubernetes host
- ca_
certificate str - The kubernetes CA certificate
- client_
certificate str - The kubernetes client certificate
- client_
key str - The kubernetes client key
- host str
- The kubernetes host
- ca
Certificate String - The kubernetes CA certificate
- client
Certificate String - The kubernetes client certificate
- client
Key String - The kubernetes client key
- host String
- The kubernetes host
GetKubeconfigTimeouts
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- read str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
Package Details
- Repository
- talos pulumiverse/pulumi-talos
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
talos
Terraform Provider.