1. Packages
  2. Rancher2 Provider
  3. API Docs
  4. getClusterV2
Rancher 2 v8.1.5 published on Wednesday, Apr 9, 2025 by Pulumi

rancher2.getClusterV2

Explore with Pulumi AI

Rancher 2 v8.1.5 published on Wednesday, Apr 9, 2025 by Pulumi

Use this data source to retrieve information about a Rancher v2 cluster.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";

const foo = rancher2.getClusterV2({
    name: "foo",
    fleetNamespace: "fleet-ns",
});
Copy
import pulumi
import pulumi_rancher2 as rancher2

foo = rancher2.get_cluster_v2(name="foo",
    fleet_namespace="fleet-ns")
Copy
package main

import (
	"github.com/pulumi/pulumi-rancher2/sdk/v8/go/rancher2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := rancher2.LookupClusterV2(ctx, &rancher2.LookupClusterV2Args{
			Name:           "foo",
			FleetNamespace: pulumi.StringRef("fleet-ns"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rancher2 = Pulumi.Rancher2;

return await Deployment.RunAsync(() => 
{
    var foo = Rancher2.GetClusterV2.Invoke(new()
    {
        Name = "foo",
        FleetNamespace = "fleet-ns",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rancher2.Rancher2Functions;
import com.pulumi.rancher2.inputs.GetClusterV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var foo = Rancher2Functions.getClusterV2(GetClusterV2Args.builder()
            .name("foo")
            .fleetNamespace("fleet-ns")
            .build());

    }
}
Copy
variables:
  foo:
    fn::invoke:
      function: rancher2:getClusterV2
      arguments:
        name: foo
        fleetNamespace: fleet-ns
Copy

Using getClusterV2

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 getClusterV2(args: GetClusterV2Args, opts?: InvokeOptions): Promise<GetClusterV2Result>
function getClusterV2Output(args: GetClusterV2OutputArgs, opts?: InvokeOptions): Output<GetClusterV2Result>
Copy
def get_cluster_v2(fleet_namespace: Optional[str] = None,
                   name: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetClusterV2Result
def get_cluster_v2_output(fleet_namespace: Optional[pulumi.Input[str]] = None,
                   name: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetClusterV2Result]
Copy
func LookupClusterV2(ctx *Context, args *LookupClusterV2Args, opts ...InvokeOption) (*LookupClusterV2Result, error)
func LookupClusterV2Output(ctx *Context, args *LookupClusterV2OutputArgs, opts ...InvokeOption) LookupClusterV2ResultOutput
Copy

> Note: This function is named LookupClusterV2 in the Go SDK.

public static class GetClusterV2 
{
    public static Task<GetClusterV2Result> InvokeAsync(GetClusterV2Args args, InvokeOptions? opts = null)
    public static Output<GetClusterV2Result> Invoke(GetClusterV2InvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetClusterV2Result> getClusterV2(GetClusterV2Args args, InvokeOptions options)
public static Output<GetClusterV2Result> getClusterV2(GetClusterV2Args args, InvokeOptions options)
Copy
fn::invoke:
  function: rancher2:index/getClusterV2:getClusterV2
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name of the Cluster v2 (string)
FleetNamespace string
The fleet namespace of the Cluster v2. Default: \"fleet-default\" (string)
Name This property is required. string
The name of the Cluster v2 (string)
FleetNamespace string
The fleet namespace of the Cluster v2. Default: \"fleet-default\" (string)
name This property is required. String
The name of the Cluster v2 (string)
fleetNamespace String
The fleet namespace of the Cluster v2. Default: \"fleet-default\" (string)
name This property is required. string
The name of the Cluster v2 (string)
fleetNamespace string
The fleet namespace of the Cluster v2. Default: \"fleet-default\" (string)
name This property is required. str
The name of the Cluster v2 (string)
fleet_namespace str
The fleet namespace of the Cluster v2. Default: \"fleet-default\" (string)
name This property is required. String
The name of the Cluster v2 (string)
fleetNamespace String
The fleet namespace of the Cluster v2. Default: \"fleet-default\" (string)

getClusterV2 Result

The following output properties are available:

AgentEnvVars List<GetClusterV2AgentEnvVar>
(Computed) Optional Agent Env Vars for Rancher agent (list)
Annotations Dictionary<string, string>
CloudCredentialSecretName string
(Computed) Cluster V2 cloud credential secret name (string)
ClusterRegistrationToken GetClusterV2ClusterRegistrationToken
(Computed/Sensitive) Cluster Registration Token generated for the cluster v2 (list maxitems:1)
ClusterV1Id string
(Computed) Cluster v1 id for cluster v2 (string)
DefaultClusterRoleForProjectMembers string
(Computed) Cluster V2 default cluster role for project members (string)
DefaultPodSecurityAdmissionConfigurationTemplateName string
(Computed) Cluster V2 default pod security admission configuration template name (string)
EnableNetworkPolicy bool
(Computed) Enable k8s network policy at Cluster V2 (bool)
Id string
The provider-assigned unique ID for this managed resource.
KubeConfig string
(Computed/Sensitive) Kube Config generated for the cluster v2 (string)
KubernetesVersion string
(Computed) The kubernetes version of the Cluster v2 (list maxitems:1)
Labels Dictionary<string, string>
Name string
ResourceVersion string
(Computed) Cluster v2 k8s resource version (string)
RkeConfig GetClusterV2RkeConfig
(Computed) The RKE configuration for k3s and rke2 Clusters v2. (list maxitems:1)
FleetNamespace string
AgentEnvVars []GetClusterV2AgentEnvVar
(Computed) Optional Agent Env Vars for Rancher agent (list)
Annotations map[string]string
CloudCredentialSecretName string
(Computed) Cluster V2 cloud credential secret name (string)
ClusterRegistrationToken GetClusterV2ClusterRegistrationToken
(Computed/Sensitive) Cluster Registration Token generated for the cluster v2 (list maxitems:1)
ClusterV1Id string
(Computed) Cluster v1 id for cluster v2 (string)
DefaultClusterRoleForProjectMembers string
(Computed) Cluster V2 default cluster role for project members (string)
DefaultPodSecurityAdmissionConfigurationTemplateName string
(Computed) Cluster V2 default pod security admission configuration template name (string)
EnableNetworkPolicy bool
(Computed) Enable k8s network policy at Cluster V2 (bool)
Id string
The provider-assigned unique ID for this managed resource.
KubeConfig string
(Computed/Sensitive) Kube Config generated for the cluster v2 (string)
KubernetesVersion string
(Computed) The kubernetes version of the Cluster v2 (list maxitems:1)
Labels map[string]string
Name string
ResourceVersion string
(Computed) Cluster v2 k8s resource version (string)
RkeConfig GetClusterV2RkeConfig
(Computed) The RKE configuration for k3s and rke2 Clusters v2. (list maxitems:1)
FleetNamespace string
agentEnvVars List<GetClusterV2AgentEnvVar>
(Computed) Optional Agent Env Vars for Rancher agent (list)
annotations Map<String,String>
cloudCredentialSecretName String
(Computed) Cluster V2 cloud credential secret name (string)
clusterRegistrationToken GetClusterV2ClusterRegistrationToken
(Computed/Sensitive) Cluster Registration Token generated for the cluster v2 (list maxitems:1)
clusterV1Id String
(Computed) Cluster v1 id for cluster v2 (string)
defaultClusterRoleForProjectMembers String
(Computed) Cluster V2 default cluster role for project members (string)
defaultPodSecurityAdmissionConfigurationTemplateName String
(Computed) Cluster V2 default pod security admission configuration template name (string)
enableNetworkPolicy Boolean
(Computed) Enable k8s network policy at Cluster V2 (bool)
id String
The provider-assigned unique ID for this managed resource.
kubeConfig String
(Computed/Sensitive) Kube Config generated for the cluster v2 (string)
kubernetesVersion String
(Computed) The kubernetes version of the Cluster v2 (list maxitems:1)
labels Map<String,String>
name String
resourceVersion String
(Computed) Cluster v2 k8s resource version (string)
rkeConfig GetClusterV2RkeConfig
(Computed) The RKE configuration for k3s and rke2 Clusters v2. (list maxitems:1)
fleetNamespace String
agentEnvVars GetClusterV2AgentEnvVar[]
(Computed) Optional Agent Env Vars for Rancher agent (list)
annotations {[key: string]: string}
cloudCredentialSecretName string
(Computed) Cluster V2 cloud credential secret name (string)
clusterRegistrationToken GetClusterV2ClusterRegistrationToken
(Computed/Sensitive) Cluster Registration Token generated for the cluster v2 (list maxitems:1)
clusterV1Id string
(Computed) Cluster v1 id for cluster v2 (string)
defaultClusterRoleForProjectMembers string
(Computed) Cluster V2 default cluster role for project members (string)
defaultPodSecurityAdmissionConfigurationTemplateName string
(Computed) Cluster V2 default pod security admission configuration template name (string)
enableNetworkPolicy boolean
(Computed) Enable k8s network policy at Cluster V2 (bool)
id string
The provider-assigned unique ID for this managed resource.
kubeConfig string
(Computed/Sensitive) Kube Config generated for the cluster v2 (string)
kubernetesVersion string
(Computed) The kubernetes version of the Cluster v2 (list maxitems:1)
labels {[key: string]: string}
name string
resourceVersion string
(Computed) Cluster v2 k8s resource version (string)
rkeConfig GetClusterV2RkeConfig
(Computed) The RKE configuration for k3s and rke2 Clusters v2. (list maxitems:1)
fleetNamespace string
agent_env_vars Sequence[GetClusterV2AgentEnvVar]
(Computed) Optional Agent Env Vars for Rancher agent (list)
annotations Mapping[str, str]
cloud_credential_secret_name str
(Computed) Cluster V2 cloud credential secret name (string)
cluster_registration_token GetClusterV2ClusterRegistrationToken
(Computed/Sensitive) Cluster Registration Token generated for the cluster v2 (list maxitems:1)
cluster_v1_id str
(Computed) Cluster v1 id for cluster v2 (string)
default_cluster_role_for_project_members str
(Computed) Cluster V2 default cluster role for project members (string)
default_pod_security_admission_configuration_template_name str
(Computed) Cluster V2 default pod security admission configuration template name (string)
enable_network_policy bool
(Computed) Enable k8s network policy at Cluster V2 (bool)
id str
The provider-assigned unique ID for this managed resource.
kube_config str
(Computed/Sensitive) Kube Config generated for the cluster v2 (string)
kubernetes_version str
(Computed) The kubernetes version of the Cluster v2 (list maxitems:1)
labels Mapping[str, str]
name str
resource_version str
(Computed) Cluster v2 k8s resource version (string)
rke_config GetClusterV2RkeConfig
(Computed) The RKE configuration for k3s and rke2 Clusters v2. (list maxitems:1)
fleet_namespace str
agentEnvVars List<Property Map>
(Computed) Optional Agent Env Vars for Rancher agent (list)
annotations Map<String>
cloudCredentialSecretName String
(Computed) Cluster V2 cloud credential secret name (string)
clusterRegistrationToken Property Map
(Computed/Sensitive) Cluster Registration Token generated for the cluster v2 (list maxitems:1)
clusterV1Id String
(Computed) Cluster v1 id for cluster v2 (string)
defaultClusterRoleForProjectMembers String
(Computed) Cluster V2 default cluster role for project members (string)
defaultPodSecurityAdmissionConfigurationTemplateName String
(Computed) Cluster V2 default pod security admission configuration template name (string)
enableNetworkPolicy Boolean
(Computed) Enable k8s network policy at Cluster V2 (bool)
id String
The provider-assigned unique ID for this managed resource.
kubeConfig String
(Computed/Sensitive) Kube Config generated for the cluster v2 (string)
kubernetesVersion String
(Computed) The kubernetes version of the Cluster v2 (list maxitems:1)
labels Map<String>
name String
resourceVersion String
(Computed) Cluster v2 k8s resource version (string)
rkeConfig Property Map
(Computed) The RKE configuration for k3s and rke2 Clusters v2. (list maxitems:1)
fleetNamespace String

Supporting Types

GetClusterV2AgentEnvVar

Name This property is required. string
The name of the Cluster v2 (string)
Value This property is required. string
Name This property is required. string
The name of the Cluster v2 (string)
Value This property is required. string
name This property is required. String
The name of the Cluster v2 (string)
value This property is required. String
name This property is required. string
The name of the Cluster v2 (string)
value This property is required. string
name This property is required. str
The name of the Cluster v2 (string)
value This property is required. str
name This property is required. String
The name of the Cluster v2 (string)
value This property is required. String

GetClusterV2ClusterRegistrationToken

Annotations This property is required. Dictionary<string, string>
Annotations of the resource
ClusterId This property is required. string
Command This property is required. string
Id This property is required. string
(Computed) The ID of the resource (string)
InsecureCommand This property is required. string
InsecureNodeCommand This property is required. string
InsecureWindowsNodeCommand This property is required. string
Labels This property is required. Dictionary<string, string>
Labels of the resource
ManifestUrl This property is required. string
Name This property is required. string
The name of the Cluster v2 (string)
NodeCommand This property is required. string
Token This property is required. string
WindowsNodeCommand This property is required. string
Annotations This property is required. map[string]string
Annotations of the resource
ClusterId This property is required. string
Command This property is required. string
Id This property is required. string
(Computed) The ID of the resource (string)
InsecureCommand This property is required. string
InsecureNodeCommand This property is required. string
InsecureWindowsNodeCommand This property is required. string
Labels This property is required. map[string]string
Labels of the resource
ManifestUrl This property is required. string
Name This property is required. string
The name of the Cluster v2 (string)
NodeCommand This property is required. string
Token This property is required. string
WindowsNodeCommand This property is required. string
annotations This property is required. Map<String,String>
Annotations of the resource
clusterId This property is required. String
command This property is required. String
id This property is required. String
(Computed) The ID of the resource (string)
insecureCommand This property is required. String
insecureNodeCommand This property is required. String
insecureWindowsNodeCommand This property is required. String
labels This property is required. Map<String,String>
Labels of the resource
manifestUrl This property is required. String
name This property is required. String
The name of the Cluster v2 (string)
nodeCommand This property is required. String
token This property is required. String
windowsNodeCommand This property is required. String
annotations This property is required. {[key: string]: string}
Annotations of the resource
clusterId This property is required. string
command This property is required. string
id This property is required. string
(Computed) The ID of the resource (string)
insecureCommand This property is required. string
insecureNodeCommand This property is required. string
insecureWindowsNodeCommand This property is required. string
labels This property is required. {[key: string]: string}
Labels of the resource
manifestUrl This property is required. string
name This property is required. string
The name of the Cluster v2 (string)
nodeCommand This property is required. string
token This property is required. string
windowsNodeCommand This property is required. string
annotations This property is required. Mapping[str, str]
Annotations of the resource
cluster_id This property is required. str
command This property is required. str
id This property is required. str
(Computed) The ID of the resource (string)
insecure_command This property is required. str
insecure_node_command This property is required. str
insecure_windows_node_command This property is required. str
labels This property is required. Mapping[str, str]
Labels of the resource
manifest_url This property is required. str
name This property is required. str
The name of the Cluster v2 (string)
node_command This property is required. str
token This property is required. str
windows_node_command This property is required. str
annotations This property is required. Map<String>
Annotations of the resource
clusterId This property is required. String
command This property is required. String
id This property is required. String
(Computed) The ID of the resource (string)
insecureCommand This property is required. String
insecureNodeCommand This property is required. String
insecureWindowsNodeCommand This property is required. String
labels This property is required. Map<String>
Labels of the resource
manifestUrl This property is required. String
name This property is required. String
The name of the Cluster v2 (string)
nodeCommand This property is required. String
token This property is required. String
windowsNodeCommand This property is required. String

GetClusterV2RkeConfig

Etcd This property is required. GetClusterV2RkeConfigEtcd
Cluster V2 etcd
MachinePoolDefaults This property is required. List<GetClusterV2RkeConfigMachinePoolDefault>
Default values for machine pool configurations if unset
MachinePools This property is required. List<GetClusterV2RkeConfigMachinePool>
Cluster V2 machine pools
MachineSelectorConfigs This property is required. List<GetClusterV2RkeConfigMachineSelectorConfig>
Cluster V2 machine selector config
MachineSelectorFiles This property is required. List<GetClusterV2RkeConfigMachineSelectorFile>
Cluster V2 machine selector files
AdditionalManifest string
Cluster V2 additional manifest
ChartValues string
Cluster V2 chart values. It should be in YAML format
EtcdSnapshotCreate GetClusterV2RkeConfigEtcdSnapshotCreate
Cluster V2 etcd snapshot create
EtcdSnapshotRestore GetClusterV2RkeConfigEtcdSnapshotRestore
Cluster V2 etcd snapshot restore
LocalAuthEndpoint GetClusterV2RkeConfigLocalAuthEndpoint
Cluster V2 local auth endpoint

Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead

MachineGlobalConfig string
Cluster V2 machine global config
Registries GetClusterV2RkeConfigRegistries
Cluster V2 registries
RotateCertificates GetClusterV2RkeConfigRotateCertificates
Cluster V2 certificate rotation
UpgradeStrategy GetClusterV2RkeConfigUpgradeStrategy
Cluster V2 upgrade strategy
Etcd This property is required. GetClusterV2RkeConfigEtcd
Cluster V2 etcd
MachinePoolDefaults This property is required. []GetClusterV2RkeConfigMachinePoolDefault
Default values for machine pool configurations if unset
MachinePools This property is required. []GetClusterV2RkeConfigMachinePool
Cluster V2 machine pools
MachineSelectorConfigs This property is required. []GetClusterV2RkeConfigMachineSelectorConfig
Cluster V2 machine selector config
MachineSelectorFiles This property is required. []GetClusterV2RkeConfigMachineSelectorFile
Cluster V2 machine selector files
AdditionalManifest string
Cluster V2 additional manifest
ChartValues string
Cluster V2 chart values. It should be in YAML format
EtcdSnapshotCreate GetClusterV2RkeConfigEtcdSnapshotCreate
Cluster V2 etcd snapshot create
EtcdSnapshotRestore GetClusterV2RkeConfigEtcdSnapshotRestore
Cluster V2 etcd snapshot restore
LocalAuthEndpoint GetClusterV2RkeConfigLocalAuthEndpoint
Cluster V2 local auth endpoint

Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead

MachineGlobalConfig string
Cluster V2 machine global config
Registries GetClusterV2RkeConfigRegistries
Cluster V2 registries
RotateCertificates GetClusterV2RkeConfigRotateCertificates
Cluster V2 certificate rotation
UpgradeStrategy GetClusterV2RkeConfigUpgradeStrategy
Cluster V2 upgrade strategy
etcd This property is required. GetClusterV2RkeConfigEtcd
Cluster V2 etcd
machinePoolDefaults This property is required. List<GetClusterV2RkeConfigMachinePoolDefault>
Default values for machine pool configurations if unset
machinePools This property is required. List<GetClusterV2RkeConfigMachinePool>
Cluster V2 machine pools
machineSelectorConfigs This property is required. List<GetClusterV2RkeConfigMachineSelectorConfig>
Cluster V2 machine selector config
machineSelectorFiles This property is required. List<GetClusterV2RkeConfigMachineSelectorFile>
Cluster V2 machine selector files
additionalManifest String
Cluster V2 additional manifest
chartValues String
Cluster V2 chart values. It should be in YAML format
etcdSnapshotCreate GetClusterV2RkeConfigEtcdSnapshotCreate
Cluster V2 etcd snapshot create
etcdSnapshotRestore GetClusterV2RkeConfigEtcdSnapshotRestore
Cluster V2 etcd snapshot restore
localAuthEndpoint GetClusterV2RkeConfigLocalAuthEndpoint
Cluster V2 local auth endpoint

Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead

machineGlobalConfig String
Cluster V2 machine global config
registries GetClusterV2RkeConfigRegistries
Cluster V2 registries
rotateCertificates GetClusterV2RkeConfigRotateCertificates
Cluster V2 certificate rotation
upgradeStrategy GetClusterV2RkeConfigUpgradeStrategy
Cluster V2 upgrade strategy
etcd This property is required. GetClusterV2RkeConfigEtcd
Cluster V2 etcd
machinePoolDefaults This property is required. GetClusterV2RkeConfigMachinePoolDefault[]
Default values for machine pool configurations if unset
machinePools This property is required. GetClusterV2RkeConfigMachinePool[]
Cluster V2 machine pools
machineSelectorConfigs This property is required. GetClusterV2RkeConfigMachineSelectorConfig[]
Cluster V2 machine selector config
machineSelectorFiles This property is required. GetClusterV2RkeConfigMachineSelectorFile[]
Cluster V2 machine selector files
additionalManifest string
Cluster V2 additional manifest
chartValues string
Cluster V2 chart values. It should be in YAML format
etcdSnapshotCreate GetClusterV2RkeConfigEtcdSnapshotCreate
Cluster V2 etcd snapshot create
etcdSnapshotRestore GetClusterV2RkeConfigEtcdSnapshotRestore
Cluster V2 etcd snapshot restore
localAuthEndpoint GetClusterV2RkeConfigLocalAuthEndpoint
Cluster V2 local auth endpoint

Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead

machineGlobalConfig string
Cluster V2 machine global config
registries GetClusterV2RkeConfigRegistries
Cluster V2 registries
rotateCertificates GetClusterV2RkeConfigRotateCertificates
Cluster V2 certificate rotation
upgradeStrategy GetClusterV2RkeConfigUpgradeStrategy
Cluster V2 upgrade strategy
etcd This property is required. GetClusterV2RkeConfigEtcd
Cluster V2 etcd
machine_pool_defaults This property is required. Sequence[GetClusterV2RkeConfigMachinePoolDefault]
Default values for machine pool configurations if unset
machine_pools This property is required. Sequence[GetClusterV2RkeConfigMachinePool]
Cluster V2 machine pools
machine_selector_configs This property is required. Sequence[GetClusterV2RkeConfigMachineSelectorConfig]
Cluster V2 machine selector config
machine_selector_files This property is required. Sequence[GetClusterV2RkeConfigMachineSelectorFile]
Cluster V2 machine selector files
additional_manifest str
Cluster V2 additional manifest
chart_values str
Cluster V2 chart values. It should be in YAML format
etcd_snapshot_create GetClusterV2RkeConfigEtcdSnapshotCreate
Cluster V2 etcd snapshot create
etcd_snapshot_restore GetClusterV2RkeConfigEtcdSnapshotRestore
Cluster V2 etcd snapshot restore
local_auth_endpoint GetClusterV2RkeConfigLocalAuthEndpoint
Cluster V2 local auth endpoint

Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead

machine_global_config str
Cluster V2 machine global config
registries GetClusterV2RkeConfigRegistries
Cluster V2 registries
rotate_certificates GetClusterV2RkeConfigRotateCertificates
Cluster V2 certificate rotation
upgrade_strategy GetClusterV2RkeConfigUpgradeStrategy
Cluster V2 upgrade strategy
etcd This property is required. Property Map
Cluster V2 etcd
machinePoolDefaults This property is required. List<Property Map>
Default values for machine pool configurations if unset
machinePools This property is required. List<Property Map>
Cluster V2 machine pools
machineSelectorConfigs This property is required. List<Property Map>
Cluster V2 machine selector config
machineSelectorFiles This property is required. List<Property Map>
Cluster V2 machine selector files
additionalManifest String
Cluster V2 additional manifest
chartValues String
Cluster V2 chart values. It should be in YAML format
etcdSnapshotCreate Property Map
Cluster V2 etcd snapshot create
etcdSnapshotRestore Property Map
Cluster V2 etcd snapshot restore
localAuthEndpoint Property Map
Cluster V2 local auth endpoint

Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead

machineGlobalConfig String
Cluster V2 machine global config
registries Property Map
Cluster V2 registries
rotateCertificates Property Map
Cluster V2 certificate rotation
upgradeStrategy Property Map
Cluster V2 upgrade strategy

GetClusterV2RkeConfigEtcd

DisableSnapshots bool
Disable ETCD snapshots
S3Config GetClusterV2RkeConfigEtcdS3Config
ETCD snapshot S3 config
SnapshotRetention int
ETCD snapshot retention
SnapshotScheduleCron string
ETCD snapshot schedule cron (e.g "0 */5 * * *")
DisableSnapshots bool
Disable ETCD snapshots
S3Config GetClusterV2RkeConfigEtcdS3Config
ETCD snapshot S3 config
SnapshotRetention int
ETCD snapshot retention
SnapshotScheduleCron string
ETCD snapshot schedule cron (e.g "0 */5 * * *")
disableSnapshots Boolean
Disable ETCD snapshots
s3Config GetClusterV2RkeConfigEtcdS3Config
ETCD snapshot S3 config
snapshotRetention Integer
ETCD snapshot retention
snapshotScheduleCron String
ETCD snapshot schedule cron (e.g "0 */5 * * *")
disableSnapshots boolean
Disable ETCD snapshots
s3Config GetClusterV2RkeConfigEtcdS3Config
ETCD snapshot S3 config
snapshotRetention number
ETCD snapshot retention
snapshotScheduleCron string
ETCD snapshot schedule cron (e.g "0 */5 * * *")
disable_snapshots bool
Disable ETCD snapshots
s3_config GetClusterV2RkeConfigEtcdS3Config
ETCD snapshot S3 config
snapshot_retention int
ETCD snapshot retention
snapshot_schedule_cron str
ETCD snapshot schedule cron (e.g "0 */5 * * *")
disableSnapshots Boolean
Disable ETCD snapshots
s3Config Property Map
ETCD snapshot S3 config
snapshotRetention Number
ETCD snapshot retention
snapshotScheduleCron String
ETCD snapshot schedule cron (e.g "0 */5 * * *")

GetClusterV2RkeConfigEtcdS3Config

Bucket This property is required. string
ETCD snapshot S3 bucket
Endpoint This property is required. string
ETCD snapshot S3 endpoint
CloudCredentialName string
ETCD snapshot S3 cloud credential name
EndpointCa string
ETCD snapshot S3 endpoint CA
Folder string
ETCD snapshot S3 folder
Region string
ETCD snapshot S3 region
SkipSslVerify bool
Disable ETCD skip ssl verify
Bucket This property is required. string
ETCD snapshot S3 bucket
Endpoint This property is required. string
ETCD snapshot S3 endpoint
CloudCredentialName string
ETCD snapshot S3 cloud credential name
EndpointCa string
ETCD snapshot S3 endpoint CA
Folder string
ETCD snapshot S3 folder
Region string
ETCD snapshot S3 region
SkipSslVerify bool
Disable ETCD skip ssl verify
bucket This property is required. String
ETCD snapshot S3 bucket
endpoint This property is required. String
ETCD snapshot S3 endpoint
cloudCredentialName String
ETCD snapshot S3 cloud credential name
endpointCa String
ETCD snapshot S3 endpoint CA
folder String
ETCD snapshot S3 folder
region String
ETCD snapshot S3 region
skipSslVerify Boolean
Disable ETCD skip ssl verify
bucket This property is required. string
ETCD snapshot S3 bucket
endpoint This property is required. string
ETCD snapshot S3 endpoint
cloudCredentialName string
ETCD snapshot S3 cloud credential name
endpointCa string
ETCD snapshot S3 endpoint CA
folder string
ETCD snapshot S3 folder
region string
ETCD snapshot S3 region
skipSslVerify boolean
Disable ETCD skip ssl verify
bucket This property is required. str
ETCD snapshot S3 bucket
endpoint This property is required. str
ETCD snapshot S3 endpoint
cloud_credential_name str
ETCD snapshot S3 cloud credential name
endpoint_ca str
ETCD snapshot S3 endpoint CA
folder str
ETCD snapshot S3 folder
region str
ETCD snapshot S3 region
skip_ssl_verify bool
Disable ETCD skip ssl verify
bucket This property is required. String
ETCD snapshot S3 bucket
endpoint This property is required. String
ETCD snapshot S3 endpoint
cloudCredentialName String
ETCD snapshot S3 cloud credential name
endpointCa String
ETCD snapshot S3 endpoint CA
folder String
ETCD snapshot S3 folder
region String
ETCD snapshot S3 region
skipSslVerify Boolean
Disable ETCD skip ssl verify

GetClusterV2RkeConfigEtcdSnapshotCreate

Generation This property is required. int
ETCD generation to initiate a snapshot
Generation This property is required. int
ETCD generation to initiate a snapshot
generation This property is required. Integer
ETCD generation to initiate a snapshot
generation This property is required. number
ETCD generation to initiate a snapshot
generation This property is required. int
ETCD generation to initiate a snapshot
generation This property is required. Number
ETCD generation to initiate a snapshot

GetClusterV2RkeConfigEtcdSnapshotRestore

Generation This property is required. int
ETCD snapshot desired generation
Name This property is required. string
The name of the Cluster v2 (string)
RestoreRkeConfig string
ETCD restore RKE config (set to none, all, or kubernetesVersion)
Generation This property is required. int
ETCD snapshot desired generation
Name This property is required. string
The name of the Cluster v2 (string)
RestoreRkeConfig string
ETCD restore RKE config (set to none, all, or kubernetesVersion)
generation This property is required. Integer
ETCD snapshot desired generation
name This property is required. String
The name of the Cluster v2 (string)
restoreRkeConfig String
ETCD restore RKE config (set to none, all, or kubernetesVersion)
generation This property is required. number
ETCD snapshot desired generation
name This property is required. string
The name of the Cluster v2 (string)
restoreRkeConfig string
ETCD restore RKE config (set to none, all, or kubernetesVersion)
generation This property is required. int
ETCD snapshot desired generation
name This property is required. str
The name of the Cluster v2 (string)
restore_rke_config str
ETCD restore RKE config (set to none, all, or kubernetesVersion)
generation This property is required. Number
ETCD snapshot desired generation
name This property is required. String
The name of the Cluster v2 (string)
restoreRkeConfig String
ETCD restore RKE config (set to none, all, or kubernetesVersion)

GetClusterV2RkeConfigLocalAuthEndpoint

CaCerts string
Enabled bool
Fqdn string
CaCerts string
Enabled bool
Fqdn string
caCerts String
enabled Boolean
fqdn String
caCerts string
enabled boolean
fqdn string
ca_certs str
enabled bool
fqdn str
caCerts String
enabled Boolean
fqdn String

GetClusterV2RkeConfigMachinePool

Annotations This property is required. Dictionary<string, string>
Annotations of the resource
Labels This property is required. Dictionary<string, string>
Labels of the resource
MachineConfig This property is required. GetClusterV2RkeConfigMachinePoolMachineConfig
Machine config data
MachineLabels This property is required. Dictionary<string, string>
Labels of the machine
Name This property is required. string
The name of the Cluster v2 (string)
CloudCredentialSecretName string
(Computed) Cluster V2 cloud credential secret name (string)
ControlPlaneRole bool
Machine pool control plane role
DrainBeforeDelete bool
Machine pool drain before delete
EtcdRole bool
Machine pool etcd role
HostnameLengthLimit int
maximum length for autogenerated hostname
MaxUnhealthy string
max unhealthy nodes for automated replacement to be allowed
NodeDrainTimeout int
seconds to wait for machine pool drain to complete before machine deletion
NodeStartupTimeoutSeconds int
seconds a new node has to become active before it is replaced
Paused bool
Machine pool paused
Quantity int
Machine pool quantity
RollingUpdate GetClusterV2RkeConfigMachinePoolRollingUpdate
Machine pool rolling update
Taints List<GetClusterV2RkeConfigMachinePoolTaint>
Machine pool taints
UnhealthyNodeTimeoutSeconds int
seconds an unhealthy node has to become active before it is replaced
UnhealthyRange string
range of unhealthy nodes for automated replacement to be allowed
WorkerRole bool
Machine pool worker role
Annotations This property is required. map[string]string
Annotations of the resource
Labels This property is required. map[string]string
Labels of the resource
MachineConfig This property is required. GetClusterV2RkeConfigMachinePoolMachineConfig
Machine config data
MachineLabels This property is required. map[string]string
Labels of the machine
Name This property is required. string
The name of the Cluster v2 (string)
CloudCredentialSecretName string
(Computed) Cluster V2 cloud credential secret name (string)
ControlPlaneRole bool
Machine pool control plane role
DrainBeforeDelete bool
Machine pool drain before delete
EtcdRole bool
Machine pool etcd role
HostnameLengthLimit int
maximum length for autogenerated hostname
MaxUnhealthy string
max unhealthy nodes for automated replacement to be allowed
NodeDrainTimeout int
seconds to wait for machine pool drain to complete before machine deletion
NodeStartupTimeoutSeconds int
seconds a new node has to become active before it is replaced
Paused bool
Machine pool paused
Quantity int
Machine pool quantity
RollingUpdate GetClusterV2RkeConfigMachinePoolRollingUpdate
Machine pool rolling update
Taints []GetClusterV2RkeConfigMachinePoolTaint
Machine pool taints
UnhealthyNodeTimeoutSeconds int
seconds an unhealthy node has to become active before it is replaced
UnhealthyRange string
range of unhealthy nodes for automated replacement to be allowed
WorkerRole bool
Machine pool worker role
annotations This property is required. Map<String,String>
Annotations of the resource
labels This property is required. Map<String,String>
Labels of the resource
machineConfig This property is required. GetClusterV2RkeConfigMachinePoolMachineConfig
Machine config data
machineLabels This property is required. Map<String,String>
Labels of the machine
name This property is required. String
The name of the Cluster v2 (string)
cloudCredentialSecretName String
(Computed) Cluster V2 cloud credential secret name (string)
controlPlaneRole Boolean
Machine pool control plane role
drainBeforeDelete Boolean
Machine pool drain before delete
etcdRole Boolean
Machine pool etcd role
hostnameLengthLimit Integer
maximum length for autogenerated hostname
maxUnhealthy String
max unhealthy nodes for automated replacement to be allowed
nodeDrainTimeout Integer
seconds to wait for machine pool drain to complete before machine deletion
nodeStartupTimeoutSeconds Integer
seconds a new node has to become active before it is replaced
paused Boolean
Machine pool paused
quantity Integer
Machine pool quantity
rollingUpdate GetClusterV2RkeConfigMachinePoolRollingUpdate
Machine pool rolling update
taints List<GetClusterV2RkeConfigMachinePoolTaint>
Machine pool taints
unhealthyNodeTimeoutSeconds Integer
seconds an unhealthy node has to become active before it is replaced
unhealthyRange String
range of unhealthy nodes for automated replacement to be allowed
workerRole Boolean
Machine pool worker role
annotations This property is required. {[key: string]: string}
Annotations of the resource
labels This property is required. {[key: string]: string}
Labels of the resource
machineConfig This property is required. GetClusterV2RkeConfigMachinePoolMachineConfig
Machine config data
machineLabels This property is required. {[key: string]: string}
Labels of the machine
name This property is required. string
The name of the Cluster v2 (string)
cloudCredentialSecretName string
(Computed) Cluster V2 cloud credential secret name (string)
controlPlaneRole boolean
Machine pool control plane role
drainBeforeDelete boolean
Machine pool drain before delete
etcdRole boolean
Machine pool etcd role
hostnameLengthLimit number
maximum length for autogenerated hostname
maxUnhealthy string
max unhealthy nodes for automated replacement to be allowed
nodeDrainTimeout number
seconds to wait for machine pool drain to complete before machine deletion
nodeStartupTimeoutSeconds number
seconds a new node has to become active before it is replaced
paused boolean
Machine pool paused
quantity number
Machine pool quantity
rollingUpdate GetClusterV2RkeConfigMachinePoolRollingUpdate
Machine pool rolling update
taints GetClusterV2RkeConfigMachinePoolTaint[]
Machine pool taints
unhealthyNodeTimeoutSeconds number
seconds an unhealthy node has to become active before it is replaced
unhealthyRange string
range of unhealthy nodes for automated replacement to be allowed
workerRole boolean
Machine pool worker role
annotations This property is required. Mapping[str, str]
Annotations of the resource
labels This property is required. Mapping[str, str]
Labels of the resource
machine_config This property is required. GetClusterV2RkeConfigMachinePoolMachineConfig
Machine config data
machine_labels This property is required. Mapping[str, str]
Labels of the machine
name This property is required. str
The name of the Cluster v2 (string)
cloud_credential_secret_name str
(Computed) Cluster V2 cloud credential secret name (string)
control_plane_role bool
Machine pool control plane role
drain_before_delete bool
Machine pool drain before delete
etcd_role bool
Machine pool etcd role
hostname_length_limit int
maximum length for autogenerated hostname
max_unhealthy str
max unhealthy nodes for automated replacement to be allowed
node_drain_timeout int
seconds to wait for machine pool drain to complete before machine deletion
node_startup_timeout_seconds int
seconds a new node has to become active before it is replaced
paused bool
Machine pool paused
quantity int
Machine pool quantity
rolling_update GetClusterV2RkeConfigMachinePoolRollingUpdate
Machine pool rolling update
taints Sequence[GetClusterV2RkeConfigMachinePoolTaint]
Machine pool taints
unhealthy_node_timeout_seconds int
seconds an unhealthy node has to become active before it is replaced
unhealthy_range str
range of unhealthy nodes for automated replacement to be allowed
worker_role bool
Machine pool worker role
annotations This property is required. Map<String>
Annotations of the resource
labels This property is required. Map<String>
Labels of the resource
machineConfig This property is required. Property Map
Machine config data
machineLabels This property is required. Map<String>
Labels of the machine
name This property is required. String
The name of the Cluster v2 (string)
cloudCredentialSecretName String
(Computed) Cluster V2 cloud credential secret name (string)
controlPlaneRole Boolean
Machine pool control plane role
drainBeforeDelete Boolean
Machine pool drain before delete
etcdRole Boolean
Machine pool etcd role
hostnameLengthLimit Number
maximum length for autogenerated hostname
maxUnhealthy String
max unhealthy nodes for automated replacement to be allowed
nodeDrainTimeout Number
seconds to wait for machine pool drain to complete before machine deletion
nodeStartupTimeoutSeconds Number
seconds a new node has to become active before it is replaced
paused Boolean
Machine pool paused
quantity Number
Machine pool quantity
rollingUpdate Property Map
Machine pool rolling update
taints List<Property Map>
Machine pool taints
unhealthyNodeTimeoutSeconds Number
seconds an unhealthy node has to become active before it is replaced
unhealthyRange String
range of unhealthy nodes for automated replacement to be allowed
workerRole Boolean
Machine pool worker role

GetClusterV2RkeConfigMachinePoolDefault

HostnameLengthLimit int
maximum length for autogenerated hostname
HostnameLengthLimit int
maximum length for autogenerated hostname
hostnameLengthLimit Integer
maximum length for autogenerated hostname
hostnameLengthLimit number
maximum length for autogenerated hostname
hostname_length_limit int
maximum length for autogenerated hostname
hostnameLengthLimit Number
maximum length for autogenerated hostname

GetClusterV2RkeConfigMachinePoolMachineConfig

Kind This property is required. string
Machine config kind
Name This property is required. string
The name of the Cluster v2 (string)
ApiVersion string
Machine config API version
Kind This property is required. string
Machine config kind
Name This property is required. string
The name of the Cluster v2 (string)
ApiVersion string
Machine config API version
kind This property is required. String
Machine config kind
name This property is required. String
The name of the Cluster v2 (string)
apiVersion String
Machine config API version
kind This property is required. string
Machine config kind
name This property is required. string
The name of the Cluster v2 (string)
apiVersion string
Machine config API version
kind This property is required. str
Machine config kind
name This property is required. str
The name of the Cluster v2 (string)
api_version str
Machine config API version
kind This property is required. String
Machine config kind
name This property is required. String
The name of the Cluster v2 (string)
apiVersion String
Machine config API version

GetClusterV2RkeConfigMachinePoolRollingUpdate

MaxSurge string
Rolling update max surge
MaxUnavailable string
Rolling update max unavailable
MaxSurge string
Rolling update max surge
MaxUnavailable string
Rolling update max unavailable
maxSurge String
Rolling update max surge
maxUnavailable String
Rolling update max unavailable
maxSurge string
Rolling update max surge
maxUnavailable string
Rolling update max unavailable
max_surge str
Rolling update max surge
max_unavailable str
Rolling update max unavailable
maxSurge String
Rolling update max surge
maxUnavailable String
Rolling update max unavailable

GetClusterV2RkeConfigMachinePoolTaint

Key This property is required. string
Value This property is required. string
Effect string
Key This property is required. string
Value This property is required. string
Effect string
key This property is required. String
value This property is required. String
effect String
key This property is required. string
value This property is required. string
effect string
key This property is required. str
value This property is required. str
effect str
key This property is required. String
value This property is required. String
effect String

GetClusterV2RkeConfigMachineSelectorConfig

config String
Machine selector config
machineLabelSelector Property Map
Machine label selector

GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector

MatchExpressions List<GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression>
Label selector match expressions
MatchLabels Dictionary<string, string>
Label selector match labels
MatchExpressions []GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression
Label selector match expressions
MatchLabels map[string]string
Label selector match labels
matchExpressions List<GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression>
Label selector match expressions
matchLabels Map<String,String>
Label selector match labels
matchExpressions GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression[]
Label selector match expressions
matchLabels {[key: string]: string}
Label selector match labels
match_expressions Sequence[GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression]
Label selector match expressions
match_labels Mapping[str, str]
Label selector match labels
matchExpressions List<Property Map>
Label selector match expressions
matchLabels Map<String>
Label selector match labels

GetClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression

Key string
Label selector requirement key
Operator string
Label selector operator
Values List<string>
Label selector requirement values
Key string
Label selector requirement key
Operator string
Label selector operator
Values []string
Label selector requirement values
key String
Label selector requirement key
operator String
Label selector operator
values List<String>
Label selector requirement values
key string
Label selector requirement key
operator string
Label selector operator
values string[]
Label selector requirement values
key str
Label selector requirement key
operator str
Label selector operator
values Sequence[str]
Label selector requirement values
key String
Label selector requirement key
operator String
Label selector operator
values List<String>
Label selector requirement values

GetClusterV2RkeConfigMachineSelectorFile

GetClusterV2RkeConfigMachineSelectorFileFileSource

configmap Property Map
The configmap which is the source of files
secret Property Map
The secret which is the source of files

GetClusterV2RkeConfigMachineSelectorFileFileSourceConfigmap

Name This property is required. string
The name of the Cluster v2 (string)
DefaultPermissions string
The default permissions to be applied when they are not set at the item level
Items List<GetClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapItem>
Items(files) to retrieve from the K8s object
Name This property is required. string
The name of the Cluster v2 (string)
DefaultPermissions string
The default permissions to be applied when they are not set at the item level
Items []GetClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapItem
Items(files) to retrieve from the K8s object
name This property is required. String
The name of the Cluster v2 (string)
defaultPermissions String
The default permissions to be applied when they are not set at the item level
items List<GetClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapItem>
Items(files) to retrieve from the K8s object
name This property is required. string
The name of the Cluster v2 (string)
defaultPermissions string
The default permissions to be applied when they are not set at the item level
items GetClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapItem[]
Items(files) to retrieve from the K8s object
name This property is required. str
The name of the Cluster v2 (string)
default_permissions str
The default permissions to be applied when they are not set at the item level
items Sequence[GetClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapItem]
Items(files) to retrieve from the K8s object
name This property is required. String
The name of the Cluster v2 (string)
defaultPermissions String
The default permissions to be applied when they are not set at the item level
items List<Property Map>
Items(files) to retrieve from the K8s object

GetClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapItem

Key This property is required. string
The key of the item(file) to retrieve
Path This property is required. string
The path to put the file in the target node
Dynamic bool
If ture, the file is ignored when determining whether the node should be drained before updating the node plan (default: true).
Hash string
The base64 encoded value of the SHA256 checksum of the file's content
Permissions string
The numeric representation of the file permissions
Key This property is required. string
The key of the item(file) to retrieve
Path This property is required. string
The path to put the file in the target node
Dynamic bool
If ture, the file is ignored when determining whether the node should be drained before updating the node plan (default: true).
Hash string
The base64 encoded value of the SHA256 checksum of the file's content
Permissions string
The numeric representation of the file permissions
key This property is required. String
The key of the item(file) to retrieve
path This property is required. String
The path to put the file in the target node
dynamic Boolean
If ture, the file is ignored when determining whether the node should be drained before updating the node plan (default: true).
hash String
The base64 encoded value of the SHA256 checksum of the file's content
permissions String
The numeric representation of the file permissions
key This property is required. string
The key of the item(file) to retrieve
path This property is required. string
The path to put the file in the target node
dynamic boolean
If ture, the file is ignored when determining whether the node should be drained before updating the node plan (default: true).
hash string
The base64 encoded value of the SHA256 checksum of the file's content
permissions string
The numeric representation of the file permissions
key This property is required. str
The key of the item(file) to retrieve
path This property is required. str
The path to put the file in the target node
dynamic bool
If ture, the file is ignored when determining whether the node should be drained before updating the node plan (default: true).
hash str
The base64 encoded value of the SHA256 checksum of the file's content
permissions str
The numeric representation of the file permissions
key This property is required. String
The key of the item(file) to retrieve
path This property is required. String
The path to put the file in the target node
dynamic Boolean
If ture, the file is ignored when determining whether the node should be drained before updating the node plan (default: true).
hash String
The base64 encoded value of the SHA256 checksum of the file's content
permissions String
The numeric representation of the file permissions

GetClusterV2RkeConfigMachineSelectorFileFileSourceSecret

Name This property is required. string
The name of the Cluster v2 (string)
DefaultPermissions string
The default permissions to be applied when they are not set at the item level
Items List<GetClusterV2RkeConfigMachineSelectorFileFileSourceSecretItem>
Items(files) to retrieve from the K8s object
Name This property is required. string
The name of the Cluster v2 (string)
DefaultPermissions string
The default permissions to be applied when they are not set at the item level
Items []GetClusterV2RkeConfigMachineSelectorFileFileSourceSecretItem
Items(files) to retrieve from the K8s object
name This property is required. String
The name of the Cluster v2 (string)
defaultPermissions String
The default permissions to be applied when they are not set at the item level
items List<GetClusterV2RkeConfigMachineSelectorFileFileSourceSecretItem>
Items(files) to retrieve from the K8s object
name This property is required. string
The name of the Cluster v2 (string)
defaultPermissions string
The default permissions to be applied when they are not set at the item level
items GetClusterV2RkeConfigMachineSelectorFileFileSourceSecretItem[]
Items(files) to retrieve from the K8s object
name This property is required. str
The name of the Cluster v2 (string)
default_permissions str
The default permissions to be applied when they are not set at the item level
items Sequence[GetClusterV2RkeConfigMachineSelectorFileFileSourceSecretItem]
Items(files) to retrieve from the K8s object
name This property is required. String
The name of the Cluster v2 (string)
defaultPermissions String
The default permissions to be applied when they are not set at the item level
items List<Property Map>
Items(files) to retrieve from the K8s object

GetClusterV2RkeConfigMachineSelectorFileFileSourceSecretItem

Key This property is required. string
The key of the item(file) to retrieve
Path This property is required. string
The path to put the file in the target node
Dynamic bool
If ture, the file is ignored when determining whether the node should be drained before updating the node plan (default: true).
Hash string
The base64 encoded value of the SHA256 checksum of the file's content
Permissions string
The numeric representation of the file permissions
Key This property is required. string
The key of the item(file) to retrieve
Path This property is required. string
The path to put the file in the target node
Dynamic bool
If ture, the file is ignored when determining whether the node should be drained before updating the node plan (default: true).
Hash string
The base64 encoded value of the SHA256 checksum of the file's content
Permissions string
The numeric representation of the file permissions
key This property is required. String
The key of the item(file) to retrieve
path This property is required. String
The path to put the file in the target node
dynamic Boolean
If ture, the file is ignored when determining whether the node should be drained before updating the node plan (default: true).
hash String
The base64 encoded value of the SHA256 checksum of the file's content
permissions String
The numeric representation of the file permissions
key This property is required. string
The key of the item(file) to retrieve
path This property is required. string
The path to put the file in the target node
dynamic boolean
If ture, the file is ignored when determining whether the node should be drained before updating the node plan (default: true).
hash string
The base64 encoded value of the SHA256 checksum of the file's content
permissions string
The numeric representation of the file permissions
key This property is required. str
The key of the item(file) to retrieve
path This property is required. str
The path to put the file in the target node
dynamic bool
If ture, the file is ignored when determining whether the node should be drained before updating the node plan (default: true).
hash str
The base64 encoded value of the SHA256 checksum of the file's content
permissions str
The numeric representation of the file permissions
key This property is required. String
The key of the item(file) to retrieve
path This property is required. String
The path to put the file in the target node
dynamic Boolean
If ture, the file is ignored when determining whether the node should be drained before updating the node plan (default: true).
hash String
The base64 encoded value of the SHA256 checksum of the file's content
permissions String
The numeric representation of the file permissions

GetClusterV2RkeConfigMachineSelectorFileMachineLabelSelector

MatchExpressions List<GetClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorMatchExpression>
Label selector match expressions
MatchLabels Dictionary<string, string>
Label selector match labels
MatchExpressions []GetClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorMatchExpression
Label selector match expressions
MatchLabels map[string]string
Label selector match labels
matchExpressions List<GetClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorMatchExpression>
Label selector match expressions
matchLabels Map<String,String>
Label selector match labels
matchExpressions GetClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorMatchExpression[]
Label selector match expressions
matchLabels {[key: string]: string}
Label selector match labels
match_expressions Sequence[GetClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorMatchExpression]
Label selector match expressions
match_labels Mapping[str, str]
Label selector match labels
matchExpressions List<Property Map>
Label selector match expressions
matchLabels Map<String>
Label selector match labels

GetClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorMatchExpression

Key string
Label selector requirement key
Operator string
Label selector operator
Values List<string>
Label selector requirement values
Key string
Label selector requirement key
Operator string
Label selector operator
Values []string
Label selector requirement values
key String
Label selector requirement key
operator String
Label selector operator
values List<String>
Label selector requirement values
key string
Label selector requirement key
operator string
Label selector operator
values string[]
Label selector requirement values
key str
Label selector requirement key
operator str
Label selector operator
values Sequence[str]
Label selector requirement values
key String
Label selector requirement key
operator String
Label selector operator
values List<String>
Label selector requirement values

GetClusterV2RkeConfigRegistries

GetClusterV2RkeConfigRegistriesConfig

Hostname This property is required. string
Registry hostname
AuthConfigSecretName string
Registry auth config secret name
CaBundle string
Registry CA bundle
Insecure bool
Registry insecure connectivity
TlsSecretName string
Registry TLS secret name. TLS is a pair of Cert/Key
Hostname This property is required. string
Registry hostname
AuthConfigSecretName string
Registry auth config secret name
CaBundle string
Registry CA bundle
Insecure bool
Registry insecure connectivity
TlsSecretName string
Registry TLS secret name. TLS is a pair of Cert/Key
hostname This property is required. String
Registry hostname
authConfigSecretName String
Registry auth config secret name
caBundle String
Registry CA bundle
insecure Boolean
Registry insecure connectivity
tlsSecretName String
Registry TLS secret name. TLS is a pair of Cert/Key
hostname This property is required. string
Registry hostname
authConfigSecretName string
Registry auth config secret name
caBundle string
Registry CA bundle
insecure boolean
Registry insecure connectivity
tlsSecretName string
Registry TLS secret name. TLS is a pair of Cert/Key
hostname This property is required. str
Registry hostname
auth_config_secret_name str
Registry auth config secret name
ca_bundle str
Registry CA bundle
insecure bool
Registry insecure connectivity
tls_secret_name str
Registry TLS secret name. TLS is a pair of Cert/Key
hostname This property is required. String
Registry hostname
authConfigSecretName String
Registry auth config secret name
caBundle String
Registry CA bundle
insecure Boolean
Registry insecure connectivity
tlsSecretName String
Registry TLS secret name. TLS is a pair of Cert/Key

GetClusterV2RkeConfigRegistriesMirror

Hostname This property is required. string
Registry hostname
Endpoints List<string>
Registry mirror endpoints
Rewrites Dictionary<string, string>
Registry mirror rewrites
Hostname This property is required. string
Registry hostname
Endpoints []string
Registry mirror endpoints
Rewrites map[string]string
Registry mirror rewrites
hostname This property is required. String
Registry hostname
endpoints List<String>
Registry mirror endpoints
rewrites Map<String,String>
Registry mirror rewrites
hostname This property is required. string
Registry hostname
endpoints string[]
Registry mirror endpoints
rewrites {[key: string]: string}
Registry mirror rewrites
hostname This property is required. str
Registry hostname
endpoints Sequence[str]
Registry mirror endpoints
rewrites Mapping[str, str]
Registry mirror rewrites
hostname This property is required. String
Registry hostname
endpoints List<String>
Registry mirror endpoints
rewrites Map<String>
Registry mirror rewrites

GetClusterV2RkeConfigRotateCertificates

Generation This property is required. int
Desired certificate rotation generation.
Services List<string>
Service certificates to rotate with this generation.
Generation This property is required. int
Desired certificate rotation generation.
Services []string
Service certificates to rotate with this generation.
generation This property is required. Integer
Desired certificate rotation generation.
services List<String>
Service certificates to rotate with this generation.
generation This property is required. number
Desired certificate rotation generation.
services string[]
Service certificates to rotate with this generation.
generation This property is required. int
Desired certificate rotation generation.
services Sequence[str]
Service certificates to rotate with this generation.
generation This property is required. Number
Desired certificate rotation generation.
services List<String>
Service certificates to rotate with this generation.

GetClusterV2RkeConfigUpgradeStrategy

ControlPlaneConcurrency string
How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted
ControlPlaneDrainOptions GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions
Controlplane nodes drain options
WorkerConcurrency string
How many worker nodes should be upgrade at time
WorkerDrainOptions GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions
Worker nodes drain options
ControlPlaneConcurrency string
How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted
ControlPlaneDrainOptions GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions
Controlplane nodes drain options
WorkerConcurrency string
How many worker nodes should be upgrade at time
WorkerDrainOptions GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions
Worker nodes drain options
controlPlaneConcurrency String
How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted
controlPlaneDrainOptions GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions
Controlplane nodes drain options
workerConcurrency String
How many worker nodes should be upgrade at time
workerDrainOptions GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions
Worker nodes drain options
controlPlaneConcurrency string
How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted
controlPlaneDrainOptions GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions
Controlplane nodes drain options
workerConcurrency string
How many worker nodes should be upgrade at time
workerDrainOptions GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions
Worker nodes drain options
control_plane_concurrency str
How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted
control_plane_drain_options GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions
Controlplane nodes drain options
worker_concurrency str
How many worker nodes should be upgrade at time
worker_drain_options GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions
Worker nodes drain options
controlPlaneConcurrency String
How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted
controlPlaneDrainOptions Property Map
Controlplane nodes drain options
workerConcurrency String
How many worker nodes should be upgrade at time
workerDrainOptions Property Map
Worker nodes drain options

GetClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions

GracePeriod This property is required. int
Drain options grace period
SkipWaitForDeleteTimeoutSeconds This property is required. int
Drain options skip wait for delete timeout seconds
Timeout This property is required. int
Drain options timeout
DeleteEmptyDirData bool
Drain options delete empty dir data
DisableEviction bool
Drain options disable eviction
Enabled bool
Drain options enabled?
Force bool
Drain options force
IgnoreDaemonSets bool
Drain options ignore daemon sets
IgnoreErrors bool
Drain options ignore errors
GracePeriod This property is required. int
Drain options grace period
SkipWaitForDeleteTimeoutSeconds This property is required. int
Drain options skip wait for delete timeout seconds
Timeout This property is required. int
Drain options timeout
DeleteEmptyDirData bool
Drain options delete empty dir data
DisableEviction bool
Drain options disable eviction
Enabled bool
Drain options enabled?
Force bool
Drain options force
IgnoreDaemonSets bool
Drain options ignore daemon sets
IgnoreErrors bool
Drain options ignore errors
gracePeriod This property is required. Integer
Drain options grace period
skipWaitForDeleteTimeoutSeconds This property is required. Integer
Drain options skip wait for delete timeout seconds
timeout This property is required. Integer
Drain options timeout
deleteEmptyDirData Boolean
Drain options delete empty dir data
disableEviction Boolean
Drain options disable eviction
enabled Boolean
Drain options enabled?
force Boolean
Drain options force
ignoreDaemonSets Boolean
Drain options ignore daemon sets
ignoreErrors Boolean
Drain options ignore errors
gracePeriod This property is required. number
Drain options grace period
skipWaitForDeleteTimeoutSeconds This property is required. number
Drain options skip wait for delete timeout seconds
timeout This property is required. number
Drain options timeout
deleteEmptyDirData boolean
Drain options delete empty dir data
disableEviction boolean
Drain options disable eviction
enabled boolean
Drain options enabled?
force boolean
Drain options force
ignoreDaemonSets boolean
Drain options ignore daemon sets
ignoreErrors boolean
Drain options ignore errors
grace_period This property is required. int
Drain options grace period
skip_wait_for_delete_timeout_seconds This property is required. int
Drain options skip wait for delete timeout seconds
timeout This property is required. int
Drain options timeout
delete_empty_dir_data bool
Drain options delete empty dir data
disable_eviction bool
Drain options disable eviction
enabled bool
Drain options enabled?
force bool
Drain options force
ignore_daemon_sets bool
Drain options ignore daemon sets
ignore_errors bool
Drain options ignore errors
gracePeriod This property is required. Number
Drain options grace period
skipWaitForDeleteTimeoutSeconds This property is required. Number
Drain options skip wait for delete timeout seconds
timeout This property is required. Number
Drain options timeout
deleteEmptyDirData Boolean
Drain options delete empty dir data
disableEviction Boolean
Drain options disable eviction
enabled Boolean
Drain options enabled?
force Boolean
Drain options force
ignoreDaemonSets Boolean
Drain options ignore daemon sets
ignoreErrors Boolean
Drain options ignore errors

GetClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions

GracePeriod This property is required. int
Drain options grace period
SkipWaitForDeleteTimeoutSeconds This property is required. int
Drain options skip wait for delete timeout seconds
Timeout This property is required. int
Drain options timeout
DeleteEmptyDirData bool
Drain options delete empty dir data
DisableEviction bool
Drain options disable eviction
Enabled bool
Drain options enabled?
Force bool
Drain options force
IgnoreDaemonSets bool
Drain options ignore daemon sets
IgnoreErrors bool
Drain options ignore errors
GracePeriod This property is required. int
Drain options grace period
SkipWaitForDeleteTimeoutSeconds This property is required. int
Drain options skip wait for delete timeout seconds
Timeout This property is required. int
Drain options timeout
DeleteEmptyDirData bool
Drain options delete empty dir data
DisableEviction bool
Drain options disable eviction
Enabled bool
Drain options enabled?
Force bool
Drain options force
IgnoreDaemonSets bool
Drain options ignore daemon sets
IgnoreErrors bool
Drain options ignore errors
gracePeriod This property is required. Integer
Drain options grace period
skipWaitForDeleteTimeoutSeconds This property is required. Integer
Drain options skip wait for delete timeout seconds
timeout This property is required. Integer
Drain options timeout
deleteEmptyDirData Boolean
Drain options delete empty dir data
disableEviction Boolean
Drain options disable eviction
enabled Boolean
Drain options enabled?
force Boolean
Drain options force
ignoreDaemonSets Boolean
Drain options ignore daemon sets
ignoreErrors Boolean
Drain options ignore errors
gracePeriod This property is required. number
Drain options grace period
skipWaitForDeleteTimeoutSeconds This property is required. number
Drain options skip wait for delete timeout seconds
timeout This property is required. number
Drain options timeout
deleteEmptyDirData boolean
Drain options delete empty dir data
disableEviction boolean
Drain options disable eviction
enabled boolean
Drain options enabled?
force boolean
Drain options force
ignoreDaemonSets boolean
Drain options ignore daemon sets
ignoreErrors boolean
Drain options ignore errors
grace_period This property is required. int
Drain options grace period
skip_wait_for_delete_timeout_seconds This property is required. int
Drain options skip wait for delete timeout seconds
timeout This property is required. int
Drain options timeout
delete_empty_dir_data bool
Drain options delete empty dir data
disable_eviction bool
Drain options disable eviction
enabled bool
Drain options enabled?
force bool
Drain options force
ignore_daemon_sets bool
Drain options ignore daemon sets
ignore_errors bool
Drain options ignore errors
gracePeriod This property is required. Number
Drain options grace period
skipWaitForDeleteTimeoutSeconds This property is required. Number
Drain options skip wait for delete timeout seconds
timeout This property is required. Number
Drain options timeout
deleteEmptyDirData Boolean
Drain options delete empty dir data
disableEviction Boolean
Drain options disable eviction
enabled Boolean
Drain options enabled?
force Boolean
Drain options force
ignoreDaemonSets Boolean
Drain options ignore daemon sets
ignoreErrors Boolean
Drain options ignore errors

Package Details

Repository
Rancher2 pulumi/pulumi-rancher2
License
Apache-2.0
Notes
This Pulumi package is based on the rancher2 Terraform Provider.
Rancher 2 v8.1.5 published on Wednesday, Apr 9, 2025 by Pulumi