talos v0.4.1 published on Tuesday, Nov 5, 2024 by Pulumiverse
talos.cluster.getHealth
Explore with Pulumi AI
Waits for the Talos cluster to be healthy. Can be used as a dependency before running other operations on the cluster.
Using getHealth
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 getHealth(args: GetHealthArgs, opts?: InvokeOptions): Promise<GetHealthResult>
function getHealthOutput(args: GetHealthOutputArgs, opts?: InvokeOptions): Output<GetHealthResult>
def get_health(client_configuration: Optional[GetHealthClientConfiguration] = None,
control_plane_nodes: Optional[Sequence[str]] = None,
endpoints: Optional[Sequence[str]] = None,
skip_kubernetes_checks: Optional[bool] = None,
timeouts: Optional[GetHealthTimeouts] = None,
worker_nodes: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetHealthResult
def get_health_output(client_configuration: Optional[pulumi.Input[GetHealthClientConfigurationArgs]] = None,
control_plane_nodes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
endpoints: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
skip_kubernetes_checks: Optional[pulumi.Input[bool]] = None,
timeouts: Optional[pulumi.Input[GetHealthTimeoutsArgs]] = None,
worker_nodes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHealthResult]
func GetHealth(ctx *Context, args *GetHealthArgs, opts ...InvokeOption) (*GetHealthResult, error)
func GetHealthOutput(ctx *Context, args *GetHealthOutputArgs, opts ...InvokeOption) GetHealthResultOutput
> Note: This function is named GetHealth
in the Go SDK.
public static class GetHealth
{
public static Task<GetHealthResult> InvokeAsync(GetHealthArgs args, InvokeOptions? opts = null)
public static Output<GetHealthResult> Invoke(GetHealthInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHealthResult> getHealth(GetHealthArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: talos:cluster/getHealth:getHealth
arguments:
# arguments dictionary
The following arguments are supported:
- Client
Configuration Pulumiverse.Talos. Cluster. Inputs. Get Health Client Configuration - The client configuration data
- Control
Plane List<string>Nodes - List of control plane nodes to check for health.
- Endpoints List<string>
- endpoints to use for the health check client. Use at least one control plane endpoint.
- Skip
Kubernetes boolChecks - Skip Kubernetes component checks, this is useful to check if the nodes has finished booting up and kubelet is running. Default is false.
- Timeouts
Pulumiverse.
Talos. Cluster. Inputs. Get Health Timeouts - Worker
Nodes List<string> - List of worker nodes to check for health.
- Client
Configuration GetHealth Client Configuration - The client configuration data
- Control
Plane []stringNodes - List of control plane nodes to check for health.
- Endpoints []string
- endpoints to use for the health check client. Use at least one control plane endpoint.
- Skip
Kubernetes boolChecks - Skip Kubernetes component checks, this is useful to check if the nodes has finished booting up and kubelet is running. Default is false.
- Timeouts
Get
Health Timeouts - Worker
Nodes []string - List of worker nodes to check for health.
- client
Configuration GetHealth Client Configuration - The client configuration data
- control
Plane List<String>Nodes - List of control plane nodes to check for health.
- endpoints List<String>
- endpoints to use for the health check client. Use at least one control plane endpoint.
- skip
Kubernetes BooleanChecks - Skip Kubernetes component checks, this is useful to check if the nodes has finished booting up and kubelet is running. Default is false.
- timeouts
Get
Health Timeouts - worker
Nodes List<String> - List of worker nodes to check for health.
- client
Configuration GetHealth Client Configuration - The client configuration data
- control
Plane string[]Nodes - List of control plane nodes to check for health.
- endpoints string[]
- endpoints to use for the health check client. Use at least one control plane endpoint.
- skip
Kubernetes booleanChecks - Skip Kubernetes component checks, this is useful to check if the nodes has finished booting up and kubelet is running. Default is false.
- timeouts
Get
Health Timeouts - worker
Nodes string[] - List of worker nodes to check for health.
- client_
configuration GetHealth Client Configuration - The client configuration data
- control_
plane_ Sequence[str]nodes - List of control plane nodes to check for health.
- endpoints Sequence[str]
- endpoints to use for the health check client. Use at least one control plane endpoint.
- skip_
kubernetes_ boolchecks - Skip Kubernetes component checks, this is useful to check if the nodes has finished booting up and kubelet is running. Default is false.
- timeouts
Get
Health Timeouts - worker_
nodes Sequence[str] - List of worker nodes to check for health.
- client
Configuration Property Map - The client configuration data
- control
Plane List<String>Nodes - List of control plane nodes to check for health.
- endpoints List<String>
- endpoints to use for the health check client. Use at least one control plane endpoint.
- skip
Kubernetes BooleanChecks - Skip Kubernetes component checks, this is useful to check if the nodes has finished booting up and kubelet is running. Default is false.
- timeouts Property Map
- worker
Nodes List<String> - List of worker nodes to check for health.
getHealth Result
The following output properties are available:
- Client
Configuration Pulumiverse.Talos. Cluster. Outputs. Get Health Client Configuration - The client configuration data
- Control
Plane List<string>Nodes - List of control plane nodes to check for health.
- Endpoints List<string>
- endpoints to use for the health check client. Use at least one control plane endpoint.
- Id string
- The ID of this resource.
- Skip
Kubernetes boolChecks - Skip Kubernetes component checks, this is useful to check if the nodes has finished booting up and kubelet is running. Default is false.
- Timeouts
Pulumiverse.
Talos. Cluster. Outputs. Get Health Timeouts - Worker
Nodes List<string> - List of worker nodes to check for health.
- Client
Configuration GetHealth Client Configuration - The client configuration data
- Control
Plane []stringNodes - List of control plane nodes to check for health.
- Endpoints []string
- endpoints to use for the health check client. Use at least one control plane endpoint.
- Id string
- The ID of this resource.
- Skip
Kubernetes boolChecks - Skip Kubernetes component checks, this is useful to check if the nodes has finished booting up and kubelet is running. Default is false.
- Timeouts
Get
Health Timeouts - Worker
Nodes []string - List of worker nodes to check for health.
- client
Configuration GetHealth Client Configuration - The client configuration data
- control
Plane List<String>Nodes - List of control plane nodes to check for health.
- endpoints List<String>
- endpoints to use for the health check client. Use at least one control plane endpoint.
- id String
- The ID of this resource.
- skip
Kubernetes BooleanChecks - Skip Kubernetes component checks, this is useful to check if the nodes has finished booting up and kubelet is running. Default is false.
- timeouts
Get
Health Timeouts - worker
Nodes List<String> - List of worker nodes to check for health.
- client
Configuration GetHealth Client Configuration - The client configuration data
- control
Plane string[]Nodes - List of control plane nodes to check for health.
- endpoints string[]
- endpoints to use for the health check client. Use at least one control plane endpoint.
- id string
- The ID of this resource.
- skip
Kubernetes booleanChecks - Skip Kubernetes component checks, this is useful to check if the nodes has finished booting up and kubelet is running. Default is false.
- timeouts
Get
Health Timeouts - worker
Nodes string[] - List of worker nodes to check for health.
- client_
configuration GetHealth Client Configuration - The client configuration data
- control_
plane_ Sequence[str]nodes - List of control plane nodes to check for health.
- endpoints Sequence[str]
- endpoints to use for the health check client. Use at least one control plane endpoint.
- id str
- The ID of this resource.
- skip_
kubernetes_ boolchecks - Skip Kubernetes component checks, this is useful to check if the nodes has finished booting up and kubelet is running. Default is false.
- timeouts
Get
Health Timeouts - worker_
nodes Sequence[str] - List of worker nodes to check for health.
- client
Configuration Property Map - The client configuration data
- control
Plane List<String>Nodes - List of control plane nodes to check for health.
- endpoints List<String>
- endpoints to use for the health check client. Use at least one control plane endpoint.
- id String
- The ID of this resource.
- skip
Kubernetes BooleanChecks - Skip Kubernetes component checks, this is useful to check if the nodes has finished booting up and kubelet is running. Default is false.
- timeouts Property Map
- worker
Nodes List<String> - List of worker nodes to check for health.
Supporting Types
GetHealthClientConfiguration
- 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
GetHealthTimeouts
- 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.