1. Packages
  2. Rancher2
  3. API Docs
  4. ClusterV2
Rancher 2 v7.1.0 published on Friday, Sep 27, 2024 by Pulumi

rancher2.ClusterV2

Explore with Pulumi AI

rancher2 logo
Rancher 2 v7.1.0 published on Friday, Sep 27, 2024 by Pulumi

    Import

    Clusters v2 can be imported using the Rancher Cluster v2 ID, that is in the form <FLEET_NAMESPACE>/<CLUSTER_NAME>

    $ pulumi import rancher2:index/clusterV2:ClusterV2 foo <FLEET_NAMESPACE>/<CLUSTER_NAME>
    

    Create ClusterV2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ClusterV2(name: string, args: ClusterV2Args, opts?: CustomResourceOptions);
    @overload
    def ClusterV2(resource_name: str,
                  args: ClusterV2Args,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def ClusterV2(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  kubernetes_version: Optional[str] = None,
                  cluster_agent_deployment_customizations: Optional[Sequence[ClusterV2ClusterAgentDeploymentCustomizationArgs]] = None,
                  cloud_credential_secret_name: Optional[str] = None,
                  agent_env_vars: Optional[Sequence[ClusterV2AgentEnvVarArgs]] = None,
                  default_cluster_role_for_project_members: Optional[str] = None,
                  default_pod_security_admission_configuration_template_name: Optional[str] = None,
                  enable_network_policy: Optional[bool] = None,
                  fleet_agent_deployment_customizations: Optional[Sequence[ClusterV2FleetAgentDeploymentCustomizationArgs]] = None,
                  fleet_namespace: Optional[str] = None,
                  annotations: Optional[Mapping[str, str]] = None,
                  labels: Optional[Mapping[str, str]] = None,
                  local_auth_endpoint: Optional[ClusterV2LocalAuthEndpointArgs] = None,
                  name: Optional[str] = None,
                  rke_config: Optional[ClusterV2RkeConfigArgs] = None)
    func NewClusterV2(ctx *Context, name string, args ClusterV2Args, opts ...ResourceOption) (*ClusterV2, error)
    public ClusterV2(string name, ClusterV2Args args, CustomResourceOptions? opts = null)
    public ClusterV2(String name, ClusterV2Args args)
    public ClusterV2(String name, ClusterV2Args args, CustomResourceOptions options)
    
    type: rancher2:ClusterV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ClusterV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ClusterV2Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ClusterV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ClusterV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ClusterV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var clusterV2Resource = new Rancher2.ClusterV2("clusterV2Resource", new()
    {
        KubernetesVersion = "string",
        ClusterAgentDeploymentCustomizations = new[]
        {
            new Rancher2.Inputs.ClusterV2ClusterAgentDeploymentCustomizationArgs
            {
                AppendTolerations = new[]
                {
                    new Rancher2.Inputs.ClusterV2ClusterAgentDeploymentCustomizationAppendTolerationArgs
                    {
                        Key = "string",
                        Effect = "string",
                        Operator = "string",
                        Seconds = 0,
                        Value = "string",
                    },
                },
                OverrideAffinity = "string",
                OverrideResourceRequirements = new[]
                {
                    new Rancher2.Inputs.ClusterV2ClusterAgentDeploymentCustomizationOverrideResourceRequirementArgs
                    {
                        CpuLimit = "string",
                        CpuRequest = "string",
                        MemoryLimit = "string",
                        MemoryRequest = "string",
                    },
                },
            },
        },
        CloudCredentialSecretName = "string",
        AgentEnvVars = new[]
        {
            new Rancher2.Inputs.ClusterV2AgentEnvVarArgs
            {
                Name = "string",
                Value = "string",
            },
        },
        DefaultClusterRoleForProjectMembers = "string",
        DefaultPodSecurityAdmissionConfigurationTemplateName = "string",
        EnableNetworkPolicy = false,
        FleetAgentDeploymentCustomizations = new[]
        {
            new Rancher2.Inputs.ClusterV2FleetAgentDeploymentCustomizationArgs
            {
                AppendTolerations = new[]
                {
                    new Rancher2.Inputs.ClusterV2FleetAgentDeploymentCustomizationAppendTolerationArgs
                    {
                        Key = "string",
                        Effect = "string",
                        Operator = "string",
                        Seconds = 0,
                        Value = "string",
                    },
                },
                OverrideAffinity = "string",
                OverrideResourceRequirements = new[]
                {
                    new Rancher2.Inputs.ClusterV2FleetAgentDeploymentCustomizationOverrideResourceRequirementArgs
                    {
                        CpuLimit = "string",
                        CpuRequest = "string",
                        MemoryLimit = "string",
                        MemoryRequest = "string",
                    },
                },
            },
        },
        FleetNamespace = "string",
        Annotations = 
        {
            { "string", "string" },
        },
        Labels = 
        {
            { "string", "string" },
        },
        LocalAuthEndpoint = new Rancher2.Inputs.ClusterV2LocalAuthEndpointArgs
        {
            CaCerts = "string",
            Enabled = false,
            Fqdn = "string",
        },
        Name = "string",
        RkeConfig = new Rancher2.Inputs.ClusterV2RkeConfigArgs
        {
            AdditionalManifest = "string",
            ChartValues = "string",
            Etcd = new Rancher2.Inputs.ClusterV2RkeConfigEtcdArgs
            {
                DisableSnapshots = false,
                S3Config = new Rancher2.Inputs.ClusterV2RkeConfigEtcdS3ConfigArgs
                {
                    Bucket = "string",
                    Endpoint = "string",
                    CloudCredentialName = "string",
                    EndpointCa = "string",
                    Folder = "string",
                    Region = "string",
                    SkipSslVerify = false,
                },
                SnapshotRetention = 0,
                SnapshotScheduleCron = "string",
            },
            EtcdSnapshotCreate = new Rancher2.Inputs.ClusterV2RkeConfigEtcdSnapshotCreateArgs
            {
                Generation = 0,
            },
            EtcdSnapshotRestore = new Rancher2.Inputs.ClusterV2RkeConfigEtcdSnapshotRestoreArgs
            {
                Generation = 0,
                Name = "string",
                RestoreRkeConfig = "string",
            },
            MachineGlobalConfig = "string",
            MachinePoolDefaults = new[]
            {
                new Rancher2.Inputs.ClusterV2RkeConfigMachinePoolDefaultArgs
                {
                    HostnameLengthLimit = 0,
                },
            },
            MachinePools = new[]
            {
                new Rancher2.Inputs.ClusterV2RkeConfigMachinePoolArgs
                {
                    MachineConfig = new Rancher2.Inputs.ClusterV2RkeConfigMachinePoolMachineConfigArgs
                    {
                        Kind = "string",
                        Name = "string",
                        ApiVersion = "string",
                    },
                    Name = "string",
                    HostnameLengthLimit = 0,
                    NodeDrainTimeout = 0,
                    EtcdRole = false,
                    Annotations = 
                    {
                        { "string", "string" },
                    },
                    Labels = 
                    {
                        { "string", "string" },
                    },
                    ControlPlaneRole = false,
                    MachineLabels = 
                    {
                        { "string", "string" },
                    },
                    MaxUnhealthy = "string",
                    CloudCredentialSecretName = "string",
                    DrainBeforeDelete = false,
                    NodeStartupTimeoutSeconds = 0,
                    Paused = false,
                    Quantity = 0,
                    RollingUpdate = new Rancher2.Inputs.ClusterV2RkeConfigMachinePoolRollingUpdateArgs
                    {
                        MaxSurge = "string",
                        MaxUnavailable = "string",
                    },
                    Taints = new[]
                    {
                        new Rancher2.Inputs.ClusterV2RkeConfigMachinePoolTaintArgs
                        {
                            Key = "string",
                            Value = "string",
                            Effect = "string",
                        },
                    },
                    UnhealthyNodeTimeoutSeconds = 0,
                    UnhealthyRange = "string",
                    WorkerRole = false,
                },
            },
            MachineSelectorConfigs = new[]
            {
                new Rancher2.Inputs.ClusterV2RkeConfigMachineSelectorConfigArgs
                {
                    Config = "string",
                    MachineLabelSelector = new Rancher2.Inputs.ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs
                    {
                        MatchExpressions = new[]
                        {
                            new Rancher2.Inputs.ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs
                            {
                                Key = "string",
                                Operator = "string",
                                Values = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        MatchLabels = 
                        {
                            { "string", "string" },
                        },
                    },
                },
            },
            MachineSelectorFiles = new[]
            {
                new Rancher2.Inputs.ClusterV2RkeConfigMachineSelectorFileArgs
                {
                    FileSources = new[]
                    {
                        new Rancher2.Inputs.ClusterV2RkeConfigMachineSelectorFileFileSourceArgs
                        {
                            Configmap = new Rancher2.Inputs.ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapArgs
                            {
                                Name = "string",
                                DefaultPermissions = "string",
                                Items = new[]
                                {
                                    new Rancher2.Inputs.ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapItemArgs
                                    {
                                        Key = "string",
                                        Path = "string",
                                        Dynamic = false,
                                        Hash = "string",
                                        Permissions = "string",
                                    },
                                },
                            },
                            Secret = new Rancher2.Inputs.ClusterV2RkeConfigMachineSelectorFileFileSourceSecretArgs
                            {
                                Name = "string",
                                DefaultPermissions = "string",
                                Items = new[]
                                {
                                    new Rancher2.Inputs.ClusterV2RkeConfigMachineSelectorFileFileSourceSecretItemArgs
                                    {
                                        Key = "string",
                                        Path = "string",
                                        Dynamic = false,
                                        Hash = "string",
                                        Permissions = "string",
                                    },
                                },
                            },
                        },
                    },
                    MachineLabelSelector = new Rancher2.Inputs.ClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorArgs
                    {
                        MatchExpressions = new[]
                        {
                            new Rancher2.Inputs.ClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorMatchExpressionArgs
                            {
                                Key = "string",
                                Operator = "string",
                                Values = new[]
                                {
                                    "string",
                                },
                            },
                        },
                        MatchLabels = 
                        {
                            { "string", "string" },
                        },
                    },
                },
            },
            Registries = new Rancher2.Inputs.ClusterV2RkeConfigRegistriesArgs
            {
                Configs = new[]
                {
                    new Rancher2.Inputs.ClusterV2RkeConfigRegistriesConfigArgs
                    {
                        Hostname = "string",
                        AuthConfigSecretName = "string",
                        CaBundle = "string",
                        Insecure = false,
                        TlsSecretName = "string",
                    },
                },
                Mirrors = new[]
                {
                    new Rancher2.Inputs.ClusterV2RkeConfigRegistriesMirrorArgs
                    {
                        Hostname = "string",
                        Endpoints = new[]
                        {
                            "string",
                        },
                        Rewrites = 
                        {
                            { "string", "string" },
                        },
                    },
                },
            },
            RotateCertificates = new Rancher2.Inputs.ClusterV2RkeConfigRotateCertificatesArgs
            {
                Generation = 0,
                Services = new[]
                {
                    "string",
                },
            },
            UpgradeStrategy = new Rancher2.Inputs.ClusterV2RkeConfigUpgradeStrategyArgs
            {
                ControlPlaneConcurrency = "string",
                ControlPlaneDrainOptions = new Rancher2.Inputs.ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs
                {
                    DeleteEmptyDirData = false,
                    DisableEviction = false,
                    Enabled = false,
                    Force = false,
                    GracePeriod = 0,
                    IgnoreDaemonSets = false,
                    IgnoreErrors = false,
                    SkipWaitForDeleteTimeoutSeconds = 0,
                    Timeout = 0,
                },
                WorkerConcurrency = "string",
                WorkerDrainOptions = new Rancher2.Inputs.ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs
                {
                    DeleteEmptyDirData = false,
                    DisableEviction = false,
                    Enabled = false,
                    Force = false,
                    GracePeriod = 0,
                    IgnoreDaemonSets = false,
                    IgnoreErrors = false,
                    SkipWaitForDeleteTimeoutSeconds = 0,
                    Timeout = 0,
                },
            },
        },
    });
    
    example, err := rancher2.NewClusterV2(ctx, "clusterV2Resource", &rancher2.ClusterV2Args{
    	KubernetesVersion: pulumi.String("string"),
    	ClusterAgentDeploymentCustomizations: rancher2.ClusterV2ClusterAgentDeploymentCustomizationArray{
    		&rancher2.ClusterV2ClusterAgentDeploymentCustomizationArgs{
    			AppendTolerations: rancher2.ClusterV2ClusterAgentDeploymentCustomizationAppendTolerationArray{
    				&rancher2.ClusterV2ClusterAgentDeploymentCustomizationAppendTolerationArgs{
    					Key:      pulumi.String("string"),
    					Effect:   pulumi.String("string"),
    					Operator: pulumi.String("string"),
    					Seconds:  pulumi.Int(0),
    					Value:    pulumi.String("string"),
    				},
    			},
    			OverrideAffinity: pulumi.String("string"),
    			OverrideResourceRequirements: rancher2.ClusterV2ClusterAgentDeploymentCustomizationOverrideResourceRequirementArray{
    				&rancher2.ClusterV2ClusterAgentDeploymentCustomizationOverrideResourceRequirementArgs{
    					CpuLimit:      pulumi.String("string"),
    					CpuRequest:    pulumi.String("string"),
    					MemoryLimit:   pulumi.String("string"),
    					MemoryRequest: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	CloudCredentialSecretName: pulumi.String("string"),
    	AgentEnvVars: rancher2.ClusterV2AgentEnvVarArray{
    		&rancher2.ClusterV2AgentEnvVarArgs{
    			Name:  pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	DefaultClusterRoleForProjectMembers:                  pulumi.String("string"),
    	DefaultPodSecurityAdmissionConfigurationTemplateName: pulumi.String("string"),
    	EnableNetworkPolicy:                                  pulumi.Bool(false),
    	FleetAgentDeploymentCustomizations: rancher2.ClusterV2FleetAgentDeploymentCustomizationArray{
    		&rancher2.ClusterV2FleetAgentDeploymentCustomizationArgs{
    			AppendTolerations: rancher2.ClusterV2FleetAgentDeploymentCustomizationAppendTolerationArray{
    				&rancher2.ClusterV2FleetAgentDeploymentCustomizationAppendTolerationArgs{
    					Key:      pulumi.String("string"),
    					Effect:   pulumi.String("string"),
    					Operator: pulumi.String("string"),
    					Seconds:  pulumi.Int(0),
    					Value:    pulumi.String("string"),
    				},
    			},
    			OverrideAffinity: pulumi.String("string"),
    			OverrideResourceRequirements: rancher2.ClusterV2FleetAgentDeploymentCustomizationOverrideResourceRequirementArray{
    				&rancher2.ClusterV2FleetAgentDeploymentCustomizationOverrideResourceRequirementArgs{
    					CpuLimit:      pulumi.String("string"),
    					CpuRequest:    pulumi.String("string"),
    					MemoryLimit:   pulumi.String("string"),
    					MemoryRequest: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	FleetNamespace: pulumi.String("string"),
    	Annotations: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	LocalAuthEndpoint: &rancher2.ClusterV2LocalAuthEndpointArgs{
    		CaCerts: pulumi.String("string"),
    		Enabled: pulumi.Bool(false),
    		Fqdn:    pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	RkeConfig: &rancher2.ClusterV2RkeConfigArgs{
    		AdditionalManifest: pulumi.String("string"),
    		ChartValues:        pulumi.String("string"),
    		Etcd: &rancher2.ClusterV2RkeConfigEtcdArgs{
    			DisableSnapshots: pulumi.Bool(false),
    			S3Config: &rancher2.ClusterV2RkeConfigEtcdS3ConfigArgs{
    				Bucket:              pulumi.String("string"),
    				Endpoint:            pulumi.String("string"),
    				CloudCredentialName: pulumi.String("string"),
    				EndpointCa:          pulumi.String("string"),
    				Folder:              pulumi.String("string"),
    				Region:              pulumi.String("string"),
    				SkipSslVerify:       pulumi.Bool(false),
    			},
    			SnapshotRetention:    pulumi.Int(0),
    			SnapshotScheduleCron: pulumi.String("string"),
    		},
    		EtcdSnapshotCreate: &rancher2.ClusterV2RkeConfigEtcdSnapshotCreateArgs{
    			Generation: pulumi.Int(0),
    		},
    		EtcdSnapshotRestore: &rancher2.ClusterV2RkeConfigEtcdSnapshotRestoreArgs{
    			Generation:       pulumi.Int(0),
    			Name:             pulumi.String("string"),
    			RestoreRkeConfig: pulumi.String("string"),
    		},
    		MachineGlobalConfig: pulumi.String("string"),
    		MachinePoolDefaults: rancher2.ClusterV2RkeConfigMachinePoolDefaultArray{
    			&rancher2.ClusterV2RkeConfigMachinePoolDefaultArgs{
    				HostnameLengthLimit: pulumi.Int(0),
    			},
    		},
    		MachinePools: rancher2.ClusterV2RkeConfigMachinePoolArray{
    			&rancher2.ClusterV2RkeConfigMachinePoolArgs{
    				MachineConfig: &rancher2.ClusterV2RkeConfigMachinePoolMachineConfigArgs{
    					Kind:       pulumi.String("string"),
    					Name:       pulumi.String("string"),
    					ApiVersion: pulumi.String("string"),
    				},
    				Name:                pulumi.String("string"),
    				HostnameLengthLimit: pulumi.Int(0),
    				NodeDrainTimeout:    pulumi.Int(0),
    				EtcdRole:            pulumi.Bool(false),
    				Annotations: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    				Labels: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    				ControlPlaneRole: pulumi.Bool(false),
    				MachineLabels: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    				MaxUnhealthy:              pulumi.String("string"),
    				CloudCredentialSecretName: pulumi.String("string"),
    				DrainBeforeDelete:         pulumi.Bool(false),
    				NodeStartupTimeoutSeconds: pulumi.Int(0),
    				Paused:                    pulumi.Bool(false),
    				Quantity:                  pulumi.Int(0),
    				RollingUpdate: &rancher2.ClusterV2RkeConfigMachinePoolRollingUpdateArgs{
    					MaxSurge:       pulumi.String("string"),
    					MaxUnavailable: pulumi.String("string"),
    				},
    				Taints: rancher2.ClusterV2RkeConfigMachinePoolTaintArray{
    					&rancher2.ClusterV2RkeConfigMachinePoolTaintArgs{
    						Key:    pulumi.String("string"),
    						Value:  pulumi.String("string"),
    						Effect: pulumi.String("string"),
    					},
    				},
    				UnhealthyNodeTimeoutSeconds: pulumi.Int(0),
    				UnhealthyRange:              pulumi.String("string"),
    				WorkerRole:                  pulumi.Bool(false),
    			},
    		},
    		MachineSelectorConfigs: rancher2.ClusterV2RkeConfigMachineSelectorConfigArray{
    			&rancher2.ClusterV2RkeConfigMachineSelectorConfigArgs{
    				Config: pulumi.String("string"),
    				MachineLabelSelector: &rancher2.ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs{
    					MatchExpressions: rancher2.ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArray{
    						&rancher2.ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs{
    							Key:      pulumi.String("string"),
    							Operator: pulumi.String("string"),
    							Values: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    					MatchLabels: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    				},
    			},
    		},
    		MachineSelectorFiles: rancher2.ClusterV2RkeConfigMachineSelectorFileArray{
    			&rancher2.ClusterV2RkeConfigMachineSelectorFileArgs{
    				FileSources: rancher2.ClusterV2RkeConfigMachineSelectorFileFileSourceArray{
    					&rancher2.ClusterV2RkeConfigMachineSelectorFileFileSourceArgs{
    						Configmap: &rancher2.ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapArgs{
    							Name:               pulumi.String("string"),
    							DefaultPermissions: pulumi.String("string"),
    							Items: rancher2.ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapItemArray{
    								&rancher2.ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapItemArgs{
    									Key:         pulumi.String("string"),
    									Path:        pulumi.String("string"),
    									Dynamic:     pulumi.Bool(false),
    									Hash:        pulumi.String("string"),
    									Permissions: pulumi.String("string"),
    								},
    							},
    						},
    						Secret: &rancher2.ClusterV2RkeConfigMachineSelectorFileFileSourceSecretArgs{
    							Name:               pulumi.String("string"),
    							DefaultPermissions: pulumi.String("string"),
    							Items: rancher2.ClusterV2RkeConfigMachineSelectorFileFileSourceSecretItemArray{
    								&rancher2.ClusterV2RkeConfigMachineSelectorFileFileSourceSecretItemArgs{
    									Key:         pulumi.String("string"),
    									Path:        pulumi.String("string"),
    									Dynamic:     pulumi.Bool(false),
    									Hash:        pulumi.String("string"),
    									Permissions: pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    				MachineLabelSelector: &rancher2.ClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorArgs{
    					MatchExpressions: rancher2.ClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorMatchExpressionArray{
    						&rancher2.ClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorMatchExpressionArgs{
    							Key:      pulumi.String("string"),
    							Operator: pulumi.String("string"),
    							Values: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    						},
    					},
    					MatchLabels: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    				},
    			},
    		},
    		Registries: &rancher2.ClusterV2RkeConfigRegistriesArgs{
    			Configs: rancher2.ClusterV2RkeConfigRegistriesConfigArray{
    				&rancher2.ClusterV2RkeConfigRegistriesConfigArgs{
    					Hostname:             pulumi.String("string"),
    					AuthConfigSecretName: pulumi.String("string"),
    					CaBundle:             pulumi.String("string"),
    					Insecure:             pulumi.Bool(false),
    					TlsSecretName:        pulumi.String("string"),
    				},
    			},
    			Mirrors: rancher2.ClusterV2RkeConfigRegistriesMirrorArray{
    				&rancher2.ClusterV2RkeConfigRegistriesMirrorArgs{
    					Hostname: pulumi.String("string"),
    					Endpoints: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Rewrites: pulumi.StringMap{
    						"string": pulumi.String("string"),
    					},
    				},
    			},
    		},
    		RotateCertificates: &rancher2.ClusterV2RkeConfigRotateCertificatesArgs{
    			Generation: pulumi.Int(0),
    			Services: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    		UpgradeStrategy: &rancher2.ClusterV2RkeConfigUpgradeStrategyArgs{
    			ControlPlaneConcurrency: pulumi.String("string"),
    			ControlPlaneDrainOptions: &rancher2.ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs{
    				DeleteEmptyDirData:              pulumi.Bool(false),
    				DisableEviction:                 pulumi.Bool(false),
    				Enabled:                         pulumi.Bool(false),
    				Force:                           pulumi.Bool(false),
    				GracePeriod:                     pulumi.Int(0),
    				IgnoreDaemonSets:                pulumi.Bool(false),
    				IgnoreErrors:                    pulumi.Bool(false),
    				SkipWaitForDeleteTimeoutSeconds: pulumi.Int(0),
    				Timeout:                         pulumi.Int(0),
    			},
    			WorkerConcurrency: pulumi.String("string"),
    			WorkerDrainOptions: &rancher2.ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs{
    				DeleteEmptyDirData:              pulumi.Bool(false),
    				DisableEviction:                 pulumi.Bool(false),
    				Enabled:                         pulumi.Bool(false),
    				Force:                           pulumi.Bool(false),
    				GracePeriod:                     pulumi.Int(0),
    				IgnoreDaemonSets:                pulumi.Bool(false),
    				IgnoreErrors:                    pulumi.Bool(false),
    				SkipWaitForDeleteTimeoutSeconds: pulumi.Int(0),
    				Timeout:                         pulumi.Int(0),
    			},
    		},
    	},
    })
    
    var clusterV2Resource = new ClusterV2("clusterV2Resource", ClusterV2Args.builder()
        .kubernetesVersion("string")
        .clusterAgentDeploymentCustomizations(ClusterV2ClusterAgentDeploymentCustomizationArgs.builder()
            .appendTolerations(ClusterV2ClusterAgentDeploymentCustomizationAppendTolerationArgs.builder()
                .key("string")
                .effect("string")
                .operator("string")
                .seconds(0)
                .value("string")
                .build())
            .overrideAffinity("string")
            .overrideResourceRequirements(ClusterV2ClusterAgentDeploymentCustomizationOverrideResourceRequirementArgs.builder()
                .cpuLimit("string")
                .cpuRequest("string")
                .memoryLimit("string")
                .memoryRequest("string")
                .build())
            .build())
        .cloudCredentialSecretName("string")
        .agentEnvVars(ClusterV2AgentEnvVarArgs.builder()
            .name("string")
            .value("string")
            .build())
        .defaultClusterRoleForProjectMembers("string")
        .defaultPodSecurityAdmissionConfigurationTemplateName("string")
        .enableNetworkPolicy(false)
        .fleetAgentDeploymentCustomizations(ClusterV2FleetAgentDeploymentCustomizationArgs.builder()
            .appendTolerations(ClusterV2FleetAgentDeploymentCustomizationAppendTolerationArgs.builder()
                .key("string")
                .effect("string")
                .operator("string")
                .seconds(0)
                .value("string")
                .build())
            .overrideAffinity("string")
            .overrideResourceRequirements(ClusterV2FleetAgentDeploymentCustomizationOverrideResourceRequirementArgs.builder()
                .cpuLimit("string")
                .cpuRequest("string")
                .memoryLimit("string")
                .memoryRequest("string")
                .build())
            .build())
        .fleetNamespace("string")
        .annotations(Map.of("string", "string"))
        .labels(Map.of("string", "string"))
        .localAuthEndpoint(ClusterV2LocalAuthEndpointArgs.builder()
            .caCerts("string")
            .enabled(false)
            .fqdn("string")
            .build())
        .name("string")
        .rkeConfig(ClusterV2RkeConfigArgs.builder()
            .additionalManifest("string")
            .chartValues("string")
            .etcd(ClusterV2RkeConfigEtcdArgs.builder()
                .disableSnapshots(false)
                .s3Config(ClusterV2RkeConfigEtcdS3ConfigArgs.builder()
                    .bucket("string")
                    .endpoint("string")
                    .cloudCredentialName("string")
                    .endpointCa("string")
                    .folder("string")
                    .region("string")
                    .skipSslVerify(false)
                    .build())
                .snapshotRetention(0)
                .snapshotScheduleCron("string")
                .build())
            .etcdSnapshotCreate(ClusterV2RkeConfigEtcdSnapshotCreateArgs.builder()
                .generation(0)
                .build())
            .etcdSnapshotRestore(ClusterV2RkeConfigEtcdSnapshotRestoreArgs.builder()
                .generation(0)
                .name("string")
                .restoreRkeConfig("string")
                .build())
            .machineGlobalConfig("string")
            .machinePoolDefaults(ClusterV2RkeConfigMachinePoolDefaultArgs.builder()
                .hostnameLengthLimit(0)
                .build())
            .machinePools(ClusterV2RkeConfigMachinePoolArgs.builder()
                .machineConfig(ClusterV2RkeConfigMachinePoolMachineConfigArgs.builder()
                    .kind("string")
                    .name("string")
                    .apiVersion("string")
                    .build())
                .name("string")
                .hostnameLengthLimit(0)
                .nodeDrainTimeout(0)
                .etcdRole(false)
                .annotations(Map.of("string", "string"))
                .labels(Map.of("string", "string"))
                .controlPlaneRole(false)
                .machineLabels(Map.of("string", "string"))
                .maxUnhealthy("string")
                .cloudCredentialSecretName("string")
                .drainBeforeDelete(false)
                .nodeStartupTimeoutSeconds(0)
                .paused(false)
                .quantity(0)
                .rollingUpdate(ClusterV2RkeConfigMachinePoolRollingUpdateArgs.builder()
                    .maxSurge("string")
                    .maxUnavailable("string")
                    .build())
                .taints(ClusterV2RkeConfigMachinePoolTaintArgs.builder()
                    .key("string")
                    .value("string")
                    .effect("string")
                    .build())
                .unhealthyNodeTimeoutSeconds(0)
                .unhealthyRange("string")
                .workerRole(false)
                .build())
            .machineSelectorConfigs(ClusterV2RkeConfigMachineSelectorConfigArgs.builder()
                .config("string")
                .machineLabelSelector(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs.builder()
                    .matchExpressions(ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs.builder()
                        .key("string")
                        .operator("string")
                        .values("string")
                        .build())
                    .matchLabels(Map.of("string", "string"))
                    .build())
                .build())
            .machineSelectorFiles(ClusterV2RkeConfigMachineSelectorFileArgs.builder()
                .fileSources(ClusterV2RkeConfigMachineSelectorFileFileSourceArgs.builder()
                    .configmap(ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapArgs.builder()
                        .name("string")
                        .defaultPermissions("string")
                        .items(ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapItemArgs.builder()
                            .key("string")
                            .path("string")
                            .dynamic(false)
                            .hash("string")
                            .permissions("string")
                            .build())
                        .build())
                    .secret(ClusterV2RkeConfigMachineSelectorFileFileSourceSecretArgs.builder()
                        .name("string")
                        .defaultPermissions("string")
                        .items(ClusterV2RkeConfigMachineSelectorFileFileSourceSecretItemArgs.builder()
                            .key("string")
                            .path("string")
                            .dynamic(false)
                            .hash("string")
                            .permissions("string")
                            .build())
                        .build())
                    .build())
                .machineLabelSelector(ClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorArgs.builder()
                    .matchExpressions(ClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorMatchExpressionArgs.builder()
                        .key("string")
                        .operator("string")
                        .values("string")
                        .build())
                    .matchLabels(Map.of("string", "string"))
                    .build())
                .build())
            .registries(ClusterV2RkeConfigRegistriesArgs.builder()
                .configs(ClusterV2RkeConfigRegistriesConfigArgs.builder()
                    .hostname("string")
                    .authConfigSecretName("string")
                    .caBundle("string")
                    .insecure(false)
                    .tlsSecretName("string")
                    .build())
                .mirrors(ClusterV2RkeConfigRegistriesMirrorArgs.builder()
                    .hostname("string")
                    .endpoints("string")
                    .rewrites(Map.of("string", "string"))
                    .build())
                .build())
            .rotateCertificates(ClusterV2RkeConfigRotateCertificatesArgs.builder()
                .generation(0)
                .services("string")
                .build())
            .upgradeStrategy(ClusterV2RkeConfigUpgradeStrategyArgs.builder()
                .controlPlaneConcurrency("string")
                .controlPlaneDrainOptions(ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs.builder()
                    .deleteEmptyDirData(false)
                    .disableEviction(false)
                    .enabled(false)
                    .force(false)
                    .gracePeriod(0)
                    .ignoreDaemonSets(false)
                    .ignoreErrors(false)
                    .skipWaitForDeleteTimeoutSeconds(0)
                    .timeout(0)
                    .build())
                .workerConcurrency("string")
                .workerDrainOptions(ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs.builder()
                    .deleteEmptyDirData(false)
                    .disableEviction(false)
                    .enabled(false)
                    .force(false)
                    .gracePeriod(0)
                    .ignoreDaemonSets(false)
                    .ignoreErrors(false)
                    .skipWaitForDeleteTimeoutSeconds(0)
                    .timeout(0)
                    .build())
                .build())
            .build())
        .build());
    
    cluster_v2_resource = rancher2.ClusterV2("clusterV2Resource",
        kubernetes_version="string",
        cluster_agent_deployment_customizations=[rancher2.ClusterV2ClusterAgentDeploymentCustomizationArgs(
            append_tolerations=[rancher2.ClusterV2ClusterAgentDeploymentCustomizationAppendTolerationArgs(
                key="string",
                effect="string",
                operator="string",
                seconds=0,
                value="string",
            )],
            override_affinity="string",
            override_resource_requirements=[rancher2.ClusterV2ClusterAgentDeploymentCustomizationOverrideResourceRequirementArgs(
                cpu_limit="string",
                cpu_request="string",
                memory_limit="string",
                memory_request="string",
            )],
        )],
        cloud_credential_secret_name="string",
        agent_env_vars=[rancher2.ClusterV2AgentEnvVarArgs(
            name="string",
            value="string",
        )],
        default_cluster_role_for_project_members="string",
        default_pod_security_admission_configuration_template_name="string",
        enable_network_policy=False,
        fleet_agent_deployment_customizations=[rancher2.ClusterV2FleetAgentDeploymentCustomizationArgs(
            append_tolerations=[rancher2.ClusterV2FleetAgentDeploymentCustomizationAppendTolerationArgs(
                key="string",
                effect="string",
                operator="string",
                seconds=0,
                value="string",
            )],
            override_affinity="string",
            override_resource_requirements=[rancher2.ClusterV2FleetAgentDeploymentCustomizationOverrideResourceRequirementArgs(
                cpu_limit="string",
                cpu_request="string",
                memory_limit="string",
                memory_request="string",
            )],
        )],
        fleet_namespace="string",
        annotations={
            "string": "string",
        },
        labels={
            "string": "string",
        },
        local_auth_endpoint=rancher2.ClusterV2LocalAuthEndpointArgs(
            ca_certs="string",
            enabled=False,
            fqdn="string",
        ),
        name="string",
        rke_config=rancher2.ClusterV2RkeConfigArgs(
            additional_manifest="string",
            chart_values="string",
            etcd=rancher2.ClusterV2RkeConfigEtcdArgs(
                disable_snapshots=False,
                s3_config=rancher2.ClusterV2RkeConfigEtcdS3ConfigArgs(
                    bucket="string",
                    endpoint="string",
                    cloud_credential_name="string",
                    endpoint_ca="string",
                    folder="string",
                    region="string",
                    skip_ssl_verify=False,
                ),
                snapshot_retention=0,
                snapshot_schedule_cron="string",
            ),
            etcd_snapshot_create=rancher2.ClusterV2RkeConfigEtcdSnapshotCreateArgs(
                generation=0,
            ),
            etcd_snapshot_restore=rancher2.ClusterV2RkeConfigEtcdSnapshotRestoreArgs(
                generation=0,
                name="string",
                restore_rke_config="string",
            ),
            machine_global_config="string",
            machine_pool_defaults=[rancher2.ClusterV2RkeConfigMachinePoolDefaultArgs(
                hostname_length_limit=0,
            )],
            machine_pools=[rancher2.ClusterV2RkeConfigMachinePoolArgs(
                machine_config=rancher2.ClusterV2RkeConfigMachinePoolMachineConfigArgs(
                    kind="string",
                    name="string",
                    api_version="string",
                ),
                name="string",
                hostname_length_limit=0,
                node_drain_timeout=0,
                etcd_role=False,
                annotations={
                    "string": "string",
                },
                labels={
                    "string": "string",
                },
                control_plane_role=False,
                machine_labels={
                    "string": "string",
                },
                max_unhealthy="string",
                cloud_credential_secret_name="string",
                drain_before_delete=False,
                node_startup_timeout_seconds=0,
                paused=False,
                quantity=0,
                rolling_update=rancher2.ClusterV2RkeConfigMachinePoolRollingUpdateArgs(
                    max_surge="string",
                    max_unavailable="string",
                ),
                taints=[rancher2.ClusterV2RkeConfigMachinePoolTaintArgs(
                    key="string",
                    value="string",
                    effect="string",
                )],
                unhealthy_node_timeout_seconds=0,
                unhealthy_range="string",
                worker_role=False,
            )],
            machine_selector_configs=[rancher2.ClusterV2RkeConfigMachineSelectorConfigArgs(
                config="string",
                machine_label_selector=rancher2.ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs(
                    match_expressions=[rancher2.ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs(
                        key="string",
                        operator="string",
                        values=["string"],
                    )],
                    match_labels={
                        "string": "string",
                    },
                ),
            )],
            machine_selector_files=[rancher2.ClusterV2RkeConfigMachineSelectorFileArgs(
                file_sources=[rancher2.ClusterV2RkeConfigMachineSelectorFileFileSourceArgs(
                    configmap=rancher2.ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapArgs(
                        name="string",
                        default_permissions="string",
                        items=[rancher2.ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapItemArgs(
                            key="string",
                            path="string",
                            dynamic=False,
                            hash="string",
                            permissions="string",
                        )],
                    ),
                    secret=rancher2.ClusterV2RkeConfigMachineSelectorFileFileSourceSecretArgs(
                        name="string",
                        default_permissions="string",
                        items=[rancher2.ClusterV2RkeConfigMachineSelectorFileFileSourceSecretItemArgs(
                            key="string",
                            path="string",
                            dynamic=False,
                            hash="string",
                            permissions="string",
                        )],
                    ),
                )],
                machine_label_selector=rancher2.ClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorArgs(
                    match_expressions=[rancher2.ClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorMatchExpressionArgs(
                        key="string",
                        operator="string",
                        values=["string"],
                    )],
                    match_labels={
                        "string": "string",
                    },
                ),
            )],
            registries=rancher2.ClusterV2RkeConfigRegistriesArgs(
                configs=[rancher2.ClusterV2RkeConfigRegistriesConfigArgs(
                    hostname="string",
                    auth_config_secret_name="string",
                    ca_bundle="string",
                    insecure=False,
                    tls_secret_name="string",
                )],
                mirrors=[rancher2.ClusterV2RkeConfigRegistriesMirrorArgs(
                    hostname="string",
                    endpoints=["string"],
                    rewrites={
                        "string": "string",
                    },
                )],
            ),
            rotate_certificates=rancher2.ClusterV2RkeConfigRotateCertificatesArgs(
                generation=0,
                services=["string"],
            ),
            upgrade_strategy=rancher2.ClusterV2RkeConfigUpgradeStrategyArgs(
                control_plane_concurrency="string",
                control_plane_drain_options=rancher2.ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs(
                    delete_empty_dir_data=False,
                    disable_eviction=False,
                    enabled=False,
                    force=False,
                    grace_period=0,
                    ignore_daemon_sets=False,
                    ignore_errors=False,
                    skip_wait_for_delete_timeout_seconds=0,
                    timeout=0,
                ),
                worker_concurrency="string",
                worker_drain_options=rancher2.ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs(
                    delete_empty_dir_data=False,
                    disable_eviction=False,
                    enabled=False,
                    force=False,
                    grace_period=0,
                    ignore_daemon_sets=False,
                    ignore_errors=False,
                    skip_wait_for_delete_timeout_seconds=0,
                    timeout=0,
                ),
            ),
        ))
    
    const clusterV2Resource = new rancher2.ClusterV2("clusterV2Resource", {
        kubernetesVersion: "string",
        clusterAgentDeploymentCustomizations: [{
            appendTolerations: [{
                key: "string",
                effect: "string",
                operator: "string",
                seconds: 0,
                value: "string",
            }],
            overrideAffinity: "string",
            overrideResourceRequirements: [{
                cpuLimit: "string",
                cpuRequest: "string",
                memoryLimit: "string",
                memoryRequest: "string",
            }],
        }],
        cloudCredentialSecretName: "string",
        agentEnvVars: [{
            name: "string",
            value: "string",
        }],
        defaultClusterRoleForProjectMembers: "string",
        defaultPodSecurityAdmissionConfigurationTemplateName: "string",
        enableNetworkPolicy: false,
        fleetAgentDeploymentCustomizations: [{
            appendTolerations: [{
                key: "string",
                effect: "string",
                operator: "string",
                seconds: 0,
                value: "string",
            }],
            overrideAffinity: "string",
            overrideResourceRequirements: [{
                cpuLimit: "string",
                cpuRequest: "string",
                memoryLimit: "string",
                memoryRequest: "string",
            }],
        }],
        fleetNamespace: "string",
        annotations: {
            string: "string",
        },
        labels: {
            string: "string",
        },
        localAuthEndpoint: {
            caCerts: "string",
            enabled: false,
            fqdn: "string",
        },
        name: "string",
        rkeConfig: {
            additionalManifest: "string",
            chartValues: "string",
            etcd: {
                disableSnapshots: false,
                s3Config: {
                    bucket: "string",
                    endpoint: "string",
                    cloudCredentialName: "string",
                    endpointCa: "string",
                    folder: "string",
                    region: "string",
                    skipSslVerify: false,
                },
                snapshotRetention: 0,
                snapshotScheduleCron: "string",
            },
            etcdSnapshotCreate: {
                generation: 0,
            },
            etcdSnapshotRestore: {
                generation: 0,
                name: "string",
                restoreRkeConfig: "string",
            },
            machineGlobalConfig: "string",
            machinePoolDefaults: [{
                hostnameLengthLimit: 0,
            }],
            machinePools: [{
                machineConfig: {
                    kind: "string",
                    name: "string",
                    apiVersion: "string",
                },
                name: "string",
                hostnameLengthLimit: 0,
                nodeDrainTimeout: 0,
                etcdRole: false,
                annotations: {
                    string: "string",
                },
                labels: {
                    string: "string",
                },
                controlPlaneRole: false,
                machineLabels: {
                    string: "string",
                },
                maxUnhealthy: "string",
                cloudCredentialSecretName: "string",
                drainBeforeDelete: false,
                nodeStartupTimeoutSeconds: 0,
                paused: false,
                quantity: 0,
                rollingUpdate: {
                    maxSurge: "string",
                    maxUnavailable: "string",
                },
                taints: [{
                    key: "string",
                    value: "string",
                    effect: "string",
                }],
                unhealthyNodeTimeoutSeconds: 0,
                unhealthyRange: "string",
                workerRole: false,
            }],
            machineSelectorConfigs: [{
                config: "string",
                machineLabelSelector: {
                    matchExpressions: [{
                        key: "string",
                        operator: "string",
                        values: ["string"],
                    }],
                    matchLabels: {
                        string: "string",
                    },
                },
            }],
            machineSelectorFiles: [{
                fileSources: [{
                    configmap: {
                        name: "string",
                        defaultPermissions: "string",
                        items: [{
                            key: "string",
                            path: "string",
                            dynamic: false,
                            hash: "string",
                            permissions: "string",
                        }],
                    },
                    secret: {
                        name: "string",
                        defaultPermissions: "string",
                        items: [{
                            key: "string",
                            path: "string",
                            dynamic: false,
                            hash: "string",
                            permissions: "string",
                        }],
                    },
                }],
                machineLabelSelector: {
                    matchExpressions: [{
                        key: "string",
                        operator: "string",
                        values: ["string"],
                    }],
                    matchLabels: {
                        string: "string",
                    },
                },
            }],
            registries: {
                configs: [{
                    hostname: "string",
                    authConfigSecretName: "string",
                    caBundle: "string",
                    insecure: false,
                    tlsSecretName: "string",
                }],
                mirrors: [{
                    hostname: "string",
                    endpoints: ["string"],
                    rewrites: {
                        string: "string",
                    },
                }],
            },
            rotateCertificates: {
                generation: 0,
                services: ["string"],
            },
            upgradeStrategy: {
                controlPlaneConcurrency: "string",
                controlPlaneDrainOptions: {
                    deleteEmptyDirData: false,
                    disableEviction: false,
                    enabled: false,
                    force: false,
                    gracePeriod: 0,
                    ignoreDaemonSets: false,
                    ignoreErrors: false,
                    skipWaitForDeleteTimeoutSeconds: 0,
                    timeout: 0,
                },
                workerConcurrency: "string",
                workerDrainOptions: {
                    deleteEmptyDirData: false,
                    disableEviction: false,
                    enabled: false,
                    force: false,
                    gracePeriod: 0,
                    ignoreDaemonSets: false,
                    ignoreErrors: false,
                    skipWaitForDeleteTimeoutSeconds: 0,
                    timeout: 0,
                },
            },
        },
    });
    
    type: rancher2:ClusterV2
    properties:
        agentEnvVars:
            - name: string
              value: string
        annotations:
            string: string
        cloudCredentialSecretName: string
        clusterAgentDeploymentCustomizations:
            - appendTolerations:
                - effect: string
                  key: string
                  operator: string
                  seconds: 0
                  value: string
              overrideAffinity: string
              overrideResourceRequirements:
                - cpuLimit: string
                  cpuRequest: string
                  memoryLimit: string
                  memoryRequest: string
        defaultClusterRoleForProjectMembers: string
        defaultPodSecurityAdmissionConfigurationTemplateName: string
        enableNetworkPolicy: false
        fleetAgentDeploymentCustomizations:
            - appendTolerations:
                - effect: string
                  key: string
                  operator: string
                  seconds: 0
                  value: string
              overrideAffinity: string
              overrideResourceRequirements:
                - cpuLimit: string
                  cpuRequest: string
                  memoryLimit: string
                  memoryRequest: string
        fleetNamespace: string
        kubernetesVersion: string
        labels:
            string: string
        localAuthEndpoint:
            caCerts: string
            enabled: false
            fqdn: string
        name: string
        rkeConfig:
            additionalManifest: string
            chartValues: string
            etcd:
                disableSnapshots: false
                s3Config:
                    bucket: string
                    cloudCredentialName: string
                    endpoint: string
                    endpointCa: string
                    folder: string
                    region: string
                    skipSslVerify: false
                snapshotRetention: 0
                snapshotScheduleCron: string
            etcdSnapshotCreate:
                generation: 0
            etcdSnapshotRestore:
                generation: 0
                name: string
                restoreRkeConfig: string
            machineGlobalConfig: string
            machinePoolDefaults:
                - hostnameLengthLimit: 0
            machinePools:
                - annotations:
                    string: string
                  cloudCredentialSecretName: string
                  controlPlaneRole: false
                  drainBeforeDelete: false
                  etcdRole: false
                  hostnameLengthLimit: 0
                  labels:
                    string: string
                  machineConfig:
                    apiVersion: string
                    kind: string
                    name: string
                  machineLabels:
                    string: string
                  maxUnhealthy: string
                  name: string
                  nodeDrainTimeout: 0
                  nodeStartupTimeoutSeconds: 0
                  paused: false
                  quantity: 0
                  rollingUpdate:
                    maxSurge: string
                    maxUnavailable: string
                  taints:
                    - effect: string
                      key: string
                      value: string
                  unhealthyNodeTimeoutSeconds: 0
                  unhealthyRange: string
                  workerRole: false
            machineSelectorConfigs:
                - config: string
                  machineLabelSelector:
                    matchExpressions:
                        - key: string
                          operator: string
                          values:
                            - string
                    matchLabels:
                        string: string
            machineSelectorFiles:
                - fileSources:
                    - configmap:
                        defaultPermissions: string
                        items:
                            - dynamic: false
                              hash: string
                              key: string
                              path: string
                              permissions: string
                        name: string
                      secret:
                        defaultPermissions: string
                        items:
                            - dynamic: false
                              hash: string
                              key: string
                              path: string
                              permissions: string
                        name: string
                  machineLabelSelector:
                    matchExpressions:
                        - key: string
                          operator: string
                          values:
                            - string
                    matchLabels:
                        string: string
            registries:
                configs:
                    - authConfigSecretName: string
                      caBundle: string
                      hostname: string
                      insecure: false
                      tlsSecretName: string
                mirrors:
                    - endpoints:
                        - string
                      hostname: string
                      rewrites:
                        string: string
            rotateCertificates:
                generation: 0
                services:
                    - string
            upgradeStrategy:
                controlPlaneConcurrency: string
                controlPlaneDrainOptions:
                    deleteEmptyDirData: false
                    disableEviction: false
                    enabled: false
                    force: false
                    gracePeriod: 0
                    ignoreDaemonSets: false
                    ignoreErrors: false
                    skipWaitForDeleteTimeoutSeconds: 0
                    timeout: 0
                workerConcurrency: string
                workerDrainOptions:
                    deleteEmptyDirData: false
                    disableEviction: false
                    enabled: false
                    force: false
                    gracePeriod: 0
                    ignoreDaemonSets: false
                    ignoreErrors: false
                    skipWaitForDeleteTimeoutSeconds: 0
                    timeout: 0
    

    ClusterV2 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ClusterV2 resource accepts the following input properties:

    KubernetesVersion string
    The RKE2 or K3s version for the cluster.
    AgentEnvVars List<ClusterV2AgentEnvVar>
    Agent env vars is a list of additional environment variables to be appended to the cattle-cluster-agent and fleet-agent deployment, and the plan for the system upgrade controller to upgrade nodes.
    Annotations Dictionary<string, string>
    Annotations for the Cluster.
    CloudCredentialSecretName string
    Cloud credential secret name is the secret to be used when a cloud credential secret name is not specified at the machine pool level.
    ClusterAgentDeploymentCustomizations List<ClusterV2ClusterAgentDeploymentCustomization>
    Cluster agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the cattle-cluster-agent deployment. This argument is available in Rancher v2.7.5 and above.
    DefaultClusterRoleForProjectMembers string
    Default cluster role for project members.
    DefaultPodSecurityAdmissionConfigurationTemplateName string
    The name of the pre-defined pod security admission configuration template to be applied to the cluster. Rancher admins (or those with the right permissions) can create, manage, and edit those templates. For more information, please refer to Rancher Documentation. The argument is available in Rancher v2.7.2 and above.
    EnableNetworkPolicy bool
    Enable k8s network policy on the cluster.
    FleetAgentDeploymentCustomizations List<ClusterV2FleetAgentDeploymentCustomization>
    Fleet agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the fleet-agent deployment. The argument is available in Rancher v2.7.5 and above.
    FleetNamespace string
    Fleet namespace is the namespace where the cluster is to create in the local cluster. It is recommended to leave it as the default value.
    Labels Dictionary<string, string>
    Labels for the Cluster.
    LocalAuthEndpoint ClusterV2LocalAuthEndpoint
    Local auth endpoint configures the Authorized Cluster Endpoint (ACE) which can be used to directly access the Kubernetes API server, without requiring communication through Rancher. For more information, please refer to Rancher Documentation.
    Name string
    The name of the cluster.
    RkeConfig ClusterV2RkeConfig
    The RKE configuration for the cluster.
    KubernetesVersion string
    The RKE2 or K3s version for the cluster.
    AgentEnvVars []ClusterV2AgentEnvVarArgs
    Agent env vars is a list of additional environment variables to be appended to the cattle-cluster-agent and fleet-agent deployment, and the plan for the system upgrade controller to upgrade nodes.
    Annotations map[string]string
    Annotations for the Cluster.
    CloudCredentialSecretName string
    Cloud credential secret name is the secret to be used when a cloud credential secret name is not specified at the machine pool level.
    ClusterAgentDeploymentCustomizations []ClusterV2ClusterAgentDeploymentCustomizationArgs
    Cluster agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the cattle-cluster-agent deployment. This argument is available in Rancher v2.7.5 and above.
    DefaultClusterRoleForProjectMembers string
    Default cluster role for project members.
    DefaultPodSecurityAdmissionConfigurationTemplateName string
    The name of the pre-defined pod security admission configuration template to be applied to the cluster. Rancher admins (or those with the right permissions) can create, manage, and edit those templates. For more information, please refer to Rancher Documentation. The argument is available in Rancher v2.7.2 and above.
    EnableNetworkPolicy bool
    Enable k8s network policy on the cluster.
    FleetAgentDeploymentCustomizations []ClusterV2FleetAgentDeploymentCustomizationArgs
    Fleet agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the fleet-agent deployment. The argument is available in Rancher v2.7.5 and above.
    FleetNamespace string
    Fleet namespace is the namespace where the cluster is to create in the local cluster. It is recommended to leave it as the default value.
    Labels map[string]string
    Labels for the Cluster.
    LocalAuthEndpoint ClusterV2LocalAuthEndpointArgs
    Local auth endpoint configures the Authorized Cluster Endpoint (ACE) which can be used to directly access the Kubernetes API server, without requiring communication through Rancher. For more information, please refer to Rancher Documentation.
    Name string
    The name of the cluster.
    RkeConfig ClusterV2RkeConfigArgs
    The RKE configuration for the cluster.
    kubernetesVersion String
    The RKE2 or K3s version for the cluster.
    agentEnvVars List<ClusterV2AgentEnvVar>
    Agent env vars is a list of additional environment variables to be appended to the cattle-cluster-agent and fleet-agent deployment, and the plan for the system upgrade controller to upgrade nodes.
    annotations Map<String,String>
    Annotations for the Cluster.
    cloudCredentialSecretName String
    Cloud credential secret name is the secret to be used when a cloud credential secret name is not specified at the machine pool level.
    clusterAgentDeploymentCustomizations List<ClusterV2ClusterAgentDeploymentCustomization>
    Cluster agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the cattle-cluster-agent deployment. This argument is available in Rancher v2.7.5 and above.
    defaultClusterRoleForProjectMembers String
    Default cluster role for project members.
    defaultPodSecurityAdmissionConfigurationTemplateName String
    The name of the pre-defined pod security admission configuration template to be applied to the cluster. Rancher admins (or those with the right permissions) can create, manage, and edit those templates. For more information, please refer to Rancher Documentation. The argument is available in Rancher v2.7.2 and above.
    enableNetworkPolicy Boolean
    Enable k8s network policy on the cluster.
    fleetAgentDeploymentCustomizations List<ClusterV2FleetAgentDeploymentCustomization>
    Fleet agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the fleet-agent deployment. The argument is available in Rancher v2.7.5 and above.
    fleetNamespace String
    Fleet namespace is the namespace where the cluster is to create in the local cluster. It is recommended to leave it as the default value.
    labels Map<String,String>
    Labels for the Cluster.
    localAuthEndpoint ClusterV2LocalAuthEndpoint
    Local auth endpoint configures the Authorized Cluster Endpoint (ACE) which can be used to directly access the Kubernetes API server, without requiring communication through Rancher. For more information, please refer to Rancher Documentation.
    name String
    The name of the cluster.
    rkeConfig ClusterV2RkeConfig
    The RKE configuration for the cluster.
    kubernetesVersion string
    The RKE2 or K3s version for the cluster.
    agentEnvVars ClusterV2AgentEnvVar[]
    Agent env vars is a list of additional environment variables to be appended to the cattle-cluster-agent and fleet-agent deployment, and the plan for the system upgrade controller to upgrade nodes.
    annotations {[key: string]: string}
    Annotations for the Cluster.
    cloudCredentialSecretName string
    Cloud credential secret name is the secret to be used when a cloud credential secret name is not specified at the machine pool level.
    clusterAgentDeploymentCustomizations ClusterV2ClusterAgentDeploymentCustomization[]
    Cluster agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the cattle-cluster-agent deployment. This argument is available in Rancher v2.7.5 and above.
    defaultClusterRoleForProjectMembers string
    Default cluster role for project members.
    defaultPodSecurityAdmissionConfigurationTemplateName string
    The name of the pre-defined pod security admission configuration template to be applied to the cluster. Rancher admins (or those with the right permissions) can create, manage, and edit those templates. For more information, please refer to Rancher Documentation. The argument is available in Rancher v2.7.2 and above.
    enableNetworkPolicy boolean
    Enable k8s network policy on the cluster.
    fleetAgentDeploymentCustomizations ClusterV2FleetAgentDeploymentCustomization[]
    Fleet agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the fleet-agent deployment. The argument is available in Rancher v2.7.5 and above.
    fleetNamespace string
    Fleet namespace is the namespace where the cluster is to create in the local cluster. It is recommended to leave it as the default value.
    labels {[key: string]: string}
    Labels for the Cluster.
    localAuthEndpoint ClusterV2LocalAuthEndpoint
    Local auth endpoint configures the Authorized Cluster Endpoint (ACE) which can be used to directly access the Kubernetes API server, without requiring communication through Rancher. For more information, please refer to Rancher Documentation.
    name string
    The name of the cluster.
    rkeConfig ClusterV2RkeConfig
    The RKE configuration for the cluster.
    kubernetes_version str
    The RKE2 or K3s version for the cluster.
    agent_env_vars Sequence[ClusterV2AgentEnvVarArgs]
    Agent env vars is a list of additional environment variables to be appended to the cattle-cluster-agent and fleet-agent deployment, and the plan for the system upgrade controller to upgrade nodes.
    annotations Mapping[str, str]
    Annotations for the Cluster.
    cloud_credential_secret_name str
    Cloud credential secret name is the secret to be used when a cloud credential secret name is not specified at the machine pool level.
    cluster_agent_deployment_customizations Sequence[ClusterV2ClusterAgentDeploymentCustomizationArgs]
    Cluster agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the cattle-cluster-agent deployment. This argument is available in Rancher v2.7.5 and above.
    default_cluster_role_for_project_members str
    Default cluster role for project members.
    default_pod_security_admission_configuration_template_name str
    The name of the pre-defined pod security admission configuration template to be applied to the cluster. Rancher admins (or those with the right permissions) can create, manage, and edit those templates. For more information, please refer to Rancher Documentation. The argument is available in Rancher v2.7.2 and above.
    enable_network_policy bool
    Enable k8s network policy on the cluster.
    fleet_agent_deployment_customizations Sequence[ClusterV2FleetAgentDeploymentCustomizationArgs]
    Fleet agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the fleet-agent deployment. The argument is available in Rancher v2.7.5 and above.
    fleet_namespace str
    Fleet namespace is the namespace where the cluster is to create in the local cluster. It is recommended to leave it as the default value.
    labels Mapping[str, str]
    Labels for the Cluster.
    local_auth_endpoint ClusterV2LocalAuthEndpointArgs
    Local auth endpoint configures the Authorized Cluster Endpoint (ACE) which can be used to directly access the Kubernetes API server, without requiring communication through Rancher. For more information, please refer to Rancher Documentation.
    name str
    The name of the cluster.
    rke_config ClusterV2RkeConfigArgs
    The RKE configuration for the cluster.
    kubernetesVersion String
    The RKE2 or K3s version for the cluster.
    agentEnvVars List<Property Map>
    Agent env vars is a list of additional environment variables to be appended to the cattle-cluster-agent and fleet-agent deployment, and the plan for the system upgrade controller to upgrade nodes.
    annotations Map<String>
    Annotations for the Cluster.
    cloudCredentialSecretName String
    Cloud credential secret name is the secret to be used when a cloud credential secret name is not specified at the machine pool level.
    clusterAgentDeploymentCustomizations List<Property Map>
    Cluster agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the cattle-cluster-agent deployment. This argument is available in Rancher v2.7.5 and above.
    defaultClusterRoleForProjectMembers String
    Default cluster role for project members.
    defaultPodSecurityAdmissionConfigurationTemplateName String
    The name of the pre-defined pod security admission configuration template to be applied to the cluster. Rancher admins (or those with the right permissions) can create, manage, and edit those templates. For more information, please refer to Rancher Documentation. The argument is available in Rancher v2.7.2 and above.
    enableNetworkPolicy Boolean
    Enable k8s network policy on the cluster.
    fleetAgentDeploymentCustomizations List<Property Map>
    Fleet agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the fleet-agent deployment. The argument is available in Rancher v2.7.5 and above.
    fleetNamespace String
    Fleet namespace is the namespace where the cluster is to create in the local cluster. It is recommended to leave it as the default value.
    labels Map<String>
    Labels for the Cluster.
    localAuthEndpoint Property Map
    Local auth endpoint configures the Authorized Cluster Endpoint (ACE) which can be used to directly access the Kubernetes API server, without requiring communication through Rancher. For more information, please refer to Rancher Documentation.
    name String
    The name of the cluster.
    rkeConfig Property Map
    The RKE configuration for the cluster.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ClusterV2 resource produces the following output properties:

    ClusterRegistrationToken ClusterV2ClusterRegistrationToken
    (Computed, sensitive, list, max length: 1) Cluster Registration Token generated for the cluster.
    ClusterV1Id string
    (Computed, string) Cluster v1 id for cluster v2. (e.g. to be used with rancher2_sync).
    Id string
    The provider-assigned unique ID for this managed resource.
    KubeConfig string
    (Computed/Sensitive) Kube Config generated for the cluster. Note: When the cluster has local_auth_endpoint enabled, the kube_config will not be available until the cluster is connected.
    ResourceVersion string
    (Computed, string) Cluster's k8s resource version.
    ClusterRegistrationToken ClusterV2ClusterRegistrationToken
    (Computed, sensitive, list, max length: 1) Cluster Registration Token generated for the cluster.
    ClusterV1Id string
    (Computed, string) Cluster v1 id for cluster v2. (e.g. to be used with rancher2_sync).
    Id string
    The provider-assigned unique ID for this managed resource.
    KubeConfig string
    (Computed/Sensitive) Kube Config generated for the cluster. Note: When the cluster has local_auth_endpoint enabled, the kube_config will not be available until the cluster is connected.
    ResourceVersion string
    (Computed, string) Cluster's k8s resource version.
    clusterRegistrationToken ClusterV2ClusterRegistrationToken
    (Computed, sensitive, list, max length: 1) Cluster Registration Token generated for the cluster.
    clusterV1Id String
    (Computed, string) Cluster v1 id for cluster v2. (e.g. to be used with rancher2_sync).
    id String
    The provider-assigned unique ID for this managed resource.
    kubeConfig String
    (Computed/Sensitive) Kube Config generated for the cluster. Note: When the cluster has local_auth_endpoint enabled, the kube_config will not be available until the cluster is connected.
    resourceVersion String
    (Computed, string) Cluster's k8s resource version.
    clusterRegistrationToken ClusterV2ClusterRegistrationToken
    (Computed, sensitive, list, max length: 1) Cluster Registration Token generated for the cluster.
    clusterV1Id string
    (Computed, string) Cluster v1 id for cluster v2. (e.g. to be used with rancher2_sync).
    id string
    The provider-assigned unique ID for this managed resource.
    kubeConfig string
    (Computed/Sensitive) Kube Config generated for the cluster. Note: When the cluster has local_auth_endpoint enabled, the kube_config will not be available until the cluster is connected.
    resourceVersion string
    (Computed, string) Cluster's k8s resource version.
    cluster_registration_token ClusterV2ClusterRegistrationToken
    (Computed, sensitive, list, max length: 1) Cluster Registration Token generated for the cluster.
    cluster_v1_id str
    (Computed, string) Cluster v1 id for cluster v2. (e.g. to be used with rancher2_sync).
    id str
    The provider-assigned unique ID for this managed resource.
    kube_config str
    (Computed/Sensitive) Kube Config generated for the cluster. Note: When the cluster has local_auth_endpoint enabled, the kube_config will not be available until the cluster is connected.
    resource_version str
    (Computed, string) Cluster's k8s resource version.
    clusterRegistrationToken Property Map
    (Computed, sensitive, list, max length: 1) Cluster Registration Token generated for the cluster.
    clusterV1Id String
    (Computed, string) Cluster v1 id for cluster v2. (e.g. to be used with rancher2_sync).
    id String
    The provider-assigned unique ID for this managed resource.
    kubeConfig String
    (Computed/Sensitive) Kube Config generated for the cluster. Note: When the cluster has local_auth_endpoint enabled, the kube_config will not be available until the cluster is connected.
    resourceVersion String
    (Computed, string) Cluster's k8s resource version.

    Look up Existing ClusterV2 Resource

    Get an existing ClusterV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ClusterV2State, opts?: CustomResourceOptions): ClusterV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            agent_env_vars: Optional[Sequence[ClusterV2AgentEnvVarArgs]] = None,
            annotations: Optional[Mapping[str, str]] = None,
            cloud_credential_secret_name: Optional[str] = None,
            cluster_agent_deployment_customizations: Optional[Sequence[ClusterV2ClusterAgentDeploymentCustomizationArgs]] = None,
            cluster_registration_token: Optional[ClusterV2ClusterRegistrationTokenArgs] = None,
            cluster_v1_id: Optional[str] = None,
            default_cluster_role_for_project_members: Optional[str] = None,
            default_pod_security_admission_configuration_template_name: Optional[str] = None,
            enable_network_policy: Optional[bool] = None,
            fleet_agent_deployment_customizations: Optional[Sequence[ClusterV2FleetAgentDeploymentCustomizationArgs]] = None,
            fleet_namespace: Optional[str] = None,
            kube_config: Optional[str] = None,
            kubernetes_version: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            local_auth_endpoint: Optional[ClusterV2LocalAuthEndpointArgs] = None,
            name: Optional[str] = None,
            resource_version: Optional[str] = None,
            rke_config: Optional[ClusterV2RkeConfigArgs] = None) -> ClusterV2
    func GetClusterV2(ctx *Context, name string, id IDInput, state *ClusterV2State, opts ...ResourceOption) (*ClusterV2, error)
    public static ClusterV2 Get(string name, Input<string> id, ClusterV2State? state, CustomResourceOptions? opts = null)
    public static ClusterV2 get(String name, Output<String> id, ClusterV2State state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AgentEnvVars List<ClusterV2AgentEnvVar>
    Agent env vars is a list of additional environment variables to be appended to the cattle-cluster-agent and fleet-agent deployment, and the plan for the system upgrade controller to upgrade nodes.
    Annotations Dictionary<string, string>
    Annotations for the Cluster.
    CloudCredentialSecretName string
    Cloud credential secret name is the secret to be used when a cloud credential secret name is not specified at the machine pool level.
    ClusterAgentDeploymentCustomizations List<ClusterV2ClusterAgentDeploymentCustomization>
    Cluster agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the cattle-cluster-agent deployment. This argument is available in Rancher v2.7.5 and above.
    ClusterRegistrationToken ClusterV2ClusterRegistrationToken
    (Computed, sensitive, list, max length: 1) Cluster Registration Token generated for the cluster.
    ClusterV1Id string
    (Computed, string) Cluster v1 id for cluster v2. (e.g. to be used with rancher2_sync).
    DefaultClusterRoleForProjectMembers string
    Default cluster role for project members.
    DefaultPodSecurityAdmissionConfigurationTemplateName string
    The name of the pre-defined pod security admission configuration template to be applied to the cluster. Rancher admins (or those with the right permissions) can create, manage, and edit those templates. For more information, please refer to Rancher Documentation. The argument is available in Rancher v2.7.2 and above.
    EnableNetworkPolicy bool
    Enable k8s network policy on the cluster.
    FleetAgentDeploymentCustomizations List<ClusterV2FleetAgentDeploymentCustomization>
    Fleet agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the fleet-agent deployment. The argument is available in Rancher v2.7.5 and above.
    FleetNamespace string
    Fleet namespace is the namespace where the cluster is to create in the local cluster. It is recommended to leave it as the default value.
    KubeConfig string
    (Computed/Sensitive) Kube Config generated for the cluster. Note: When the cluster has local_auth_endpoint enabled, the kube_config will not be available until the cluster is connected.
    KubernetesVersion string
    The RKE2 or K3s version for the cluster.
    Labels Dictionary<string, string>
    Labels for the Cluster.
    LocalAuthEndpoint ClusterV2LocalAuthEndpoint
    Local auth endpoint configures the Authorized Cluster Endpoint (ACE) which can be used to directly access the Kubernetes API server, without requiring communication through Rancher. For more information, please refer to Rancher Documentation.
    Name string
    The name of the cluster.
    ResourceVersion string
    (Computed, string) Cluster's k8s resource version.
    RkeConfig ClusterV2RkeConfig
    The RKE configuration for the cluster.
    AgentEnvVars []ClusterV2AgentEnvVarArgs
    Agent env vars is a list of additional environment variables to be appended to the cattle-cluster-agent and fleet-agent deployment, and the plan for the system upgrade controller to upgrade nodes.
    Annotations map[string]string
    Annotations for the Cluster.
    CloudCredentialSecretName string
    Cloud credential secret name is the secret to be used when a cloud credential secret name is not specified at the machine pool level.
    ClusterAgentDeploymentCustomizations []ClusterV2ClusterAgentDeploymentCustomizationArgs
    Cluster agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the cattle-cluster-agent deployment. This argument is available in Rancher v2.7.5 and above.
    ClusterRegistrationToken ClusterV2ClusterRegistrationTokenArgs
    (Computed, sensitive, list, max length: 1) Cluster Registration Token generated for the cluster.
    ClusterV1Id string
    (Computed, string) Cluster v1 id for cluster v2. (e.g. to be used with rancher2_sync).
    DefaultClusterRoleForProjectMembers string
    Default cluster role for project members.
    DefaultPodSecurityAdmissionConfigurationTemplateName string
    The name of the pre-defined pod security admission configuration template to be applied to the cluster. Rancher admins (or those with the right permissions) can create, manage, and edit those templates. For more information, please refer to Rancher Documentation. The argument is available in Rancher v2.7.2 and above.
    EnableNetworkPolicy bool
    Enable k8s network policy on the cluster.
    FleetAgentDeploymentCustomizations []ClusterV2FleetAgentDeploymentCustomizationArgs
    Fleet agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the fleet-agent deployment. The argument is available in Rancher v2.7.5 and above.
    FleetNamespace string
    Fleet namespace is the namespace where the cluster is to create in the local cluster. It is recommended to leave it as the default value.
    KubeConfig string
    (Computed/Sensitive) Kube Config generated for the cluster. Note: When the cluster has local_auth_endpoint enabled, the kube_config will not be available until the cluster is connected.
    KubernetesVersion string
    The RKE2 or K3s version for the cluster.
    Labels map[string]string
    Labels for the Cluster.
    LocalAuthEndpoint ClusterV2LocalAuthEndpointArgs
    Local auth endpoint configures the Authorized Cluster Endpoint (ACE) which can be used to directly access the Kubernetes API server, without requiring communication through Rancher. For more information, please refer to Rancher Documentation.
    Name string
    The name of the cluster.
    ResourceVersion string
    (Computed, string) Cluster's k8s resource version.
    RkeConfig ClusterV2RkeConfigArgs
    The RKE configuration for the cluster.
    agentEnvVars List<ClusterV2AgentEnvVar>
    Agent env vars is a list of additional environment variables to be appended to the cattle-cluster-agent and fleet-agent deployment, and the plan for the system upgrade controller to upgrade nodes.
    annotations Map<String,String>
    Annotations for the Cluster.
    cloudCredentialSecretName String
    Cloud credential secret name is the secret to be used when a cloud credential secret name is not specified at the machine pool level.
    clusterAgentDeploymentCustomizations List<ClusterV2ClusterAgentDeploymentCustomization>
    Cluster agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the cattle-cluster-agent deployment. This argument is available in Rancher v2.7.5 and above.
    clusterRegistrationToken ClusterV2ClusterRegistrationToken
    (Computed, sensitive, list, max length: 1) Cluster Registration Token generated for the cluster.
    clusterV1Id String
    (Computed, string) Cluster v1 id for cluster v2. (e.g. to be used with rancher2_sync).
    defaultClusterRoleForProjectMembers String
    Default cluster role for project members.
    defaultPodSecurityAdmissionConfigurationTemplateName String
    The name of the pre-defined pod security admission configuration template to be applied to the cluster. Rancher admins (or those with the right permissions) can create, manage, and edit those templates. For more information, please refer to Rancher Documentation. The argument is available in Rancher v2.7.2 and above.
    enableNetworkPolicy Boolean
    Enable k8s network policy on the cluster.
    fleetAgentDeploymentCustomizations List<ClusterV2FleetAgentDeploymentCustomization>
    Fleet agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the fleet-agent deployment. The argument is available in Rancher v2.7.5 and above.
    fleetNamespace String
    Fleet namespace is the namespace where the cluster is to create in the local cluster. It is recommended to leave it as the default value.
    kubeConfig String
    (Computed/Sensitive) Kube Config generated for the cluster. Note: When the cluster has local_auth_endpoint enabled, the kube_config will not be available until the cluster is connected.
    kubernetesVersion String
    The RKE2 or K3s version for the cluster.
    labels Map<String,String>
    Labels for the Cluster.
    localAuthEndpoint ClusterV2LocalAuthEndpoint
    Local auth endpoint configures the Authorized Cluster Endpoint (ACE) which can be used to directly access the Kubernetes API server, without requiring communication through Rancher. For more information, please refer to Rancher Documentation.
    name String
    The name of the cluster.
    resourceVersion String
    (Computed, string) Cluster's k8s resource version.
    rkeConfig ClusterV2RkeConfig
    The RKE configuration for the cluster.
    agentEnvVars ClusterV2AgentEnvVar[]
    Agent env vars is a list of additional environment variables to be appended to the cattle-cluster-agent and fleet-agent deployment, and the plan for the system upgrade controller to upgrade nodes.
    annotations {[key: string]: string}
    Annotations for the Cluster.
    cloudCredentialSecretName string
    Cloud credential secret name is the secret to be used when a cloud credential secret name is not specified at the machine pool level.
    clusterAgentDeploymentCustomizations ClusterV2ClusterAgentDeploymentCustomization[]
    Cluster agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the cattle-cluster-agent deployment. This argument is available in Rancher v2.7.5 and above.
    clusterRegistrationToken ClusterV2ClusterRegistrationToken
    (Computed, sensitive, list, max length: 1) Cluster Registration Token generated for the cluster.
    clusterV1Id string
    (Computed, string) Cluster v1 id for cluster v2. (e.g. to be used with rancher2_sync).
    defaultClusterRoleForProjectMembers string
    Default cluster role for project members.
    defaultPodSecurityAdmissionConfigurationTemplateName string
    The name of the pre-defined pod security admission configuration template to be applied to the cluster. Rancher admins (or those with the right permissions) can create, manage, and edit those templates. For more information, please refer to Rancher Documentation. The argument is available in Rancher v2.7.2 and above.
    enableNetworkPolicy boolean
    Enable k8s network policy on the cluster.
    fleetAgentDeploymentCustomizations ClusterV2FleetAgentDeploymentCustomization[]
    Fleet agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the fleet-agent deployment. The argument is available in Rancher v2.7.5 and above.
    fleetNamespace string
    Fleet namespace is the namespace where the cluster is to create in the local cluster. It is recommended to leave it as the default value.
    kubeConfig string
    (Computed/Sensitive) Kube Config generated for the cluster. Note: When the cluster has local_auth_endpoint enabled, the kube_config will not be available until the cluster is connected.
    kubernetesVersion string
    The RKE2 or K3s version for the cluster.
    labels {[key: string]: string}
    Labels for the Cluster.
    localAuthEndpoint ClusterV2LocalAuthEndpoint
    Local auth endpoint configures the Authorized Cluster Endpoint (ACE) which can be used to directly access the Kubernetes API server, without requiring communication through Rancher. For more information, please refer to Rancher Documentation.
    name string
    The name of the cluster.
    resourceVersion string
    (Computed, string) Cluster's k8s resource version.
    rkeConfig ClusterV2RkeConfig
    The RKE configuration for the cluster.
    agent_env_vars Sequence[ClusterV2AgentEnvVarArgs]
    Agent env vars is a list of additional environment variables to be appended to the cattle-cluster-agent and fleet-agent deployment, and the plan for the system upgrade controller to upgrade nodes.
    annotations Mapping[str, str]
    Annotations for the Cluster.
    cloud_credential_secret_name str
    Cloud credential secret name is the secret to be used when a cloud credential secret name is not specified at the machine pool level.
    cluster_agent_deployment_customizations Sequence[ClusterV2ClusterAgentDeploymentCustomizationArgs]
    Cluster agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the cattle-cluster-agent deployment. This argument is available in Rancher v2.7.5 and above.
    cluster_registration_token ClusterV2ClusterRegistrationTokenArgs
    (Computed, sensitive, list, max length: 1) Cluster Registration Token generated for the cluster.
    cluster_v1_id str
    (Computed, string) Cluster v1 id for cluster v2. (e.g. to be used with rancher2_sync).
    default_cluster_role_for_project_members str
    Default cluster role for project members.
    default_pod_security_admission_configuration_template_name str
    The name of the pre-defined pod security admission configuration template to be applied to the cluster. Rancher admins (or those with the right permissions) can create, manage, and edit those templates. For more information, please refer to Rancher Documentation. The argument is available in Rancher v2.7.2 and above.
    enable_network_policy bool
    Enable k8s network policy on the cluster.
    fleet_agent_deployment_customizations Sequence[ClusterV2FleetAgentDeploymentCustomizationArgs]
    Fleet agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the fleet-agent deployment. The argument is available in Rancher v2.7.5 and above.
    fleet_namespace str
    Fleet namespace is the namespace where the cluster is to create in the local cluster. It is recommended to leave it as the default value.
    kube_config str
    (Computed/Sensitive) Kube Config generated for the cluster. Note: When the cluster has local_auth_endpoint enabled, the kube_config will not be available until the cluster is connected.
    kubernetes_version str
    The RKE2 or K3s version for the cluster.
    labels Mapping[str, str]
    Labels for the Cluster.
    local_auth_endpoint ClusterV2LocalAuthEndpointArgs
    Local auth endpoint configures the Authorized Cluster Endpoint (ACE) which can be used to directly access the Kubernetes API server, without requiring communication through Rancher. For more information, please refer to Rancher Documentation.
    name str
    The name of the cluster.
    resource_version str
    (Computed, string) Cluster's k8s resource version.
    rke_config ClusterV2RkeConfigArgs
    The RKE configuration for the cluster.
    agentEnvVars List<Property Map>
    Agent env vars is a list of additional environment variables to be appended to the cattle-cluster-agent and fleet-agent deployment, and the plan for the system upgrade controller to upgrade nodes.
    annotations Map<String>
    Annotations for the Cluster.
    cloudCredentialSecretName String
    Cloud credential secret name is the secret to be used when a cloud credential secret name is not specified at the machine pool level.
    clusterAgentDeploymentCustomizations List<Property Map>
    Cluster agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the cattle-cluster-agent deployment. This argument is available in Rancher v2.7.5 and above.
    clusterRegistrationToken Property Map
    (Computed, sensitive, list, max length: 1) Cluster Registration Token generated for the cluster.
    clusterV1Id String
    (Computed, string) Cluster v1 id for cluster v2. (e.g. to be used with rancher2_sync).
    defaultClusterRoleForProjectMembers String
    Default cluster role for project members.
    defaultPodSecurityAdmissionConfigurationTemplateName String
    The name of the pre-defined pod security admission configuration template to be applied to the cluster. Rancher admins (or those with the right permissions) can create, manage, and edit those templates. For more information, please refer to Rancher Documentation. The argument is available in Rancher v2.7.2 and above.
    enableNetworkPolicy Boolean
    Enable k8s network policy on the cluster.
    fleetAgentDeploymentCustomizations List<Property Map>
    Fleet agent deployment customization specifies the additional tolerations, new affinity rules, and new resource requirements on the fleet-agent deployment. The argument is available in Rancher v2.7.5 and above.
    fleetNamespace String
    Fleet namespace is the namespace where the cluster is to create in the local cluster. It is recommended to leave it as the default value.
    kubeConfig String
    (Computed/Sensitive) Kube Config generated for the cluster. Note: When the cluster has local_auth_endpoint enabled, the kube_config will not be available until the cluster is connected.
    kubernetesVersion String
    The RKE2 or K3s version for the cluster.
    labels Map<String>
    Labels for the Cluster.
    localAuthEndpoint Property Map
    Local auth endpoint configures the Authorized Cluster Endpoint (ACE) which can be used to directly access the Kubernetes API server, without requiring communication through Rancher. For more information, please refer to Rancher Documentation.
    name String
    The name of the cluster.
    resourceVersion String
    (Computed, string) Cluster's k8s resource version.
    rkeConfig Property Map
    The RKE configuration for the cluster.

    Supporting Types

    ClusterV2AgentEnvVar, ClusterV2AgentEnvVarArgs

    Name string
    The name of the cluster.
    Value string
    The taint value.
    Name string
    The name of the cluster.
    Value string
    The taint value.
    name String
    The name of the cluster.
    value String
    The taint value.
    name string
    The name of the cluster.
    value string
    The taint value.
    name str
    The name of the cluster.
    value str
    The taint value.
    name String
    The name of the cluster.
    value String
    The taint value.

    ClusterV2ClusterAgentDeploymentCustomization, ClusterV2ClusterAgentDeploymentCustomizationArgs

    AppendTolerations List<ClusterV2ClusterAgentDeploymentCustomizationAppendToleration>
    User defined tolerations to append to agent
    OverrideAffinity string
    User defined affinity to override default agent affinity
    OverrideResourceRequirements List<ClusterV2ClusterAgentDeploymentCustomizationOverrideResourceRequirement>
    User defined resource requirements to set on the agent
    AppendTolerations []ClusterV2ClusterAgentDeploymentCustomizationAppendToleration
    User defined tolerations to append to agent
    OverrideAffinity string
    User defined affinity to override default agent affinity
    OverrideResourceRequirements []ClusterV2ClusterAgentDeploymentCustomizationOverrideResourceRequirement
    User defined resource requirements to set on the agent
    appendTolerations List<ClusterV2ClusterAgentDeploymentCustomizationAppendToleration>
    User defined tolerations to append to agent
    overrideAffinity String
    User defined affinity to override default agent affinity
    overrideResourceRequirements List<ClusterV2ClusterAgentDeploymentCustomizationOverrideResourceRequirement>
    User defined resource requirements to set on the agent
    appendTolerations ClusterV2ClusterAgentDeploymentCustomizationAppendToleration[]
    User defined tolerations to append to agent
    overrideAffinity string
    User defined affinity to override default agent affinity
    overrideResourceRequirements ClusterV2ClusterAgentDeploymentCustomizationOverrideResourceRequirement[]
    User defined resource requirements to set on the agent
    append_tolerations Sequence[ClusterV2ClusterAgentDeploymentCustomizationAppendToleration]
    User defined tolerations to append to agent
    override_affinity str
    User defined affinity to override default agent affinity
    override_resource_requirements Sequence[ClusterV2ClusterAgentDeploymentCustomizationOverrideResourceRequirement]
    User defined resource requirements to set on the agent
    appendTolerations List<Property Map>
    User defined tolerations to append to agent
    overrideAffinity String
    User defined affinity to override default agent affinity
    overrideResourceRequirements List<Property Map>
    User defined resource requirements to set on the agent

    ClusterV2ClusterAgentDeploymentCustomizationAppendToleration, ClusterV2ClusterAgentDeploymentCustomizationAppendTolerationArgs

    Key string
    Key is the name of the key of the item to retrieve.
    Effect string
    The taint effect. Default: \"NoExecute\".
    Operator string
    Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
    Seconds int
    The number of seconds a pod will stay bound to a node with a matching taint.
    Value string
    The taint value.
    Key string
    Key is the name of the key of the item to retrieve.
    Effect string
    The taint effect. Default: \"NoExecute\".
    Operator string
    Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
    Seconds int
    The number of seconds a pod will stay bound to a node with a matching taint.
    Value string
    The taint value.
    key String
    Key is the name of the key of the item to retrieve.
    effect String
    The taint effect. Default: \"NoExecute\".
    operator String
    Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
    seconds Integer
    The number of seconds a pod will stay bound to a node with a matching taint.
    value String
    The taint value.
    key string
    Key is the name of the key of the item to retrieve.
    effect string
    The taint effect. Default: \"NoExecute\".
    operator string
    Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
    seconds number
    The number of seconds a pod will stay bound to a node with a matching taint.
    value string
    The taint value.
    key str
    Key is the name of the key of the item to retrieve.
    effect str
    The taint effect. Default: \"NoExecute\".
    operator str
    Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
    seconds int
    The number of seconds a pod will stay bound to a node with a matching taint.
    value str
    The taint value.
    key String
    Key is the name of the key of the item to retrieve.
    effect String
    The taint effect. Default: \"NoExecute\".
    operator String
    Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
    seconds Number
    The number of seconds a pod will stay bound to a node with a matching taint.
    value String
    The taint value.

    ClusterV2ClusterAgentDeploymentCustomizationOverrideResourceRequirement, ClusterV2ClusterAgentDeploymentCustomizationOverrideResourceRequirementArgs

    CpuLimit string
    The maximum CPU limit for agent
    CpuRequest string
    The minimum CPU required for agent
    MemoryLimit string
    The maximum memory limit for agent
    MemoryRequest string
    The minimum memory required for agent
    CpuLimit string
    The maximum CPU limit for agent
    CpuRequest string
    The minimum CPU required for agent
    MemoryLimit string
    The maximum memory limit for agent
    MemoryRequest string
    The minimum memory required for agent
    cpuLimit String
    The maximum CPU limit for agent
    cpuRequest String
    The minimum CPU required for agent
    memoryLimit String
    The maximum memory limit for agent
    memoryRequest String
    The minimum memory required for agent
    cpuLimit string
    The maximum CPU limit for agent
    cpuRequest string
    The minimum CPU required for agent
    memoryLimit string
    The maximum memory limit for agent
    memoryRequest string
    The minimum memory required for agent
    cpu_limit str
    The maximum CPU limit for agent
    cpu_request str
    The minimum CPU required for agent
    memory_limit str
    The maximum memory limit for agent
    memory_request str
    The minimum memory required for agent
    cpuLimit String
    The maximum CPU limit for agent
    cpuRequest String
    The minimum CPU required for agent
    memoryLimit String
    The maximum memory limit for agent
    memoryRequest String
    The minimum memory required for agent

    ClusterV2ClusterRegistrationToken, ClusterV2ClusterRegistrationTokenArgs

    Annotations Dictionary<string, string>
    Annotations for the Cluster.
    ClusterId string
    Cluster ID.
    Command string
    Command to execute in an imported k8s cluster.
    Id string
    (Computed, string) The ID of the resource.
    InsecureCommand string
    Insecure command to execute in an imported k8s cluster.
    InsecureNodeCommand string
    Insecure node command to execute in an imported k8s cluster.
    InsecureWindowsNodeCommand string
    Insecure windows command to execute in an imported k8s cluster.
    Labels Dictionary<string, string>
    Labels for the Cluster.
    ManifestUrl string
    K8s manifest url to execute with kubectl to import an existing k8s cluster.
    Name string
    The name of the cluster.
    NodeCommand string
    Node command to execute in Linux nodes for custom k8s cluster.
    Token string
    Token for cluster registration token object.
    WindowsNodeCommand string
    Node command to execute in Windows nodes for custom k8s cluster.
    Annotations map[string]string
    Annotations for the Cluster.
    ClusterId string
    Cluster ID.
    Command string
    Command to execute in an imported k8s cluster.
    Id string
    (Computed, string) The ID of the resource.
    InsecureCommand string
    Insecure command to execute in an imported k8s cluster.
    InsecureNodeCommand string
    Insecure node command to execute in an imported k8s cluster.
    InsecureWindowsNodeCommand string
    Insecure windows command to execute in an imported k8s cluster.
    Labels map[string]string
    Labels for the Cluster.
    ManifestUrl string
    K8s manifest url to execute with kubectl to import an existing k8s cluster.
    Name string
    The name of the cluster.
    NodeCommand string
    Node command to execute in Linux nodes for custom k8s cluster.
    Token string
    Token for cluster registration token object.
    WindowsNodeCommand string
    Node command to execute in Windows nodes for custom k8s cluster.
    annotations Map<String,String>
    Annotations for the Cluster.
    clusterId String
    Cluster ID.
    command String
    Command to execute in an imported k8s cluster.
    id String
    (Computed, string) The ID of the resource.
    insecureCommand String
    Insecure command to execute in an imported k8s cluster.
    insecureNodeCommand String
    Insecure node command to execute in an imported k8s cluster.
    insecureWindowsNodeCommand String
    Insecure windows command to execute in an imported k8s cluster.
    labels Map<String,String>
    Labels for the Cluster.
    manifestUrl String
    K8s manifest url to execute with kubectl to import an existing k8s cluster.
    name String
    The name of the cluster.
    nodeCommand String
    Node command to execute in Linux nodes for custom k8s cluster.
    token String
    Token for cluster registration token object.
    windowsNodeCommand String
    Node command to execute in Windows nodes for custom k8s cluster.
    annotations {[key: string]: string}
    Annotations for the Cluster.
    clusterId string
    Cluster ID.
    command string
    Command to execute in an imported k8s cluster.
    id string
    (Computed, string) The ID of the resource.
    insecureCommand string
    Insecure command to execute in an imported k8s cluster.
    insecureNodeCommand string
    Insecure node command to execute in an imported k8s cluster.
    insecureWindowsNodeCommand string
    Insecure windows command to execute in an imported k8s cluster.
    labels {[key: string]: string}
    Labels for the Cluster.
    manifestUrl string
    K8s manifest url to execute with kubectl to import an existing k8s cluster.
    name string
    The name of the cluster.
    nodeCommand string
    Node command to execute in Linux nodes for custom k8s cluster.
    token string
    Token for cluster registration token object.
    windowsNodeCommand string
    Node command to execute in Windows nodes for custom k8s cluster.
    annotations Mapping[str, str]
    Annotations for the Cluster.
    cluster_id str
    Cluster ID.
    command str
    Command to execute in an imported k8s cluster.
    id str
    (Computed, string) The ID of the resource.
    insecure_command str
    Insecure command to execute in an imported k8s cluster.
    insecure_node_command str
    Insecure node command to execute in an imported k8s cluster.
    insecure_windows_node_command str
    Insecure windows command to execute in an imported k8s cluster.
    labels Mapping[str, str]
    Labels for the Cluster.
    manifest_url str
    K8s manifest url to execute with kubectl to import an existing k8s cluster.
    name str
    The name of the cluster.
    node_command str
    Node command to execute in Linux nodes for custom k8s cluster.
    token str
    Token for cluster registration token object.
    windows_node_command str
    Node command to execute in Windows nodes for custom k8s cluster.
    annotations Map<String>
    Annotations for the Cluster.
    clusterId String
    Cluster ID.
    command String
    Command to execute in an imported k8s cluster.
    id String
    (Computed, string) The ID of the resource.
    insecureCommand String
    Insecure command to execute in an imported k8s cluster.
    insecureNodeCommand String
    Insecure node command to execute in an imported k8s cluster.
    insecureWindowsNodeCommand String
    Insecure windows command to execute in an imported k8s cluster.
    labels Map<String>
    Labels for the Cluster.
    manifestUrl String
    K8s manifest url to execute with kubectl to import an existing k8s cluster.
    name String
    The name of the cluster.
    nodeCommand String
    Node command to execute in Linux nodes for custom k8s cluster.
    token String
    Token for cluster registration token object.
    windowsNodeCommand String
    Node command to execute in Windows nodes for custom k8s cluster.

    ClusterV2FleetAgentDeploymentCustomization, ClusterV2FleetAgentDeploymentCustomizationArgs

    AppendTolerations List<ClusterV2FleetAgentDeploymentCustomizationAppendToleration>
    User defined tolerations to append to agent
    OverrideAffinity string
    User defined affinity to override default agent affinity
    OverrideResourceRequirements List<ClusterV2FleetAgentDeploymentCustomizationOverrideResourceRequirement>
    User defined resource requirements to set on the agent
    AppendTolerations []ClusterV2FleetAgentDeploymentCustomizationAppendToleration
    User defined tolerations to append to agent
    OverrideAffinity string
    User defined affinity to override default agent affinity
    OverrideResourceRequirements []ClusterV2FleetAgentDeploymentCustomizationOverrideResourceRequirement
    User defined resource requirements to set on the agent
    appendTolerations List<ClusterV2FleetAgentDeploymentCustomizationAppendToleration>
    User defined tolerations to append to agent
    overrideAffinity String
    User defined affinity to override default agent affinity
    overrideResourceRequirements List<ClusterV2FleetAgentDeploymentCustomizationOverrideResourceRequirement>
    User defined resource requirements to set on the agent
    appendTolerations ClusterV2FleetAgentDeploymentCustomizationAppendToleration[]
    User defined tolerations to append to agent
    overrideAffinity string
    User defined affinity to override default agent affinity
    overrideResourceRequirements ClusterV2FleetAgentDeploymentCustomizationOverrideResourceRequirement[]
    User defined resource requirements to set on the agent
    append_tolerations Sequence[ClusterV2FleetAgentDeploymentCustomizationAppendToleration]
    User defined tolerations to append to agent
    override_affinity str
    User defined affinity to override default agent affinity
    override_resource_requirements Sequence[ClusterV2FleetAgentDeploymentCustomizationOverrideResourceRequirement]
    User defined resource requirements to set on the agent
    appendTolerations List<Property Map>
    User defined tolerations to append to agent
    overrideAffinity String
    User defined affinity to override default agent affinity
    overrideResourceRequirements List<Property Map>
    User defined resource requirements to set on the agent

    ClusterV2FleetAgentDeploymentCustomizationAppendToleration, ClusterV2FleetAgentDeploymentCustomizationAppendTolerationArgs

    Key string
    Key is the name of the key of the item to retrieve.
    Effect string
    The taint effect. Default: \"NoExecute\".
    Operator string
    Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
    Seconds int
    The number of seconds a pod will stay bound to a node with a matching taint.
    Value string
    The taint value.
    Key string
    Key is the name of the key of the item to retrieve.
    Effect string
    The taint effect. Default: \"NoExecute\".
    Operator string
    Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
    Seconds int
    The number of seconds a pod will stay bound to a node with a matching taint.
    Value string
    The taint value.
    key String
    Key is the name of the key of the item to retrieve.
    effect String
    The taint effect. Default: \"NoExecute\".
    operator String
    Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
    seconds Integer
    The number of seconds a pod will stay bound to a node with a matching taint.
    value String
    The taint value.
    key string
    Key is the name of the key of the item to retrieve.
    effect string
    The taint effect. Default: \"NoExecute\".
    operator string
    Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
    seconds number
    The number of seconds a pod will stay bound to a node with a matching taint.
    value string
    The taint value.
    key str
    Key is the name of the key of the item to retrieve.
    effect str
    The taint effect. Default: \"NoExecute\".
    operator str
    Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
    seconds int
    The number of seconds a pod will stay bound to a node with a matching taint.
    value str
    The taint value.
    key String
    Key is the name of the key of the item to retrieve.
    effect String
    The taint effect. Default: \"NoExecute\".
    operator String
    Operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.
    seconds Number
    The number of seconds a pod will stay bound to a node with a matching taint.
    value String
    The taint value.

    ClusterV2FleetAgentDeploymentCustomizationOverrideResourceRequirement, ClusterV2FleetAgentDeploymentCustomizationOverrideResourceRequirementArgs

    CpuLimit string
    The maximum CPU limit for agent
    CpuRequest string
    The minimum CPU required for agent
    MemoryLimit string
    The maximum memory limit for agent
    MemoryRequest string
    The minimum memory required for agent
    CpuLimit string
    The maximum CPU limit for agent
    CpuRequest string
    The minimum CPU required for agent
    MemoryLimit string
    The maximum memory limit for agent
    MemoryRequest string
    The minimum memory required for agent
    cpuLimit String
    The maximum CPU limit for agent
    cpuRequest String
    The minimum CPU required for agent
    memoryLimit String
    The maximum memory limit for agent
    memoryRequest String
    The minimum memory required for agent
    cpuLimit string
    The maximum CPU limit for agent
    cpuRequest string
    The minimum CPU required for agent
    memoryLimit string
    The maximum memory limit for agent
    memoryRequest string
    The minimum memory required for agent
    cpu_limit str
    The maximum CPU limit for agent
    cpu_request str
    The minimum CPU required for agent
    memory_limit str
    The maximum memory limit for agent
    memory_request str
    The minimum memory required for agent
    cpuLimit String
    The maximum CPU limit for agent
    cpuRequest String
    The minimum CPU required for agent
    memoryLimit String
    The maximum memory limit for agent
    memoryRequest String
    The minimum memory required for agent

    ClusterV2LocalAuthEndpoint, ClusterV2LocalAuthEndpointArgs

    CaCerts string
    CA certs for the authorized cluster endpoint. It is only needed if there is a load balancer in front of the downstream cluster that is using an untrusted certificate. If you have a valid certificate, then nothing needs to be added to the CA Certificates field.
    Enabled bool
    If enabled is set to true, nodes will be drained before upgrade.
    Fqdn string
    FQDN for the authorized cluster endpoint. If one is entered, it should point to the downstream cluster.
    CaCerts string
    CA certs for the authorized cluster endpoint. It is only needed if there is a load balancer in front of the downstream cluster that is using an untrusted certificate. If you have a valid certificate, then nothing needs to be added to the CA Certificates field.
    Enabled bool
    If enabled is set to true, nodes will be drained before upgrade.
    Fqdn string
    FQDN for the authorized cluster endpoint. If one is entered, it should point to the downstream cluster.
    caCerts String
    CA certs for the authorized cluster endpoint. It is only needed if there is a load balancer in front of the downstream cluster that is using an untrusted certificate. If you have a valid certificate, then nothing needs to be added to the CA Certificates field.
    enabled Boolean
    If enabled is set to true, nodes will be drained before upgrade.
    fqdn String
    FQDN for the authorized cluster endpoint. If one is entered, it should point to the downstream cluster.
    caCerts string
    CA certs for the authorized cluster endpoint. It is only needed if there is a load balancer in front of the downstream cluster that is using an untrusted certificate. If you have a valid certificate, then nothing needs to be added to the CA Certificates field.
    enabled boolean
    If enabled is set to true, nodes will be drained before upgrade.
    fqdn string
    FQDN for the authorized cluster endpoint. If one is entered, it should point to the downstream cluster.
    ca_certs str
    CA certs for the authorized cluster endpoint. It is only needed if there is a load balancer in front of the downstream cluster that is using an untrusted certificate. If you have a valid certificate, then nothing needs to be added to the CA Certificates field.
    enabled bool
    If enabled is set to true, nodes will be drained before upgrade.
    fqdn str
    FQDN for the authorized cluster endpoint. If one is entered, it should point to the downstream cluster.
    caCerts String
    CA certs for the authorized cluster endpoint. It is only needed if there is a load balancer in front of the downstream cluster that is using an untrusted certificate. If you have a valid certificate, then nothing needs to be added to the CA Certificates field.
    enabled Boolean
    If enabled is set to true, nodes will be drained before upgrade.
    fqdn String
    FQDN for the authorized cluster endpoint. If one is entered, it should point to the downstream cluster.

    ClusterV2RkeConfig, ClusterV2RkeConfigArgs

    AdditionalManifest string
    Cluster V2 additional manifest
    ChartValues string
    Cluster V2 chart values. It should be in YAML format
    Etcd ClusterV2RkeConfigEtcd
    Cluster V2 etcd
    EtcdSnapshotCreate ClusterV2RkeConfigEtcdSnapshotCreate
    Cluster V2 etcd snapshot create
    EtcdSnapshotRestore ClusterV2RkeConfigEtcdSnapshotRestore
    Cluster V2 etcd snapshot restore
    LocalAuthEndpoint ClusterV2RkeConfigLocalAuthEndpoint
    Local auth endpoint configures the Authorized Cluster Endpoint (ACE) which can be used to directly access the Kubernetes API server, without requiring communication through Rancher. For more information, please refer to Rancher Documentation.

    Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead

    MachineGlobalConfig string
    Cluster V2 machine global config
    MachinePoolDefaults List<ClusterV2RkeConfigMachinePoolDefault>
    Default values for machine pool configurations if unset
    MachinePools List<ClusterV2RkeConfigMachinePool>
    Cluster V2 machine pools
    MachineSelectorConfigs List<ClusterV2RkeConfigMachineSelectorConfig>
    Cluster V2 machine selector config
    MachineSelectorFiles List<ClusterV2RkeConfigMachineSelectorFile>
    Cluster V2 machine selector files
    Registries ClusterV2RkeConfigRegistries
    Cluster V2 registries
    RotateCertificates ClusterV2RkeConfigRotateCertificates
    Cluster V2 certificate rotation
    UpgradeStrategy ClusterV2RkeConfigUpgradeStrategy
    Cluster V2 upgrade strategy
    AdditionalManifest string
    Cluster V2 additional manifest
    ChartValues string
    Cluster V2 chart values. It should be in YAML format
    Etcd ClusterV2RkeConfigEtcd
    Cluster V2 etcd
    EtcdSnapshotCreate ClusterV2RkeConfigEtcdSnapshotCreate
    Cluster V2 etcd snapshot create
    EtcdSnapshotRestore ClusterV2RkeConfigEtcdSnapshotRestore
    Cluster V2 etcd snapshot restore
    LocalAuthEndpoint ClusterV2RkeConfigLocalAuthEndpoint
    Local auth endpoint configures the Authorized Cluster Endpoint (ACE) which can be used to directly access the Kubernetes API server, without requiring communication through Rancher. For more information, please refer to Rancher Documentation.

    Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead

    MachineGlobalConfig string
    Cluster V2 machine global config
    MachinePoolDefaults []ClusterV2RkeConfigMachinePoolDefault
    Default values for machine pool configurations if unset
    MachinePools []ClusterV2RkeConfigMachinePool
    Cluster V2 machine pools
    MachineSelectorConfigs []ClusterV2RkeConfigMachineSelectorConfig
    Cluster V2 machine selector config
    MachineSelectorFiles []ClusterV2RkeConfigMachineSelectorFile
    Cluster V2 machine selector files
    Registries ClusterV2RkeConfigRegistries
    Cluster V2 registries
    RotateCertificates ClusterV2RkeConfigRotateCertificates
    Cluster V2 certificate rotation
    UpgradeStrategy ClusterV2RkeConfigUpgradeStrategy
    Cluster V2 upgrade strategy
    additionalManifest String
    Cluster V2 additional manifest
    chartValues String
    Cluster V2 chart values. It should be in YAML format
    etcd ClusterV2RkeConfigEtcd
    Cluster V2 etcd
    etcdSnapshotCreate ClusterV2RkeConfigEtcdSnapshotCreate
    Cluster V2 etcd snapshot create
    etcdSnapshotRestore ClusterV2RkeConfigEtcdSnapshotRestore
    Cluster V2 etcd snapshot restore
    localAuthEndpoint ClusterV2RkeConfigLocalAuthEndpoint
    Local auth endpoint configures the Authorized Cluster Endpoint (ACE) which can be used to directly access the Kubernetes API server, without requiring communication through Rancher. For more information, please refer to Rancher Documentation.

    Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead

    machineGlobalConfig String
    Cluster V2 machine global config
    machinePoolDefaults List<ClusterV2RkeConfigMachinePoolDefault>
    Default values for machine pool configurations if unset
    machinePools List<ClusterV2RkeConfigMachinePool>
    Cluster V2 machine pools
    machineSelectorConfigs List<ClusterV2RkeConfigMachineSelectorConfig>
    Cluster V2 machine selector config
    machineSelectorFiles List<ClusterV2RkeConfigMachineSelectorFile>
    Cluster V2 machine selector files
    registries ClusterV2RkeConfigRegistries
    Cluster V2 registries
    rotateCertificates ClusterV2RkeConfigRotateCertificates
    Cluster V2 certificate rotation
    upgradeStrategy ClusterV2RkeConfigUpgradeStrategy
    Cluster V2 upgrade strategy
    additionalManifest string
    Cluster V2 additional manifest
    chartValues string
    Cluster V2 chart values. It should be in YAML format
    etcd ClusterV2RkeConfigEtcd
    Cluster V2 etcd
    etcdSnapshotCreate ClusterV2RkeConfigEtcdSnapshotCreate
    Cluster V2 etcd snapshot create
    etcdSnapshotRestore ClusterV2RkeConfigEtcdSnapshotRestore
    Cluster V2 etcd snapshot restore
    localAuthEndpoint ClusterV2RkeConfigLocalAuthEndpoint
    Local auth endpoint configures the Authorized Cluster Endpoint (ACE) which can be used to directly access the Kubernetes API server, without requiring communication through Rancher. For more information, please refer to Rancher Documentation.

    Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead

    machineGlobalConfig string
    Cluster V2 machine global config
    machinePoolDefaults ClusterV2RkeConfigMachinePoolDefault[]
    Default values for machine pool configurations if unset
    machinePools ClusterV2RkeConfigMachinePool[]
    Cluster V2 machine pools
    machineSelectorConfigs ClusterV2RkeConfigMachineSelectorConfig[]
    Cluster V2 machine selector config
    machineSelectorFiles ClusterV2RkeConfigMachineSelectorFile[]
    Cluster V2 machine selector files
    registries ClusterV2RkeConfigRegistries
    Cluster V2 registries
    rotateCertificates ClusterV2RkeConfigRotateCertificates
    Cluster V2 certificate rotation
    upgradeStrategy ClusterV2RkeConfigUpgradeStrategy
    Cluster V2 upgrade strategy
    additional_manifest str
    Cluster V2 additional manifest
    chart_values str
    Cluster V2 chart values. It should be in YAML format
    etcd ClusterV2RkeConfigEtcd
    Cluster V2 etcd
    etcd_snapshot_create ClusterV2RkeConfigEtcdSnapshotCreate
    Cluster V2 etcd snapshot create
    etcd_snapshot_restore ClusterV2RkeConfigEtcdSnapshotRestore
    Cluster V2 etcd snapshot restore
    local_auth_endpoint ClusterV2RkeConfigLocalAuthEndpoint
    Local auth endpoint configures the Authorized Cluster Endpoint (ACE) which can be used to directly access the Kubernetes API server, without requiring communication through Rancher. For more information, please refer to Rancher Documentation.

    Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead

    machine_global_config str
    Cluster V2 machine global config
    machine_pool_defaults Sequence[ClusterV2RkeConfigMachinePoolDefault]
    Default values for machine pool configurations if unset
    machine_pools Sequence[ClusterV2RkeConfigMachinePool]
    Cluster V2 machine pools
    machine_selector_configs Sequence[ClusterV2RkeConfigMachineSelectorConfig]
    Cluster V2 machine selector config
    machine_selector_files Sequence[ClusterV2RkeConfigMachineSelectorFile]
    Cluster V2 machine selector files
    registries ClusterV2RkeConfigRegistries
    Cluster V2 registries
    rotate_certificates ClusterV2RkeConfigRotateCertificates
    Cluster V2 certificate rotation
    upgrade_strategy ClusterV2RkeConfigUpgradeStrategy
    Cluster V2 upgrade strategy
    additionalManifest String
    Cluster V2 additional manifest
    chartValues String
    Cluster V2 chart values. It should be in YAML format
    etcd Property Map
    Cluster V2 etcd
    etcdSnapshotCreate Property Map
    Cluster V2 etcd snapshot create
    etcdSnapshotRestore Property Map
    Cluster V2 etcd snapshot restore
    localAuthEndpoint Property Map
    Local auth endpoint configures the Authorized Cluster Endpoint (ACE) which can be used to directly access the Kubernetes API server, without requiring communication through Rancher. For more information, please refer to Rancher Documentation.

    Deprecated: Use rancher2_cluster_v2.local_auth_endpoint instead

    machineGlobalConfig String
    Cluster V2 machine global config
    machinePoolDefaults List<Property Map>
    Default values for machine pool configurations if unset
    machinePools List<Property Map>
    Cluster V2 machine pools
    machineSelectorConfigs List<Property Map>
    Cluster V2 machine selector config
    machineSelectorFiles List<Property Map>
    Cluster V2 machine selector files
    registries Property Map
    Cluster V2 registries
    rotateCertificates Property Map
    Cluster V2 certificate rotation
    upgradeStrategy Property Map
    Cluster V2 upgrade strategy

    ClusterV2RkeConfigEtcd, ClusterV2RkeConfigEtcdArgs

    DisableSnapshots bool
    Disable ETCD snapshots
    S3Config ClusterV2RkeConfigEtcdS3Config
    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 ClusterV2RkeConfigEtcdS3Config
    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 ClusterV2RkeConfigEtcdS3Config
    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 ClusterV2RkeConfigEtcdS3Config
    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 ClusterV2RkeConfigEtcdS3Config
    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 * * *")

    ClusterV2RkeConfigEtcdS3Config, ClusterV2RkeConfigEtcdS3ConfigArgs

    Bucket string
    ETCD snapshot S3 bucket
    Endpoint 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 string
    ETCD snapshot S3 bucket
    Endpoint 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 String
    ETCD snapshot S3 bucket
    endpoint 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 string
    ETCD snapshot S3 bucket
    endpoint 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 str
    ETCD snapshot S3 bucket
    endpoint 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 String
    ETCD snapshot S3 bucket
    endpoint 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

    ClusterV2RkeConfigEtcdSnapshotCreate, ClusterV2RkeConfigEtcdSnapshotCreateArgs

    Generation int
    ETCD generation to initiate a snapshot
    Generation int
    ETCD generation to initiate a snapshot
    generation Integer
    ETCD generation to initiate a snapshot
    generation number
    ETCD generation to initiate a snapshot
    generation int
    ETCD generation to initiate a snapshot
    generation Number
    ETCD generation to initiate a snapshot

    ClusterV2RkeConfigEtcdSnapshotRestore, ClusterV2RkeConfigEtcdSnapshotRestoreArgs

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

    ClusterV2RkeConfigLocalAuthEndpoint, ClusterV2RkeConfigLocalAuthEndpointArgs

    CaCerts string
    CA certs for the authorized cluster endpoint. It is only needed if there is a load balancer in front of the downstream cluster that is using an untrusted certificate. If you have a valid certificate, then nothing needs to be added to the CA Certificates field.
    Enabled bool
    If enabled is set to true, nodes will be drained before upgrade.
    Fqdn string
    FQDN for the authorized cluster endpoint. If one is entered, it should point to the downstream cluster.
    CaCerts string
    CA certs for the authorized cluster endpoint. It is only needed if there is a load balancer in front of the downstream cluster that is using an untrusted certificate. If you have a valid certificate, then nothing needs to be added to the CA Certificates field.
    Enabled bool
    If enabled is set to true, nodes will be drained before upgrade.
    Fqdn string
    FQDN for the authorized cluster endpoint. If one is entered, it should point to the downstream cluster.
    caCerts String
    CA certs for the authorized cluster endpoint. It is only needed if there is a load balancer in front of the downstream cluster that is using an untrusted certificate. If you have a valid certificate, then nothing needs to be added to the CA Certificates field.
    enabled Boolean
    If enabled is set to true, nodes will be drained before upgrade.
    fqdn String
    FQDN for the authorized cluster endpoint. If one is entered, it should point to the downstream cluster.
    caCerts string
    CA certs for the authorized cluster endpoint. It is only needed if there is a load balancer in front of the downstream cluster that is using an untrusted certificate. If you have a valid certificate, then nothing needs to be added to the CA Certificates field.
    enabled boolean
    If enabled is set to true, nodes will be drained before upgrade.
    fqdn string
    FQDN for the authorized cluster endpoint. If one is entered, it should point to the downstream cluster.
    ca_certs str
    CA certs for the authorized cluster endpoint. It is only needed if there is a load balancer in front of the downstream cluster that is using an untrusted certificate. If you have a valid certificate, then nothing needs to be added to the CA Certificates field.
    enabled bool
    If enabled is set to true, nodes will be drained before upgrade.
    fqdn str
    FQDN for the authorized cluster endpoint. If one is entered, it should point to the downstream cluster.
    caCerts String
    CA certs for the authorized cluster endpoint. It is only needed if there is a load balancer in front of the downstream cluster that is using an untrusted certificate. If you have a valid certificate, then nothing needs to be added to the CA Certificates field.
    enabled Boolean
    If enabled is set to true, nodes will be drained before upgrade.
    fqdn String
    FQDN for the authorized cluster endpoint. If one is entered, it should point to the downstream cluster.

    ClusterV2RkeConfigMachinePool, ClusterV2RkeConfigMachinePoolArgs

    MachineConfig ClusterV2RkeConfigMachinePoolMachineConfig
    Machine config data
    Name string
    The name of the cluster.
    Annotations Dictionary<string, string>
    Annotations for the Cluster.
    CloudCredentialSecretName string
    Cloud credential secret name is the secret to be used when a cloud credential secret name is not specified at the machine pool level.
    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
    Labels Dictionary<string, string>
    Labels for the Cluster.
    MachineLabels Dictionary<string, string>
    Labels of the machine
    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 ClusterV2RkeConfigMachinePoolRollingUpdate
    Machine pool rolling update
    Taints List<ClusterV2RkeConfigMachinePoolTaint>
    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
    MachineConfig ClusterV2RkeConfigMachinePoolMachineConfig
    Machine config data
    Name string
    The name of the cluster.
    Annotations map[string]string
    Annotations for the Cluster.
    CloudCredentialSecretName string
    Cloud credential secret name is the secret to be used when a cloud credential secret name is not specified at the machine pool level.
    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
    Labels map[string]string
    Labels for the Cluster.
    MachineLabels map[string]string
    Labels of the machine
    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 ClusterV2RkeConfigMachinePoolRollingUpdate
    Machine pool rolling update
    Taints []ClusterV2RkeConfigMachinePoolTaint
    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
    machineConfig ClusterV2RkeConfigMachinePoolMachineConfig
    Machine config data
    name String
    The name of the cluster.
    annotations Map<String,String>
    Annotations for the Cluster.
    cloudCredentialSecretName String
    Cloud credential secret name is the secret to be used when a cloud credential secret name is not specified at the machine pool level.
    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
    labels Map<String,String>
    Labels for the Cluster.
    machineLabels Map<String,String>
    Labels of the machine
    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 ClusterV2RkeConfigMachinePoolRollingUpdate
    Machine pool rolling update
    taints List<ClusterV2RkeConfigMachinePoolTaint>
    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
    machineConfig ClusterV2RkeConfigMachinePoolMachineConfig
    Machine config data
    name string
    The name of the cluster.
    annotations {[key: string]: string}
    Annotations for the Cluster.
    cloudCredentialSecretName string
    Cloud credential secret name is the secret to be used when a cloud credential secret name is not specified at the machine pool level.
    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
    labels {[key: string]: string}
    Labels for the Cluster.
    machineLabels {[key: string]: string}
    Labels of the machine
    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 ClusterV2RkeConfigMachinePoolRollingUpdate
    Machine pool rolling update
    taints ClusterV2RkeConfigMachinePoolTaint[]
    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
    machine_config ClusterV2RkeConfigMachinePoolMachineConfig
    Machine config data
    name str
    The name of the cluster.
    annotations Mapping[str, str]
    Annotations for the Cluster.
    cloud_credential_secret_name str
    Cloud credential secret name is the secret to be used when a cloud credential secret name is not specified at the machine pool level.
    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
    labels Mapping[str, str]
    Labels for the Cluster.
    machine_labels Mapping[str, str]
    Labels of the machine
    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 ClusterV2RkeConfigMachinePoolRollingUpdate
    Machine pool rolling update
    taints Sequence[ClusterV2RkeConfigMachinePoolTaint]
    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
    machineConfig Property Map
    Machine config data
    name String
    The name of the cluster.
    annotations Map<String>
    Annotations for the Cluster.
    cloudCredentialSecretName String
    Cloud credential secret name is the secret to be used when a cloud credential secret name is not specified at the machine pool level.
    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
    labels Map<String>
    Labels for the Cluster.
    machineLabels Map<String>
    Labels of the machine
    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

    ClusterV2RkeConfigMachinePoolDefault, ClusterV2RkeConfigMachinePoolDefaultArgs

    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

    ClusterV2RkeConfigMachinePoolMachineConfig, ClusterV2RkeConfigMachinePoolMachineConfigArgs

    Kind string
    Machine config kind
    Name string
    The name of the cluster.
    ApiVersion string
    Machine config API version
    Kind string
    Machine config kind
    Name string
    The name of the cluster.
    ApiVersion string
    Machine config API version
    kind String
    Machine config kind
    name String
    The name of the cluster.
    apiVersion String
    Machine config API version
    kind string
    Machine config kind
    name string
    The name of the cluster.
    apiVersion string
    Machine config API version
    kind str
    Machine config kind
    name str
    The name of the cluster.
    api_version str
    Machine config API version
    kind String
    Machine config kind
    name String
    The name of the cluster.
    apiVersion String
    Machine config API version

    ClusterV2RkeConfigMachinePoolRollingUpdate, ClusterV2RkeConfigMachinePoolRollingUpdateArgs

    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

    ClusterV2RkeConfigMachinePoolTaint, ClusterV2RkeConfigMachinePoolTaintArgs

    Key string
    Key is the name of the key of the item to retrieve.
    Value string
    The taint value.
    Effect string
    The taint effect. Default: \"NoExecute\".
    Key string
    Key is the name of the key of the item to retrieve.
    Value string
    The taint value.
    Effect string
    The taint effect. Default: \"NoExecute\".
    key String
    Key is the name of the key of the item to retrieve.
    value String
    The taint value.
    effect String
    The taint effect. Default: \"NoExecute\".
    key string
    Key is the name of the key of the item to retrieve.
    value string
    The taint value.
    effect string
    The taint effect. Default: \"NoExecute\".
    key str
    Key is the name of the key of the item to retrieve.
    value str
    The taint value.
    effect str
    The taint effect. Default: \"NoExecute\".
    key String
    Key is the name of the key of the item to retrieve.
    value String
    The taint value.
    effect String
    The taint effect. Default: \"NoExecute\".

    ClusterV2RkeConfigMachineSelectorConfig, ClusterV2RkeConfigMachineSelectorConfigArgs

    config String
    Machine selector config
    machineLabelSelector Property Map
    Machine label selector

    ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelector, ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorArgs

    MatchExpressions List<ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression>
    Label selector match expressions
    MatchLabels Dictionary<string, string>
    Label selector match labels
    MatchExpressions []ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression
    Label selector match expressions
    MatchLabels map[string]string
    Label selector match labels
    matchExpressions List<ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression>
    Label selector match expressions
    matchLabels Map<String,String>
    Label selector match labels
    matchExpressions ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression[]
    Label selector match expressions
    matchLabels {[key: string]: string}
    Label selector match labels
    match_expressions Sequence[ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression]
    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

    ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpression, ClusterV2RkeConfigMachineSelectorConfigMachineLabelSelectorMatchExpressionArgs

    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

    ClusterV2RkeConfigMachineSelectorFile, ClusterV2RkeConfigMachineSelectorFileArgs

    ClusterV2RkeConfigMachineSelectorFileFileSource, ClusterV2RkeConfigMachineSelectorFileFileSourceArgs

    Configmap ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmap
    The configmap which is the source of files
    Secret ClusterV2RkeConfigMachineSelectorFileFileSourceSecret
    The secret which is the source of files
    Configmap ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmap
    The configmap which is the source of files
    Secret ClusterV2RkeConfigMachineSelectorFileFileSourceSecret
    The secret which is the source of files
    configmap ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmap
    The configmap which is the source of files
    secret ClusterV2RkeConfigMachineSelectorFileFileSourceSecret
    The secret which is the source of files
    configmap ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmap
    The configmap which is the source of files
    secret ClusterV2RkeConfigMachineSelectorFileFileSourceSecret
    The secret which is the source of files
    configmap ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmap
    The configmap which is the source of files
    secret ClusterV2RkeConfigMachineSelectorFileFileSourceSecret
    The secret which is the source of files
    configmap Property Map
    The configmap which is the source of files
    secret Property Map
    The secret which is the source of files

    ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmap, ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapArgs

    Name string
    The name of the cluster.
    DefaultPermissions string
    The default permissions to be applied when they are not set at the item level
    Items List<ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapItem>
    Items(files) to retrieve from the K8s object
    Name string
    The name of the cluster.
    DefaultPermissions string
    The default permissions to be applied when they are not set at the item level
    Items []ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapItem
    Items(files) to retrieve from the K8s object
    name String
    The name of the cluster.
    defaultPermissions String
    The default permissions to be applied when they are not set at the item level
    items List<ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapItem>
    Items(files) to retrieve from the K8s object
    name string
    The name of the cluster.
    defaultPermissions string
    The default permissions to be applied when they are not set at the item level
    items ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapItem[]
    Items(files) to retrieve from the K8s object
    name str
    The name of the cluster.
    default_permissions str
    The default permissions to be applied when they are not set at the item level
    items Sequence[ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapItem]
    Items(files) to retrieve from the K8s object
    name String
    The name of the cluster.
    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

    ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapItem, ClusterV2RkeConfigMachineSelectorFileFileSourceConfigmapItemArgs

    Key string
    The key of the item(file) to retrieve
    Path 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 string
    The key of the item(file) to retrieve
    Path 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 String
    The key of the item(file) to retrieve
    path 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 string
    The key of the item(file) to retrieve
    path 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 str
    The key of the item(file) to retrieve
    path 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 String
    The key of the item(file) to retrieve
    path 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

    ClusterV2RkeConfigMachineSelectorFileFileSourceSecret, ClusterV2RkeConfigMachineSelectorFileFileSourceSecretArgs

    Name string
    The name of the cluster.
    DefaultPermissions string
    The default permissions to be applied when they are not set at the item level
    Items List<ClusterV2RkeConfigMachineSelectorFileFileSourceSecretItem>
    Items(files) to retrieve from the K8s object
    Name string
    The name of the cluster.
    DefaultPermissions string
    The default permissions to be applied when they are not set at the item level
    Items []ClusterV2RkeConfigMachineSelectorFileFileSourceSecretItem
    Items(files) to retrieve from the K8s object
    name String
    The name of the cluster.
    defaultPermissions String
    The default permissions to be applied when they are not set at the item level
    items List<ClusterV2RkeConfigMachineSelectorFileFileSourceSecretItem>
    Items(files) to retrieve from the K8s object
    name string
    The name of the cluster.
    defaultPermissions string
    The default permissions to be applied when they are not set at the item level
    items ClusterV2RkeConfigMachineSelectorFileFileSourceSecretItem[]
    Items(files) to retrieve from the K8s object
    name str
    The name of the cluster.
    default_permissions str
    The default permissions to be applied when they are not set at the item level
    items Sequence[ClusterV2RkeConfigMachineSelectorFileFileSourceSecretItem]
    Items(files) to retrieve from the K8s object
    name String
    The name of the cluster.
    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

    ClusterV2RkeConfigMachineSelectorFileFileSourceSecretItem, ClusterV2RkeConfigMachineSelectorFileFileSourceSecretItemArgs

    Key string
    The key of the item(file) to retrieve
    Path 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 string
    The key of the item(file) to retrieve
    Path 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 String
    The key of the item(file) to retrieve
    path 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 string
    The key of the item(file) to retrieve
    path 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 str
    The key of the item(file) to retrieve
    path 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 String
    The key of the item(file) to retrieve
    path 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

    ClusterV2RkeConfigMachineSelectorFileMachineLabelSelector, ClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorArgs

    MatchExpressions List<ClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorMatchExpression>
    Label selector match expressions
    MatchLabels Dictionary<string, string>
    Label selector match labels
    MatchExpressions []ClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorMatchExpression
    Label selector match expressions
    MatchLabels map[string]string
    Label selector match labels
    matchExpressions List<ClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorMatchExpression>
    Label selector match expressions
    matchLabels Map<String,String>
    Label selector match labels
    matchExpressions ClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorMatchExpression[]
    Label selector match expressions
    matchLabels {[key: string]: string}
    Label selector match labels
    match_expressions Sequence[ClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorMatchExpression]
    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

    ClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorMatchExpression, ClusterV2RkeConfigMachineSelectorFileMachineLabelSelectorMatchExpressionArgs

    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

    ClusterV2RkeConfigRegistries, ClusterV2RkeConfigRegistriesArgs

    ClusterV2RkeConfigRegistriesConfig, ClusterV2RkeConfigRegistriesConfigArgs

    Hostname 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 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 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 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 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 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

    ClusterV2RkeConfigRegistriesMirror, ClusterV2RkeConfigRegistriesMirrorArgs

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

    ClusterV2RkeConfigRotateCertificates, ClusterV2RkeConfigRotateCertificatesArgs

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

    ClusterV2RkeConfigUpgradeStrategy, ClusterV2RkeConfigUpgradeStrategyArgs

    ControlPlaneConcurrency string
    How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted
    ControlPlaneDrainOptions ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions
    Controlplane nodes drain options
    WorkerConcurrency string
    How many worker nodes should be upgrade at time
    WorkerDrainOptions ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions
    Worker nodes drain options
    ControlPlaneConcurrency string
    How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted
    ControlPlaneDrainOptions ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions
    Controlplane nodes drain options
    WorkerConcurrency string
    How many worker nodes should be upgrade at time
    WorkerDrainOptions ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions
    Worker nodes drain options
    controlPlaneConcurrency String
    How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted
    controlPlaneDrainOptions ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions
    Controlplane nodes drain options
    workerConcurrency String
    How many worker nodes should be upgrade at time
    workerDrainOptions ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions
    Worker nodes drain options
    controlPlaneConcurrency string
    How many controlplane nodes should be upgrade at time, 0 is infinite. Percentages are also accepted
    controlPlaneDrainOptions ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions
    Controlplane nodes drain options
    workerConcurrency string
    How many worker nodes should be upgrade at time
    workerDrainOptions ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions
    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 ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions
    Controlplane nodes drain options
    worker_concurrency str
    How many worker nodes should be upgrade at time
    worker_drain_options ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions
    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

    ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptions, ClusterV2RkeConfigUpgradeStrategyControlPlaneDrainOptionsArgs

    DeleteEmptyDirData bool
    Drain options delete empty dir data
    DisableEviction bool
    Drain options disable eviction
    Enabled bool
    Drain options enabled?
    Force bool
    Drain options force
    GracePeriod int
    Drain options grace period
    IgnoreDaemonSets bool
    Drain options ignore daemon sets
    IgnoreErrors bool
    Drain options ignore errors
    SkipWaitForDeleteTimeoutSeconds int
    Drain options skip wait for delete timeout seconds
    Timeout 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
    GracePeriod int
    Drain options grace period
    IgnoreDaemonSets bool
    Drain options ignore daemon sets
    IgnoreErrors bool
    Drain options ignore errors
    SkipWaitForDeleteTimeoutSeconds int
    Drain options skip wait for delete timeout seconds
    Timeout int
    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
    gracePeriod Integer
    Drain options grace period
    ignoreDaemonSets Boolean
    Drain options ignore daemon sets
    ignoreErrors Boolean
    Drain options ignore errors
    skipWaitForDeleteTimeoutSeconds Integer
    Drain options skip wait for delete timeout seconds
    timeout 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
    gracePeriod number
    Drain options grace period
    ignoreDaemonSets boolean
    Drain options ignore daemon sets
    ignoreErrors boolean
    Drain options ignore errors
    skipWaitForDeleteTimeoutSeconds number
    Drain options skip wait for delete timeout seconds
    timeout number
    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
    grace_period int
    Drain options grace period
    ignore_daemon_sets bool
    Drain options ignore daemon sets
    ignore_errors bool
    Drain options ignore errors
    skip_wait_for_delete_timeout_seconds int
    Drain options skip wait for delete timeout seconds
    timeout int
    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
    gracePeriod Number
    Drain options grace period
    ignoreDaemonSets Boolean
    Drain options ignore daemon sets
    ignoreErrors Boolean
    Drain options ignore errors
    skipWaitForDeleteTimeoutSeconds Number
    Drain options skip wait for delete timeout seconds
    timeout Number
    Drain options timeout

    ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptions, ClusterV2RkeConfigUpgradeStrategyWorkerDrainOptionsArgs

    DeleteEmptyDirData bool
    Drain options delete empty dir data
    DisableEviction bool
    Drain options disable eviction
    Enabled bool
    Drain options enabled?
    Force bool
    Drain options force
    GracePeriod int
    Drain options grace period
    IgnoreDaemonSets bool
    Drain options ignore daemon sets
    IgnoreErrors bool
    Drain options ignore errors
    SkipWaitForDeleteTimeoutSeconds int
    Drain options skip wait for delete timeout seconds
    Timeout 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
    GracePeriod int
    Drain options grace period
    IgnoreDaemonSets bool
    Drain options ignore daemon sets
    IgnoreErrors bool
    Drain options ignore errors
    SkipWaitForDeleteTimeoutSeconds int
    Drain options skip wait for delete timeout seconds
    Timeout int
    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
    gracePeriod Integer
    Drain options grace period
    ignoreDaemonSets Boolean
    Drain options ignore daemon sets
    ignoreErrors Boolean
    Drain options ignore errors
    skipWaitForDeleteTimeoutSeconds Integer
    Drain options skip wait for delete timeout seconds
    timeout 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
    gracePeriod number
    Drain options grace period
    ignoreDaemonSets boolean
    Drain options ignore daemon sets
    ignoreErrors boolean
    Drain options ignore errors
    skipWaitForDeleteTimeoutSeconds number
    Drain options skip wait for delete timeout seconds
    timeout number
    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
    grace_period int
    Drain options grace period
    ignore_daemon_sets bool
    Drain options ignore daemon sets
    ignore_errors bool
    Drain options ignore errors
    skip_wait_for_delete_timeout_seconds int
    Drain options skip wait for delete timeout seconds
    timeout int
    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
    gracePeriod Number
    Drain options grace period
    ignoreDaemonSets Boolean
    Drain options ignore daemon sets
    ignoreErrors Boolean
    Drain options ignore errors
    skipWaitForDeleteTimeoutSeconds Number
    Drain options skip wait for delete timeout seconds
    timeout Number
    Drain options timeout

    Package Details

    Repository
    Rancher2 pulumi/pulumi-rancher2
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the rancher2 Terraform Provider.
    rancher2 logo
    Rancher 2 v7.1.0 published on Friday, Sep 27, 2024 by Pulumi