published on Thursday, Sep 17, 2026 by Pulumi
published on Thursday, Sep 17, 2026 by Pulumi
Provides a Rancher v2 Cluster resource. This can be used to create imported Clusters for Rancher v2 environments and retrieve their information.
Hint: To create node-driver and custom RKE2 and K3s Clusters, use the Rancher v2 Cluster v2 resource instead.
Important:
Rancher Kubernetes Engine (RKE/RKE1) has reached end of life as of July 31, 2025. Rancher versions 2.12.0 and later no longer support provisioning or managing downstream RKE1 clusters. We recommend replatforming RKE1 clusters to RKE2 to ensure continued support and security updates. Learn more about the transition here.
Example Usage
Note optional/computed arguments If any optional/computed argument of this resource is defined by the user, removing it from tf file will NOT reset its value. To reset it, let its definition at tf file as empty/false object. Ex: cloudProvider {}, name = ""
Creating a Rancher v2 imported cluster and retrieving the registration commands
import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";
export = async () => {
// Create a new rancher2 imported Cluster
const foo_imported = new rancher2.Cluster("foo-imported", {
name: "foo-imported",
description: "Foo rancher2 imported cluster",
});
return {
"kubectl-command": [foo_imported.clusterRegistrationToken.command],
"insecure-kubectl-command": [foo_imported.clusterRegistrationToken.insecureCommand],
};
}
import pulumi
import pulumi_rancher2 as rancher2
# Create a new rancher2 imported Cluster
foo_imported = rancher2.Cluster("foo-imported",
name="foo-imported",
description="Foo rancher2 imported cluster")
pulumi.export("kubectl-command", [foo_imported.cluster_registration_token.command])
pulumi.export("insecure-kubectl-command", [foo_imported.cluster_registration_token.insecure_command])
package main
import (
"github.com/pulumi/pulumi-rancher2/sdk/v13/go/rancher2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a new rancher2 imported Cluster
foo_imported, err := rancher2.NewCluster(ctx, "foo-imported", &rancher2.ClusterArgs{
Name: pulumi.String("foo-imported"),
Description: pulumi.String("Foo rancher2 imported cluster"),
})
if err != nil {
return err
}
ctx.Export("kubectl-command", pulumi.StringArray{
foo_imported.ClusterRegistrationToken.Command(),
})
ctx.Export("insecure-kubectl-command", pulumi.StringArray{
foo_imported.ClusterRegistrationToken.InsecureCommand(),
})
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
return await Deployment.RunAsync(() =>
{
// Create a new rancher2 imported Cluster
var foo_imported = new Rancher2.Cluster("foo-imported", new()
{
Name = "foo-imported",
Description = "Foo rancher2 imported cluster",
});
return new Dictionary<string, object?>
{
["kubectl-command"] = new[]
{
foo_imported.ClusterRegistrationToken.Apply(clusterRegistrationToken => clusterRegistrationToken.Command),
},
["insecure-kubectl-command"] = new[]
{
foo_imported.ClusterRegistrationToken.Apply(clusterRegistrationToken => clusterRegistrationToken.InsecureCommand),
},
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rancher2.Cluster;
import com.pulumi.rancher2.ClusterArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Create a new rancher2 imported Cluster
var foo_imported = new Cluster("foo-imported", ClusterArgs.builder()
.name("foo-imported")
.description("Foo rancher2 imported cluster")
.build());
ctx.export("kubectl-command", foo_imported.clusterRegistrationToken().applyValue(_clusterRegistrationToken -> _clusterRegistrationToken.command()));
ctx.export("insecure-kubectl-command", foo_imported.clusterRegistrationToken().applyValue(_clusterRegistrationToken -> _clusterRegistrationToken.insecureCommand()));
}
}
resources:
# Create a new rancher2 imported Cluster
foo-imported:
type: rancher2:Cluster
properties:
name: foo-imported
description: Foo rancher2 imported cluster
outputs:
kubectl-command:
- ${["foo-imported"].clusterRegistrationToken.command}
insecure-kubectl-command:
- ${["foo-imported"].clusterRegistrationToken.insecureCommand}
pulumi {
required_providers {
rancher2 = {
source = "pulumi/rancher2"
}
}
}
# Create a new rancher2 imported Cluster
resource "rancher2_cluster" "foo-imported" {
name = "foo-imported"
description = "Foo rancher2 imported cluster"
}
output "kubectl-command" {
value = [rancher2_cluster.foo-imported.cluster_registration_token.command]
}
output "insecure-kubectl-command" {
value = [rancher2_cluster.foo-imported.cluster_registration_token.insecure_command]
}
Creating an imported cluster and configuring the version-management feature. For Rancher v2.11.0 and above.
The rancher.io/imported-cluster-version-management annotation controls the version-management feature for an imported cluster.
Expected values: “true”, “false”, or “system-default”.
import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";
// Create a new rancher2 imported Cluster
const foo_imported = new rancher2.Cluster("foo-imported", {
name: "foo-imported",
description: "Foo rancher2 imported cluster",
annotations: {
"rancher.io/imported-cluster-version-management": "false",
},
});
import pulumi
import pulumi_rancher2 as rancher2
# Create a new rancher2 imported Cluster
foo_imported = rancher2.Cluster("foo-imported",
name="foo-imported",
description="Foo rancher2 imported cluster",
annotations={
"rancher.io/imported-cluster-version-management": "false",
})
package main
import (
"github.com/pulumi/pulumi-rancher2/sdk/v13/go/rancher2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a new rancher2 imported Cluster
_, err := rancher2.NewCluster(ctx, "foo-imported", &rancher2.ClusterArgs{
Name: pulumi.String("foo-imported"),
Description: pulumi.String("Foo rancher2 imported cluster"),
Annotations: pulumi.StringMap{
"rancher.io/imported-cluster-version-management": pulumi.String("false"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
return await Deployment.RunAsync(() =>
{
// Create a new rancher2 imported Cluster
var foo_imported = new Rancher2.Cluster("foo-imported", new()
{
Name = "foo-imported",
Description = "Foo rancher2 imported cluster",
Annotations =
{
{ "rancher.io/imported-cluster-version-management", "false" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rancher2.Cluster;
import com.pulumi.rancher2.ClusterArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Create a new rancher2 imported Cluster
var foo_imported = new Cluster("foo-imported", ClusterArgs.builder()
.name("foo-imported")
.description("Foo rancher2 imported cluster")
.annotations(Map.of("rancher.io/imported-cluster-version-management", "false"))
.build());
}
}
resources:
# Create a new rancher2 imported Cluster
foo-imported:
type: rancher2:Cluster
properties:
name: foo-imported
description: Foo rancher2 imported cluster
annotations:
rancher.io/imported-cluster-version-management: 'false'
pulumi {
required_providers {
rancher2 = {
source = "pulumi/rancher2"
}
}
}
# Create a new rancher2 imported Cluster
resource "rancher2_cluster" "foo-imported" {
name = "foo-imported"
description = "Foo rancher2 imported cluster"
annotations = {
"rancher.io/imported-cluster-version-management" = "false"
}
}
Creating Rancher v2 imported cluster with custom configuration. For Rancher v2.11.0 and above.
This configuration can be used to indicate that system images (such as the rancher-agent) should be pulled from an unauthenticated private registry. This can be used for all imported cluster types, including imported hosted clusters (AKS, EKS, GKE).
import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";
// Create a new rancher2 imported Cluster with custom configuration
const foo_imported = new rancher2.Cluster("foo-imported", {
importedConfig: {
privateRegistryUrl: "test.io",
},
name: "foo-imported",
});
import pulumi
import pulumi_rancher2 as rancher2
# Create a new rancher2 imported Cluster with custom configuration
foo_imported = rancher2.Cluster("foo-imported",
imported_config={
"private_registry_url": "test.io",
},
name="foo-imported")
package main
import (
"github.com/pulumi/pulumi-rancher2/sdk/v13/go/rancher2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Create a new rancher2 imported Cluster with custom configuration
_, err := rancher2.NewCluster(ctx, "foo-imported", &rancher2.ClusterArgs{
ImportedConfig: &rancher2.ClusterImportedConfigArgs{
PrivateRegistryUrl: pulumi.String("test.io"),
},
Name: pulumi.String("foo-imported"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
return await Deployment.RunAsync(() =>
{
// Create a new rancher2 imported Cluster with custom configuration
var foo_imported = new Rancher2.Cluster("foo-imported", new()
{
ImportedConfig = new Rancher2.Inputs.ClusterImportedConfigArgs
{
PrivateRegistryUrl = "test.io",
},
Name = "foo-imported",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rancher2.Cluster;
import com.pulumi.rancher2.ClusterArgs;
import com.pulumi.rancher2.inputs.ClusterImportedConfigArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
// Create a new rancher2 imported Cluster with custom configuration
var foo_imported = new Cluster("foo-imported", ClusterArgs.builder()
.importedConfig(ClusterImportedConfigArgs.builder()
.privateRegistryUrl("test.io")
.build())
.name("foo-imported")
.build());
}
}
resources:
# Create a new rancher2 imported Cluster with custom configuration
foo-imported:
type: rancher2:Cluster
properties:
importedConfig:
privateRegistryUrl: test.io
name: foo-imported
pulumi {
required_providers {
rancher2 = {
source = "pulumi/rancher2"
}
}
}
# Create a new rancher2 imported Cluster with custom configuration
resource "rancher2_cluster" "foo-imported" {
imported_config = {
private_registry_url = "test.io"
}
name = "foo-imported"
}
Importing EKS cluster to Rancher v2, using eksConfigV2. For Rancher v2.5.x and above.
import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";
const foo = new rancher2.CloudCredential("foo", {
amazonec2CredentialConfig: {
accessKey: "<aws-access-key>",
secretKey: "<aws-secret-key>",
},
name: "foo",
description: "foo test",
});
const fooCluster = new rancher2.Cluster("foo", {
eksConfigV2: {
cloudCredentialId: foo.id,
name: "<cluster-name>",
region: "<eks-region>",
imported: true,
},
name: "foo",
description: "Terraform EKS cluster",
});
import pulumi
import pulumi_rancher2 as rancher2
foo = rancher2.CloudCredential("foo",
amazonec2_credential_config={
"access_key": "<aws-access-key>",
"secret_key": "<aws-secret-key>",
},
name="foo",
description="foo test")
foo_cluster = rancher2.Cluster("foo",
eks_config_v2={
"cloud_credential_id": foo.id,
"name": "<cluster-name>",
"region": "<eks-region>",
"imported": True,
},
name="foo",
description="Terraform EKS cluster")
package main
import (
"github.com/pulumi/pulumi-rancher2/sdk/v13/go/rancher2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
foo, err := rancher2.NewCloudCredential(ctx, "foo", &rancher2.CloudCredentialArgs{
Amazonec2CredentialConfig: &rancher2.CloudCredentialAmazonec2CredentialConfigArgs{
AccessKey: pulumi.String("<aws-access-key>"),
SecretKey: pulumi.String("<aws-secret-key>"),
},
Name: pulumi.String("foo"),
Description: pulumi.String("foo test"),
})
if err != nil {
return err
}
_, err = rancher2.NewCluster(ctx, "foo", &rancher2.ClusterArgs{
EksConfigV2: &rancher2.ClusterEksConfigV2Args{
CloudCredentialId: foo.ID().ToIDOutput().ToStringOutput(),
Name: pulumi.String("<cluster-name>"),
Region: pulumi.String("<eks-region>"),
Imported: pulumi.Bool(true),
},
Name: pulumi.String("foo"),
Description: pulumi.String("Terraform EKS cluster"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
return await Deployment.RunAsync(() =>
{
var foo = new Rancher2.CloudCredential("foo", new()
{
Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs
{
AccessKey = "<aws-access-key>",
SecretKey = "<aws-secret-key>",
},
Name = "foo",
Description = "foo test",
});
var fooCluster = new Rancher2.Cluster("foo", new()
{
EksConfigV2 = new Rancher2.Inputs.ClusterEksConfigV2Args
{
CloudCredentialId = foo.Id,
Name = "<cluster-name>",
Region = "<eks-region>",
Imported = true,
},
Name = "foo",
Description = "Terraform EKS cluster",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rancher2.CloudCredential;
import com.pulumi.rancher2.CloudCredentialArgs;
import com.pulumi.rancher2.inputs.CloudCredentialAmazonec2CredentialConfigArgs;
import com.pulumi.rancher2.Cluster;
import com.pulumi.rancher2.ClusterArgs;
import com.pulumi.rancher2.inputs.ClusterEksConfigV2Args;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foo = new CloudCredential("foo", CloudCredentialArgs.builder()
.amazonec2CredentialConfig(CloudCredentialAmazonec2CredentialConfigArgs.builder()
.accessKey("<aws-access-key>")
.secretKey("<aws-secret-key>")
.build())
.name("foo")
.description("foo test")
.build());
var fooCluster = new Cluster("fooCluster", ClusterArgs.builder()
.eksConfigV2(ClusterEksConfigV2Args.builder()
.cloudCredentialId(foo.id())
.name("<cluster-name>")
.region("<eks-region>")
.imported(true)
.build())
.name("foo")
.description("Terraform EKS cluster")
.build());
}
}
resources:
foo:
type: rancher2:CloudCredential
properties:
amazonec2CredentialConfig:
accessKey: <aws-access-key>
secretKey: <aws-secret-key>
name: foo
description: foo test
fooCluster:
type: rancher2:Cluster
name: foo
properties:
eksConfigV2:
cloudCredentialId: ${foo.id}
name: <cluster-name>
region: <eks-region>
imported: true
name: foo
description: Terraform EKS cluster
pulumi {
required_providers {
rancher2 = {
source = "pulumi/rancher2"
}
}
}
resource "rancher2_cloudcredential" "foo" {
amazonec2_credential_config = {
access_key = "<aws-access-key>"
secret_key = "<aws-secret-key>"
}
name = "foo"
description = "foo test"
}
resource "rancher2_cluster" "foo" {
eks_config_v2 = {
cloud_credential_id = rancher2_cloudcredential.foo.id
name = "<cluster-name>"
region = "<eks-region>"
imported = true
}
name = "foo"
description = "Terraform EKS cluster"
}
Creating EKS cluster from Rancher v2, using eksConfigV2. For Rancher v2.5.x and above.
import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";
const foo = new rancher2.CloudCredential("foo", {
amazonec2CredentialConfig: {
accessKey: "<aws-access-key>",
secretKey: "<aws-secret-key>",
},
name: "foo",
description: "foo test",
});
const fooCluster = new rancher2.Cluster("foo", {
eksConfigV2: {
nodeGroups: [
{
name: "node_group1",
instanceType: "t3.medium",
desiredSize: 3,
maxSize: 5,
},
{
name: "node_group2",
instanceType: "m5.xlarge",
desiredSize: 2,
maxSize: 3,
nodeRole: "arn:aws:iam::role/test-NodeInstanceRole",
},
],
cloudCredentialId: foo.id,
region: "<EKS_REGION>",
kubernetesVersion: "1.24",
loggingTypes: [
"audit",
"api",
],
privateAccess: true,
publicAccess: false,
},
name: "foo",
description: "Terraform EKS cluster",
});
import pulumi
import pulumi_rancher2 as rancher2
foo = rancher2.CloudCredential("foo",
amazonec2_credential_config={
"access_key": "<aws-access-key>",
"secret_key": "<aws-secret-key>",
},
name="foo",
description="foo test")
foo_cluster = rancher2.Cluster("foo",
eks_config_v2={
"node_groups": [
{
"name": "node_group1",
"instance_type": "t3.medium",
"desired_size": 3,
"max_size": 5,
},
{
"name": "node_group2",
"instance_type": "m5.xlarge",
"desired_size": 2,
"max_size": 3,
"node_role": "arn:aws:iam::role/test-NodeInstanceRole",
},
],
"cloud_credential_id": foo.id,
"region": "<EKS_REGION>",
"kubernetes_version": "1.24",
"logging_types": [
"audit",
"api",
],
"private_access": True,
"public_access": False,
},
name="foo",
description="Terraform EKS cluster")
package main
import (
"github.com/pulumi/pulumi-rancher2/sdk/v13/go/rancher2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
foo, err := rancher2.NewCloudCredential(ctx, "foo", &rancher2.CloudCredentialArgs{
Amazonec2CredentialConfig: &rancher2.CloudCredentialAmazonec2CredentialConfigArgs{
AccessKey: pulumi.String("<aws-access-key>"),
SecretKey: pulumi.String("<aws-secret-key>"),
},
Name: pulumi.String("foo"),
Description: pulumi.String("foo test"),
})
if err != nil {
return err
}
_, err = rancher2.NewCluster(ctx, "foo", &rancher2.ClusterArgs{
EksConfigV2: &rancher2.ClusterEksConfigV2Args{
NodeGroups: rancher2.ClusterEksConfigV2NodeGroupArray{
&rancher2.ClusterEksConfigV2NodeGroupArgs{
Name: pulumi.String("node_group1"),
InstanceType: pulumi.String("t3.medium"),
DesiredSize: pulumi.Int(3),
MaxSize: pulumi.Int(5),
},
&rancher2.ClusterEksConfigV2NodeGroupArgs{
Name: pulumi.String("node_group2"),
InstanceType: pulumi.String("m5.xlarge"),
DesiredSize: pulumi.Int(2),
MaxSize: pulumi.Int(3),
NodeRole: pulumi.String("arn:aws:iam::role/test-NodeInstanceRole"),
},
},
CloudCredentialId: foo.ID().ToIDOutput().ToStringOutput(),
Region: pulumi.String("<EKS_REGION>"),
KubernetesVersion: pulumi.String("1.24"),
LoggingTypes: pulumi.StringArray{
pulumi.String("audit"),
pulumi.String("api"),
},
PrivateAccess: pulumi.Bool(true),
PublicAccess: pulumi.Bool(false),
},
Name: pulumi.String("foo"),
Description: pulumi.String("Terraform EKS cluster"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
return await Deployment.RunAsync(() =>
{
var foo = new Rancher2.CloudCredential("foo", new()
{
Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs
{
AccessKey = "<aws-access-key>",
SecretKey = "<aws-secret-key>",
},
Name = "foo",
Description = "foo test",
});
var fooCluster = new Rancher2.Cluster("foo", new()
{
EksConfigV2 = new Rancher2.Inputs.ClusterEksConfigV2Args
{
NodeGroups = new[]
{
new Rancher2.Inputs.ClusterEksConfigV2NodeGroupArgs
{
Name = "node_group1",
InstanceType = "t3.medium",
DesiredSize = 3,
MaxSize = 5,
},
new Rancher2.Inputs.ClusterEksConfigV2NodeGroupArgs
{
Name = "node_group2",
InstanceType = "m5.xlarge",
DesiredSize = 2,
MaxSize = 3,
NodeRole = "arn:aws:iam::role/test-NodeInstanceRole",
},
},
CloudCredentialId = foo.Id,
Region = "<EKS_REGION>",
KubernetesVersion = "1.24",
LoggingTypes = new[]
{
"audit",
"api",
},
PrivateAccess = true,
PublicAccess = false,
},
Name = "foo",
Description = "Terraform EKS cluster",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rancher2.CloudCredential;
import com.pulumi.rancher2.CloudCredentialArgs;
import com.pulumi.rancher2.inputs.CloudCredentialAmazonec2CredentialConfigArgs;
import com.pulumi.rancher2.Cluster;
import com.pulumi.rancher2.ClusterArgs;
import com.pulumi.rancher2.inputs.ClusterEksConfigV2Args;
import com.pulumi.rancher2.inputs.ClusterEksConfigV2NodeGroupArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foo = new CloudCredential("foo", CloudCredentialArgs.builder()
.amazonec2CredentialConfig(CloudCredentialAmazonec2CredentialConfigArgs.builder()
.accessKey("<aws-access-key>")
.secretKey("<aws-secret-key>")
.build())
.name("foo")
.description("foo test")
.build());
var fooCluster = new Cluster("fooCluster", ClusterArgs.builder()
.eksConfigV2(ClusterEksConfigV2Args.builder()
.nodeGroups(
ClusterEksConfigV2NodeGroupArgs.builder()
.name("node_group1")
.instanceType("t3.medium")
.desiredSize(3)
.maxSize(5)
.build(),
ClusterEksConfigV2NodeGroupArgs.builder()
.name("node_group2")
.instanceType("m5.xlarge")
.desiredSize(2)
.maxSize(3)
.nodeRole("arn:aws:iam::role/test-NodeInstanceRole")
.build())
.cloudCredentialId(foo.id())
.region("<EKS_REGION>")
.kubernetesVersion("1.24")
.loggingTypes(
"audit",
"api")
.privateAccess(true)
.publicAccess(false)
.build())
.name("foo")
.description("Terraform EKS cluster")
.build());
}
}
resources:
foo:
type: rancher2:CloudCredential
properties:
amazonec2CredentialConfig:
accessKey: <aws-access-key>
secretKey: <aws-secret-key>
name: foo
description: foo test
fooCluster:
type: rancher2:Cluster
name: foo
properties:
eksConfigV2:
nodeGroups:
- name: node_group1
instanceType: t3.medium
desiredSize: 3
maxSize: 5
- name: node_group2
instanceType: m5.xlarge
desiredSize: 2
maxSize: 3
nodeRole: arn:aws:iam::role/test-NodeInstanceRole
cloudCredentialId: ${foo.id}
region: <EKS_REGION>
kubernetesVersion: '1.24'
loggingTypes:
- audit
- api
privateAccess: true
publicAccess: false
name: foo
description: Terraform EKS cluster
pulumi {
required_providers {
rancher2 = {
source = "pulumi/rancher2"
}
}
}
resource "rancher2_cloudcredential" "foo" {
amazonec2_credential_config = {
access_key = "<aws-access-key>"
secret_key = "<aws-secret-key>"
}
name = "foo"
description = "foo test"
}
resource "rancher2_cluster" "foo" {
eks_config_v2 = {
node_groups = [{
"name" = "node_group1"
"instanceType" = "t3.medium"
"desiredSize" = 3
"maxSize" = 5
}, {
"name" = "node_group2"
"instanceType" = "m5.xlarge"
"desiredSize" = 2
"maxSize" = 3
"nodeRole" = "arn:aws:iam::role/test-NodeInstanceRole"
}]
cloud_credential_id = rancher2_cloudcredential.foo.id
region = "<EKS_REGION>"
kubernetes_version = "1.24"
logging_types = ["audit", "api"]
private_access = true
public_access = false
}
name = "foo"
description = "Terraform EKS cluster"
}
Creating EKS cluster from Rancher v2, using eksConfigV2 and launch template. For Rancher v2.5.6 and above.
Note: To use launchTemplate you must provide the ID (seen as <EC2_LAUNCH_TEMPLATE_ID>) to the template either as a static value. Or fetched via AWS data-source using one of: aws_ami, aws_ami_ids, or similar data-sources. You can also create a custom launchTemplate first and provide the ID to that.
import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";
const foo = new rancher2.CloudCredential("foo", {
amazonec2CredentialConfig: {
accessKey: "<aws-access-key>",
secretKey: "<aws-secret-key>",
},
name: "foo",
description: "foo test",
});
const fooCluster = new rancher2.Cluster("foo", {
eksConfigV2: {
nodeGroups: [{
launchTemplates: [{
id: "<ec2-launch-template-id>",
version: 1,
}],
desiredSize: 3,
maxSize: 5,
name: "node_group1",
}],
cloudCredentialId: foo.id,
region: "<EKS_REGION>",
kubernetesVersion: "1.24",
loggingTypes: [
"audit",
"api",
],
privateAccess: true,
publicAccess: true,
},
name: "foo",
description: "Terraform EKS cluster",
});
import pulumi
import pulumi_rancher2 as rancher2
foo = rancher2.CloudCredential("foo",
amazonec2_credential_config={
"access_key": "<aws-access-key>",
"secret_key": "<aws-secret-key>",
},
name="foo",
description="foo test")
foo_cluster = rancher2.Cluster("foo",
eks_config_v2={
"node_groups": [{
"launch_templates": [{
"id": "<ec2-launch-template-id>",
"version": 1,
}],
"desired_size": 3,
"max_size": 5,
"name": "node_group1",
}],
"cloud_credential_id": foo.id,
"region": "<EKS_REGION>",
"kubernetes_version": "1.24",
"logging_types": [
"audit",
"api",
],
"private_access": True,
"public_access": True,
},
name="foo",
description="Terraform EKS cluster")
package main
import (
"github.com/pulumi/pulumi-rancher2/sdk/v13/go/rancher2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
foo, err := rancher2.NewCloudCredential(ctx, "foo", &rancher2.CloudCredentialArgs{
Amazonec2CredentialConfig: &rancher2.CloudCredentialAmazonec2CredentialConfigArgs{
AccessKey: pulumi.String("<aws-access-key>"),
SecretKey: pulumi.String("<aws-secret-key>"),
},
Name: pulumi.String("foo"),
Description: pulumi.String("foo test"),
})
if err != nil {
return err
}
_, err = rancher2.NewCluster(ctx, "foo", &rancher2.ClusterArgs{
EksConfigV2: &rancher2.ClusterEksConfigV2Args{
NodeGroups: rancher2.ClusterEksConfigV2NodeGroupArray{
&rancher2.ClusterEksConfigV2NodeGroupArgs{
LaunchTemplates: rancher2.ClusterEksConfigV2NodeGroupLaunchTemplateArray{
&rancher2.ClusterEksConfigV2NodeGroupLaunchTemplateArgs{
Id: pulumi.String("<ec2-launch-template-id>"),
Version: pulumi.Int(1),
},
},
DesiredSize: pulumi.Int(3),
MaxSize: pulumi.Int(5),
Name: pulumi.String("node_group1"),
},
},
CloudCredentialId: foo.ID().ToIDOutput().ToStringOutput(),
Region: pulumi.String("<EKS_REGION>"),
KubernetesVersion: pulumi.String("1.24"),
LoggingTypes: pulumi.StringArray{
pulumi.String("audit"),
pulumi.String("api"),
},
PrivateAccess: pulumi.Bool(true),
PublicAccess: pulumi.Bool(true),
},
Name: pulumi.String("foo"),
Description: pulumi.String("Terraform EKS cluster"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
return await Deployment.RunAsync(() =>
{
var foo = new Rancher2.CloudCredential("foo", new()
{
Amazonec2CredentialConfig = new Rancher2.Inputs.CloudCredentialAmazonec2CredentialConfigArgs
{
AccessKey = "<aws-access-key>",
SecretKey = "<aws-secret-key>",
},
Name = "foo",
Description = "foo test",
});
var fooCluster = new Rancher2.Cluster("foo", new()
{
EksConfigV2 = new Rancher2.Inputs.ClusterEksConfigV2Args
{
NodeGroups = new[]
{
new Rancher2.Inputs.ClusterEksConfigV2NodeGroupArgs
{
LaunchTemplates = new[]
{
new Rancher2.Inputs.ClusterEksConfigV2NodeGroupLaunchTemplateArgs
{
Id = "<ec2-launch-template-id>",
Version = 1,
},
},
DesiredSize = 3,
MaxSize = 5,
Name = "node_group1",
},
},
CloudCredentialId = foo.Id,
Region = "<EKS_REGION>",
KubernetesVersion = "1.24",
LoggingTypes = new[]
{
"audit",
"api",
},
PrivateAccess = true,
PublicAccess = true,
},
Name = "foo",
Description = "Terraform EKS cluster",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rancher2.CloudCredential;
import com.pulumi.rancher2.CloudCredentialArgs;
import com.pulumi.rancher2.inputs.CloudCredentialAmazonec2CredentialConfigArgs;
import com.pulumi.rancher2.Cluster;
import com.pulumi.rancher2.ClusterArgs;
import com.pulumi.rancher2.inputs.ClusterEksConfigV2Args;
import com.pulumi.rancher2.inputs.ClusterEksConfigV2NodeGroupArgs;
import com.pulumi.rancher2.inputs.ClusterEksConfigV2NodeGroupLaunchTemplateArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foo = new CloudCredential("foo", CloudCredentialArgs.builder()
.amazonec2CredentialConfig(CloudCredentialAmazonec2CredentialConfigArgs.builder()
.accessKey("<aws-access-key>")
.secretKey("<aws-secret-key>")
.build())
.name("foo")
.description("foo test")
.build());
var fooCluster = new Cluster("fooCluster", ClusterArgs.builder()
.eksConfigV2(ClusterEksConfigV2Args.builder()
.nodeGroups(ClusterEksConfigV2NodeGroupArgs.builder()
.launchTemplates(ClusterEksConfigV2NodeGroupLaunchTemplateArgs.builder()
.id("<ec2-launch-template-id>")
.version(1)
.build())
.desiredSize(3)
.maxSize(5)
.name("node_group1")
.build())
.cloudCredentialId(foo.id())
.region("<EKS_REGION>")
.kubernetesVersion("1.24")
.loggingTypes(
"audit",
"api")
.privateAccess(true)
.publicAccess(true)
.build())
.name("foo")
.description("Terraform EKS cluster")
.build());
}
}
resources:
foo:
type: rancher2:CloudCredential
properties:
amazonec2CredentialConfig:
accessKey: <aws-access-key>
secretKey: <aws-secret-key>
name: foo
description: foo test
fooCluster:
type: rancher2:Cluster
name: foo
properties:
eksConfigV2:
nodeGroups:
- launchTemplates:
- id: <ec2-launch-template-id>
version: 1
desiredSize: 3
maxSize: 5
name: node_group1
cloudCredentialId: ${foo.id}
region: <EKS_REGION>
kubernetesVersion: '1.24'
loggingTypes:
- audit
- api
privateAccess: true
publicAccess: true
name: foo
description: Terraform EKS cluster
pulumi {
required_providers {
rancher2 = {
source = "pulumi/rancher2"
}
}
}
resource "rancher2_cloudcredential" "foo" {
amazonec2_credential_config = {
access_key = "<aws-access-key>"
secret_key = "<aws-secret-key>"
}
name = "foo"
description = "foo test"
}
resource "rancher2_cluster" "foo" {
eks_config_v2 = {
node_groups = [{
"launchTemplates" = [{
"id" = "<ec2-launch-template-id>"
"version" = 1
}]
"desiredSize" = 3
"maxSize" = 5
"name" = "node_group1"
}]
cloud_credential_id = rancher2_cloudcredential.foo.id
region = "<EKS_REGION>"
kubernetes_version = "1.24"
logging_types = ["audit", "api"]
private_access = true
public_access = true
}
name = "foo"
description = "Terraform EKS cluster"
}
Creating AKS cluster from Rancher v2, using aksConfigV2. For Rancher v2.6.0 and above.
import * as pulumi from "@pulumi/pulumi";
import * as rancher2 from "@pulumi/rancher2";
const foo_aks = new rancher2.CloudCredential("foo-aks", {
azureCredentialConfig: {
clientId: "<client-id>",
clientSecret: "<client-secret>",
subscriptionId: "<subscription-id>",
},
name: "foo-aks",
});
const foo = new rancher2.Cluster("foo", {
aksConfigV2: {
nodePools: [
{
availabilityZones: [
"1",
"2",
"3",
],
name: "<nodepool-name-1>",
mode: "System",
count: 1,
orchestratorVersion: "1.21.2",
osDiskSizeGb: 128,
vmSize: "Standard_DS2_v2",
},
{
availabilityZones: [
"1",
"2",
"3",
],
name: "<nodepool-name-2>",
count: 1,
mode: "User",
orchestratorVersion: "1.21.2",
osDiskSizeGb: 128,
vmSize: "Standard_DS2_v2",
maxSurge: "25%",
labels: {
test1: "data1",
test2: "data2",
},
taints: ["none:PreferNoSchedule"],
},
],
cloudCredentialId: foo_aks.id,
resourceGroup: "<resource-group>",
resourceLocation: "<resource-location>",
dnsPrefix: "<dns-prefix>",
kubernetesVersion: "1.24.6",
networkPlugin: "<network-plugin>",
virtualNetwork: "<virtual-network>",
virtualNetworkResourceGroup: "<virtual-network-resource-group>",
subnet: "<subnet>",
nodeResourceGroup: "<node-resource-group>",
outboundType: "loadBalancer",
},
name: "foo",
description: "Terraform AKS cluster",
});
import pulumi
import pulumi_rancher2 as rancher2
foo_aks = rancher2.CloudCredential("foo-aks",
azure_credential_config={
"client_id": "<client-id>",
"client_secret": "<client-secret>",
"subscription_id": "<subscription-id>",
},
name="foo-aks")
foo = rancher2.Cluster("foo",
aks_config_v2={
"node_pools": [
{
"availability_zones": [
"1",
"2",
"3",
],
"name": "<nodepool-name-1>",
"mode": "System",
"count": 1,
"orchestrator_version": "1.21.2",
"os_disk_size_gb": 128,
"vm_size": "Standard_DS2_v2",
},
{
"availability_zones": [
"1",
"2",
"3",
],
"name": "<nodepool-name-2>",
"count": 1,
"mode": "User",
"orchestrator_version": "1.21.2",
"os_disk_size_gb": 128,
"vm_size": "Standard_DS2_v2",
"max_surge": "25%",
"labels": {
"test1": "data1",
"test2": "data2",
},
"taints": ["none:PreferNoSchedule"],
},
],
"cloud_credential_id": foo_aks.id,
"resource_group": "<resource-group>",
"resource_location": "<resource-location>",
"dns_prefix": "<dns-prefix>",
"kubernetes_version": "1.24.6",
"network_plugin": "<network-plugin>",
"virtual_network": "<virtual-network>",
"virtual_network_resource_group": "<virtual-network-resource-group>",
"subnet": "<subnet>",
"node_resource_group": "<node-resource-group>",
"outbound_type": "loadBalancer",
},
name="foo",
description="Terraform AKS cluster")
package main
import (
"github.com/pulumi/pulumi-rancher2/sdk/v13/go/rancher2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
foo_aks, err := rancher2.NewCloudCredential(ctx, "foo-aks", &rancher2.CloudCredentialArgs{
AzureCredentialConfig: &rancher2.CloudCredentialAzureCredentialConfigArgs{
ClientId: pulumi.String("<client-id>"),
ClientSecret: pulumi.String("<client-secret>"),
SubscriptionId: pulumi.String("<subscription-id>"),
},
Name: pulumi.String("foo-aks"),
})
if err != nil {
return err
}
_, err = rancher2.NewCluster(ctx, "foo", &rancher2.ClusterArgs{
AksConfigV2: &rancher2.ClusterAksConfigV2Args{
NodePools: rancher2.ClusterAksConfigV2NodePoolArray{
&rancher2.ClusterAksConfigV2NodePoolArgs{
AvailabilityZones: pulumi.StringArray{
pulumi.String("1"),
pulumi.String("2"),
pulumi.String("3"),
},
Name: pulumi.String("<nodepool-name-1>"),
Mode: pulumi.String("System"),
Count: pulumi.Int(1),
OrchestratorVersion: pulumi.String("1.21.2"),
OsDiskSizeGb: pulumi.Int(128),
VmSize: pulumi.String("Standard_DS2_v2"),
},
&rancher2.ClusterAksConfigV2NodePoolArgs{
AvailabilityZones: pulumi.StringArray{
pulumi.String("1"),
pulumi.String("2"),
pulumi.String("3"),
},
Name: pulumi.String("<nodepool-name-2>"),
Count: pulumi.Int(1),
Mode: pulumi.String("User"),
OrchestratorVersion: pulumi.String("1.21.2"),
OsDiskSizeGb: pulumi.Int(128),
VmSize: pulumi.String("Standard_DS2_v2"),
MaxSurge: pulumi.String("25%"),
Labels: pulumi.StringMap{
"test1": pulumi.String("data1"),
"test2": pulumi.String("data2"),
},
Taints: pulumi.StringArray{
pulumi.String("none:PreferNoSchedule"),
},
},
},
CloudCredentialId: foo_aks.ID().ToIDOutput().ToStringOutput(),
ResourceGroup: pulumi.String("<resource-group>"),
ResourceLocation: pulumi.String("<resource-location>"),
DnsPrefix: pulumi.String("<dns-prefix>"),
KubernetesVersion: pulumi.String("1.24.6"),
NetworkPlugin: pulumi.String("<network-plugin>"),
VirtualNetwork: pulumi.String("<virtual-network>"),
VirtualNetworkResourceGroup: pulumi.String("<virtual-network-resource-group>"),
Subnet: pulumi.String("<subnet>"),
NodeResourceGroup: pulumi.String("<node-resource-group>"),
OutboundType: pulumi.String("loadBalancer"),
},
Name: pulumi.String("foo"),
Description: pulumi.String("Terraform AKS cluster"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Rancher2 = Pulumi.Rancher2;
return await Deployment.RunAsync(() =>
{
var foo_aks = new Rancher2.CloudCredential("foo-aks", new()
{
AzureCredentialConfig = new Rancher2.Inputs.CloudCredentialAzureCredentialConfigArgs
{
ClientId = "<client-id>",
ClientSecret = "<client-secret>",
SubscriptionId = "<subscription-id>",
},
Name = "foo-aks",
});
var foo = new Rancher2.Cluster("foo", new()
{
AksConfigV2 = new Rancher2.Inputs.ClusterAksConfigV2Args
{
NodePools = new[]
{
new Rancher2.Inputs.ClusterAksConfigV2NodePoolArgs
{
AvailabilityZones = new[]
{
"1",
"2",
"3",
},
Name = "<nodepool-name-1>",
Mode = "System",
Count = 1,
OrchestratorVersion = "1.21.2",
OsDiskSizeGb = 128,
VmSize = "Standard_DS2_v2",
},
new Rancher2.Inputs.ClusterAksConfigV2NodePoolArgs
{
AvailabilityZones = new[]
{
"1",
"2",
"3",
},
Name = "<nodepool-name-2>",
Count = 1,
Mode = "User",
OrchestratorVersion = "1.21.2",
OsDiskSizeGb = 128,
VmSize = "Standard_DS2_v2",
MaxSurge = "25%",
Labels =
{
{ "test1", "data1" },
{ "test2", "data2" },
},
Taints = new[]
{
"none:PreferNoSchedule",
},
},
},
CloudCredentialId = foo_aks.Id,
ResourceGroup = "<resource-group>",
ResourceLocation = "<resource-location>",
DnsPrefix = "<dns-prefix>",
KubernetesVersion = "1.24.6",
NetworkPlugin = "<network-plugin>",
VirtualNetwork = "<virtual-network>",
VirtualNetworkResourceGroup = "<virtual-network-resource-group>",
Subnet = "<subnet>",
NodeResourceGroup = "<node-resource-group>",
OutboundType = "loadBalancer",
},
Name = "foo",
Description = "Terraform AKS cluster",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.rancher2.CloudCredential;
import com.pulumi.rancher2.CloudCredentialArgs;
import com.pulumi.rancher2.inputs.CloudCredentialAzureCredentialConfigArgs;
import com.pulumi.rancher2.Cluster;
import com.pulumi.rancher2.ClusterArgs;
import com.pulumi.rancher2.inputs.ClusterAksConfigV2Args;
import com.pulumi.rancher2.inputs.ClusterAksConfigV2NodePoolArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foo_aks = new CloudCredential("foo-aks", CloudCredentialArgs.builder()
.azureCredentialConfig(CloudCredentialAzureCredentialConfigArgs.builder()
.clientId("<client-id>")
.clientSecret("<client-secret>")
.subscriptionId("<subscription-id>")
.build())
.name("foo-aks")
.build());
var foo = new Cluster("foo", ClusterArgs.builder()
.aksConfigV2(ClusterAksConfigV2Args.builder()
.nodePools(
ClusterAksConfigV2NodePoolArgs.builder()
.availabilityZones(
"1",
"2",
"3")
.name("<nodepool-name-1>")
.mode("System")
.count(1)
.orchestratorVersion("1.21.2")
.osDiskSizeGb(128)
.vmSize("Standard_DS2_v2")
.build(),
ClusterAksConfigV2NodePoolArgs.builder()
.availabilityZones(
"1",
"2",
"3")
.name("<nodepool-name-2>")
.count(1)
.mode("User")
.orchestratorVersion("1.21.2")
.osDiskSizeGb(128)
.vmSize("Standard_DS2_v2")
.maxSurge("25%")
.labels(Map.ofEntries(
Map.entry("test1", "data1"),
Map.entry("test2", "data2")
))
.taints("none:PreferNoSchedule")
.build())
.cloudCredentialId(foo_aks.id())
.resourceGroup("<resource-group>")
.resourceLocation("<resource-location>")
.dnsPrefix("<dns-prefix>")
.kubernetesVersion("1.24.6")
.networkPlugin("<network-plugin>")
.virtualNetwork("<virtual-network>")
.virtualNetworkResourceGroup("<virtual-network-resource-group>")
.subnet("<subnet>")
.nodeResourceGroup("<node-resource-group>")
.outboundType("loadBalancer")
.build())
.name("foo")
.description("Terraform AKS cluster")
.build());
}
}
resources:
foo-aks:
type: rancher2:CloudCredential
properties:
azureCredentialConfig:
clientId: <client-id>
clientSecret: <client-secret>
subscriptionId: <subscription-id>
name: foo-aks
foo:
type: rancher2:Cluster
properties:
aksConfigV2:
nodePools:
- availabilityZones:
- '1'
- '2'
- '3'
name: <nodepool-name-1>
mode: System
count: 1
orchestratorVersion: 1.21.2
osDiskSizeGb: 128
vmSize: Standard_DS2_v2
- availabilityZones:
- '1'
- '2'
- '3'
name: <nodepool-name-2>
count: 1
mode: User
orchestratorVersion: 1.21.2
osDiskSizeGb: 128
vmSize: Standard_DS2_v2
maxSurge: 25%
labels:
test1: data1
test2: data2
taints:
- none:PreferNoSchedule
cloudCredentialId: ${["foo-aks"].id}
resourceGroup: <resource-group>
resourceLocation: <resource-location>
dnsPrefix: <dns-prefix>
kubernetesVersion: 1.24.6
networkPlugin: <network-plugin>
virtualNetwork: <virtual-network>
virtualNetworkResourceGroup: <virtual-network-resource-group>
subnet: <subnet>
nodeResourceGroup: <node-resource-group>
outboundType: loadBalancer
name: foo
description: Terraform AKS cluster
pulumi {
required_providers {
rancher2 = {
source = "pulumi/rancher2"
}
}
}
resource "rancher2_cloudcredential" "foo-aks" {
azure_credential_config = {
client_id = "<client-id>"
client_secret = "<client-secret>"
subscription_id = "<subscription-id>"
}
name = "foo-aks"
}
resource "rancher2_cluster" "foo" {
aks_config_v2 = {
node_pools = [{
"availabilityZones" = ["1", "2", "3"]
"name" = "<nodepool-name-1>"
"mode" = "System"
"count" = 1
"orchestratorVersion" = "1.21.2"
"osDiskSizeGb" = 128
"vmSize" = "Standard_DS2_v2"
}, {
"availabilityZones" = ["1", "2", "3"]
"name" = "<nodepool-name-2>"
"count" = 1
"mode" = "User"
"orchestratorVersion" = "1.21.2"
"osDiskSizeGb" = 128
"vmSize" = "Standard_DS2_v2"
"maxSurge" = "25%"
"labels" = {
"test1" = "data1"
"test2" = "data2"
}
"taints" = ["none:PreferNoSchedule"]
}]
cloud_credential_id = rancher2_cloudcredential.foo-aks.id
resource_group = "<resource-group>"
resource_location = "<resource-location>"
dns_prefix = "<dns-prefix>"
kubernetes_version = "1.24.6"
network_plugin = "<network-plugin>"
virtual_network = "<virtual-network>"
virtual_network_resource_group = "<virtual-network-resource-group>"
subnet = "<subnet>"
node_resource_group = "<node-resource-group>"
outbound_type = "loadBalancer"
}
name = "foo"
description = "Terraform AKS cluster"
}
Create Cluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Cluster(name: string, args?: ClusterArgs, opts?: CustomResourceOptions);@overload
def Cluster(resource_name: str,
args: Optional[ClusterArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Cluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
agent_env_vars: Optional[Sequence[ClusterAgentEnvVarArgs]] = None,
aks_config_v2: Optional[ClusterAksConfigV2Args] = None,
annotations: Optional[Mapping[str, str]] = None,
cluster_agent_deployment_customizations: Optional[Sequence[ClusterClusterAgentDeploymentCustomizationArgs]] = None,
cluster_auth_endpoint: Optional[ClusterClusterAuthEndpointArgs] = None,
default_pod_security_admission_configuration_template_name: Optional[str] = None,
description: Optional[str] = None,
desired_agent_image: Optional[str] = None,
desired_auth_image: Optional[str] = None,
docker_root_dir: Optional[str] = None,
driver: Optional[str] = None,
eks_config_v2: Optional[ClusterEksConfigV2Args] = None,
enable_network_policy: Optional[bool] = None,
fleet_agent_deployment_customizations: Optional[Sequence[ClusterFleetAgentDeploymentCustomizationArgs]] = None,
fleet_workspace_name: Optional[str] = None,
gke_config_v2: Optional[ClusterGkeConfigV2Args] = None,
imported_config: Optional[ClusterImportedConfigArgs] = None,
k3s_config: Optional[ClusterK3sConfigArgs] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
oke_config: Optional[ClusterOkeConfigArgs] = None,
rke2_config: Optional[ClusterRke2ConfigArgs] = None,
windows_prefered_cluster: Optional[bool] = None)func NewCluster(ctx *Context, name string, args *ClusterArgs, opts ...ResourceOption) (*Cluster, error)public Cluster(string name, ClusterArgs? args = null, CustomResourceOptions? opts = null)
public Cluster(String name, ClusterArgs args)
public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
type: rancher2:Cluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "rancher2_cluster" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ClusterArgs
- 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 ClusterArgs
- 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 ClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterArgs
- 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 clusterResource = new Rancher2.Cluster("clusterResource", new()
{
AgentEnvVars = new[]
{
new Rancher2.Inputs.ClusterAgentEnvVarArgs
{
Name = "string",
Value = "string",
},
},
AksConfigV2 = new Rancher2.Inputs.ClusterAksConfigV2Args
{
CloudCredentialId = "string",
ResourceLocation = "string",
ResourceGroup = "string",
Name = "string",
NetworkDockerBridgeCidr = "string",
HttpApplicationRouting = false,
Imported = false,
KubernetesVersion = "string",
LinuxAdminUsername = "string",
LinuxSshPublicKey = "string",
LoadBalancerSku = "string",
LogAnalyticsWorkspaceGroup = "string",
LogAnalyticsWorkspaceName = "string",
Monitoring = false,
AuthBaseUrl = "string",
NetworkDnsServiceIp = "string",
DnsPrefix = "string",
NetworkPlugin = "string",
NetworkPodCidr = "string",
NetworkPolicy = "string",
NetworkServiceCidr = "string",
NodePools = new[]
{
new Rancher2.Inputs.ClusterAksConfigV2NodePoolArgs
{
Name = "string",
Mode = "string",
OsDiskSizeGb = 0,
Labels =
{
{ "string", "string" },
},
MaxCount = 0,
MaxPods = 0,
MaxSurge = "string",
EnableAutoScaling = false,
Count = 0,
MinCount = 0,
OrchestratorVersion = "string",
AvailabilityZones = new[]
{
"string",
},
OsDiskType = "string",
OsType = "string",
Taints = new[]
{
"string",
},
VmSize = "string",
},
},
NodeResourceGroup = "string",
OutboundType = "string",
PrivateCluster = false,
BaseUrl = "string",
AuthorizedIpRanges = new[]
{
"string",
},
Subnet = "string",
Tags =
{
{ "string", "string" },
},
VirtualNetwork = "string",
VirtualNetworkResourceGroup = "string",
},
Annotations =
{
{ "string", "string" },
},
ClusterAgentDeploymentCustomizations = new[]
{
new Rancher2.Inputs.ClusterClusterAgentDeploymentCustomizationArgs
{
AppendTolerations = new[]
{
new Rancher2.Inputs.ClusterClusterAgentDeploymentCustomizationAppendTolerationArgs
{
Key = "string",
Effect = "string",
Operator = "string",
Seconds = 0,
Value = "string",
},
},
OverrideAffinity = "string",
OverrideResourceRequirements = new[]
{
new Rancher2.Inputs.ClusterClusterAgentDeploymentCustomizationOverrideResourceRequirementArgs
{
CpuLimit = "string",
CpuRequest = "string",
MemoryLimit = "string",
MemoryRequest = "string",
},
},
SchedulingCustomizations = new[]
{
new Rancher2.Inputs.ClusterClusterAgentDeploymentCustomizationSchedulingCustomizationArgs
{
PodDisruptionBudgets = new[]
{
new Rancher2.Inputs.ClusterClusterAgentDeploymentCustomizationSchedulingCustomizationPodDisruptionBudgetArgs
{
MaxUnavailable = "string",
MinAvailable = "string",
},
},
PriorityClasses = new[]
{
new Rancher2.Inputs.ClusterClusterAgentDeploymentCustomizationSchedulingCustomizationPriorityClassArgs
{
Value = 0,
PreemptionPolicy = "string",
},
},
},
},
},
},
ClusterAuthEndpoint = new Rancher2.Inputs.ClusterClusterAuthEndpointArgs
{
CaCerts = "string",
Enabled = false,
Fqdn = "string",
},
DefaultPodSecurityAdmissionConfigurationTemplateName = "string",
Description = "string",
DesiredAgentImage = "string",
DesiredAuthImage = "string",
DockerRootDir = "string",
Driver = "string",
EksConfigV2 = new Rancher2.Inputs.ClusterEksConfigV2Args
{
CloudCredentialId = "string",
Imported = false,
IpFamily = "string",
KmsKey = "string",
KubernetesVersion = "string",
LoggingTypes = new[]
{
"string",
},
Name = "string",
NodeGroups = new[]
{
new Rancher2.Inputs.ClusterEksConfigV2NodeGroupArgs
{
Name = "string",
MaxSize = 0,
NodeRole = "string",
Gpu = false,
ImageId = "string",
InstanceType = "string",
Labels =
{
{ "string", "string" },
},
LaunchTemplates = new[]
{
new Rancher2.Inputs.ClusterEksConfigV2NodeGroupLaunchTemplateArgs
{
Id = "string",
Name = "string",
Version = 0,
},
},
DesiredSize = 0,
Ec2SshKey = "string",
MinSize = 0,
DiskSize = 0,
RequestSpotInstances = false,
ResourceTags =
{
{ "string", "string" },
},
SpotInstanceTypes = new[]
{
"string",
},
Subnets = new[]
{
"string",
},
Tags =
{
{ "string", "string" },
},
UserData = "string",
Version = "string",
},
},
PrivateAccess = false,
PublicAccess = false,
PublicAccessSources = new[]
{
"string",
},
Region = "string",
SecretsEncryption = false,
SecurityGroups = new[]
{
"string",
},
ServiceRole = "string",
Subnets = new[]
{
"string",
},
Tags =
{
{ "string", "string" },
},
},
EnableNetworkPolicy = false,
FleetAgentDeploymentCustomizations = new[]
{
new Rancher2.Inputs.ClusterFleetAgentDeploymentCustomizationArgs
{
AppendTolerations = new[]
{
new Rancher2.Inputs.ClusterFleetAgentDeploymentCustomizationAppendTolerationArgs
{
Key = "string",
Effect = "string",
Operator = "string",
Seconds = 0,
Value = "string",
},
},
OverrideAffinity = "string",
OverrideResourceRequirements = new[]
{
new Rancher2.Inputs.ClusterFleetAgentDeploymentCustomizationOverrideResourceRequirementArgs
{
CpuLimit = "string",
CpuRequest = "string",
MemoryLimit = "string",
MemoryRequest = "string",
},
},
SchedulingCustomizations = new[]
{
new Rancher2.Inputs.ClusterFleetAgentDeploymentCustomizationSchedulingCustomizationArgs
{
PodDisruptionBudgets = new[]
{
new Rancher2.Inputs.ClusterFleetAgentDeploymentCustomizationSchedulingCustomizationPodDisruptionBudgetArgs
{
MaxUnavailable = "string",
MinAvailable = "string",
},
},
PriorityClasses = new[]
{
new Rancher2.Inputs.ClusterFleetAgentDeploymentCustomizationSchedulingCustomizationPriorityClassArgs
{
Value = 0,
PreemptionPolicy = "string",
},
},
},
},
},
},
FleetWorkspaceName = "string",
GkeConfigV2 = new Rancher2.Inputs.ClusterGkeConfigV2Args
{
GoogleCredentialSecret = "string",
ProjectId = "string",
Name = "string",
LoggingService = "string",
MasterAuthorizedNetworksConfig = new Rancher2.Inputs.ClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs
{
CidrBlocks = new[]
{
new Rancher2.Inputs.ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs
{
CidrBlock = "string",
DisplayName = "string",
},
},
Enabled = false,
},
Imported = false,
IpAllocationPolicy = new Rancher2.Inputs.ClusterGkeConfigV2IpAllocationPolicyArgs
{
ClusterIpv4CidrBlock = "string",
ClusterSecondaryRangeName = "string",
CreateSubnetwork = false,
NodeIpv4CidrBlock = "string",
ServicesIpv4CidrBlock = "string",
ServicesSecondaryRangeName = "string",
SubnetworkName = "string",
UseIpAliases = false,
},
KubernetesVersion = "string",
Labels =
{
{ "string", "string" },
},
Locations = new[]
{
"string",
},
ClusterAddons = new Rancher2.Inputs.ClusterGkeConfigV2ClusterAddonsArgs
{
HorizontalPodAutoscaling = false,
HttpLoadBalancing = false,
NetworkPolicyConfig = false,
},
MaintenanceWindow = "string",
EnableKubernetesAlpha = false,
MonitoringService = "string",
Description = "string",
Network = "string",
NetworkPolicyEnabled = false,
NodePools = new[]
{
new Rancher2.Inputs.ClusterGkeConfigV2NodePoolArgs
{
InitialNodeCount = 0,
Name = "string",
Version = "string",
Autoscaling = new Rancher2.Inputs.ClusterGkeConfigV2NodePoolAutoscalingArgs
{
Enabled = false,
MaxNodeCount = 0,
MinNodeCount = 0,
},
Config = new Rancher2.Inputs.ClusterGkeConfigV2NodePoolConfigArgs
{
DiskSizeGb = 0,
DiskType = "string",
ImageType = "string",
Labels =
{
{ "string", "string" },
},
LocalSsdCount = 0,
MachineType = "string",
OauthScopes = new[]
{
"string",
},
Preemptible = false,
ServiceAccount = "string",
Tags = new[]
{
"string",
},
Taints = new[]
{
new Rancher2.Inputs.ClusterGkeConfigV2NodePoolConfigTaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
},
Management = new Rancher2.Inputs.ClusterGkeConfigV2NodePoolManagementArgs
{
AutoRepair = false,
AutoUpgrade = false,
},
MaxPodsConstraint = 0,
},
},
PrivateClusterConfig = new Rancher2.Inputs.ClusterGkeConfigV2PrivateClusterConfigArgs
{
MasterIpv4CidrBlock = "string",
EnablePrivateEndpoint = false,
EnablePrivateNodes = false,
},
ClusterIpv4CidrBlock = "string",
Region = "string",
Subnetwork = "string",
Zone = "string",
},
ImportedConfig = new Rancher2.Inputs.ClusterImportedConfigArgs
{
PrivateRegistryUrl = "string",
},
K3sConfig = new Rancher2.Inputs.ClusterK3sConfigArgs
{
UpgradeStrategy = new Rancher2.Inputs.ClusterK3sConfigUpgradeStrategyArgs
{
DrainServerNodes = false,
DrainWorkerNodes = false,
ServerConcurrency = 0,
WorkerConcurrency = 0,
},
Version = "string",
},
Labels =
{
{ "string", "string" },
},
Name = "string",
OkeConfig = new Rancher2.Inputs.ClusterOkeConfigArgs
{
KubernetesVersion = "string",
CompartmentId = "string",
TenancyId = "string",
Region = "string",
NodeShape = "string",
NodeImage = "string",
NodePoolDnsDomainName = "string",
Description = "string",
EvictionGraceDuration = "string",
Fingerprint = "string",
FlexMemoryInGbs = 0,
FlexOcpus = 0,
ForceDeleteAfterGraceDuration = false,
ImageVerificationKmsKeyId = "string",
KmsKeyId = "string",
EnablePrivateControlPlane = false,
LimitNodeCount = 0,
LoadBalancerSubnetName1 = "string",
LoadBalancerSubnetName2 = "string",
EnableKubernetesDashboard = false,
ClusterType = "string",
NodePoolSubnetName = "string",
NodePublicKeyContents = "string",
EnablePrivateNodes = false,
NodeUserDataContents = "string",
PodCidr = "string",
PodNetwork = "string",
PodSubnetName = "string",
PrivateKeyContents = "string",
PrivateKeyPassphrase = "string",
QuantityOfNodeSubnets = 0,
QuantityPerSubnet = 0,
CustomBootVolumeSize = 0,
ServiceCidr = "string",
ServiceDnsDomainName = "string",
SkipVcnDelete = false,
ControlPlaneSubnetName = "string",
UserOcid = "string",
VcnCompartmentId = "string",
VcnName = "string",
WorkerNodeIngressCidr = "string",
},
Rke2Config = new Rancher2.Inputs.ClusterRke2ConfigArgs
{
UpgradeStrategy = new Rancher2.Inputs.ClusterRke2ConfigUpgradeStrategyArgs
{
DrainServerNodes = false,
DrainWorkerNodes = false,
ServerConcurrency = 0,
WorkerConcurrency = 0,
},
Version = "string",
},
WindowsPreferedCluster = false,
});
example, err := rancher2.NewCluster(ctx, "clusterResource", &rancher2.ClusterArgs{
AgentEnvVars: rancher2.ClusterAgentEnvVarArray{
&rancher2.ClusterAgentEnvVarArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
AksConfigV2: &rancher2.ClusterAksConfigV2Args{
CloudCredentialId: pulumi.String("string"),
ResourceLocation: pulumi.String("string"),
ResourceGroup: pulumi.String("string"),
Name: pulumi.String("string"),
NetworkDockerBridgeCidr: pulumi.String("string"),
HttpApplicationRouting: pulumi.Bool(false),
Imported: pulumi.Bool(false),
KubernetesVersion: pulumi.String("string"),
LinuxAdminUsername: pulumi.String("string"),
LinuxSshPublicKey: pulumi.String("string"),
LoadBalancerSku: pulumi.String("string"),
LogAnalyticsWorkspaceGroup: pulumi.String("string"),
LogAnalyticsWorkspaceName: pulumi.String("string"),
Monitoring: pulumi.Bool(false),
AuthBaseUrl: pulumi.String("string"),
NetworkDnsServiceIp: pulumi.String("string"),
DnsPrefix: pulumi.String("string"),
NetworkPlugin: pulumi.String("string"),
NetworkPodCidr: pulumi.String("string"),
NetworkPolicy: pulumi.String("string"),
NetworkServiceCidr: pulumi.String("string"),
NodePools: rancher2.ClusterAksConfigV2NodePoolArray{
&rancher2.ClusterAksConfigV2NodePoolArgs{
Name: pulumi.String("string"),
Mode: pulumi.String("string"),
OsDiskSizeGb: pulumi.Int(0),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
MaxCount: pulumi.Int(0),
MaxPods: pulumi.Int(0),
MaxSurge: pulumi.String("string"),
EnableAutoScaling: pulumi.Bool(false),
Count: pulumi.Int(0),
MinCount: pulumi.Int(0),
OrchestratorVersion: pulumi.String("string"),
AvailabilityZones: pulumi.StringArray{
pulumi.String("string"),
},
OsDiskType: pulumi.String("string"),
OsType: pulumi.String("string"),
Taints: pulumi.StringArray{
pulumi.String("string"),
},
VmSize: pulumi.String("string"),
},
},
NodeResourceGroup: pulumi.String("string"),
OutboundType: pulumi.String("string"),
PrivateCluster: pulumi.Bool(false),
BaseUrl: pulumi.String("string"),
AuthorizedIpRanges: pulumi.StringArray{
pulumi.String("string"),
},
Subnet: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
VirtualNetwork: pulumi.String("string"),
VirtualNetworkResourceGroup: pulumi.String("string"),
},
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
ClusterAgentDeploymentCustomizations: rancher2.ClusterClusterAgentDeploymentCustomizationArray{
&rancher2.ClusterClusterAgentDeploymentCustomizationArgs{
AppendTolerations: rancher2.ClusterClusterAgentDeploymentCustomizationAppendTolerationArray{
&rancher2.ClusterClusterAgentDeploymentCustomizationAppendTolerationArgs{
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.ClusterClusterAgentDeploymentCustomizationOverrideResourceRequirementArray{
&rancher2.ClusterClusterAgentDeploymentCustomizationOverrideResourceRequirementArgs{
CpuLimit: pulumi.String("string"),
CpuRequest: pulumi.String("string"),
MemoryLimit: pulumi.String("string"),
MemoryRequest: pulumi.String("string"),
},
},
SchedulingCustomizations: rancher2.ClusterClusterAgentDeploymentCustomizationSchedulingCustomizationArray{
&rancher2.ClusterClusterAgentDeploymentCustomizationSchedulingCustomizationArgs{
PodDisruptionBudgets: rancher2.ClusterClusterAgentDeploymentCustomizationSchedulingCustomizationPodDisruptionBudgetArray{
&rancher2.ClusterClusterAgentDeploymentCustomizationSchedulingCustomizationPodDisruptionBudgetArgs{
MaxUnavailable: pulumi.String("string"),
MinAvailable: pulumi.String("string"),
},
},
PriorityClasses: rancher2.ClusterClusterAgentDeploymentCustomizationSchedulingCustomizationPriorityClassArray{
&rancher2.ClusterClusterAgentDeploymentCustomizationSchedulingCustomizationPriorityClassArgs{
Value: pulumi.Int(0),
PreemptionPolicy: pulumi.String("string"),
},
},
},
},
},
},
ClusterAuthEndpoint: &rancher2.ClusterClusterAuthEndpointArgs{
CaCerts: pulumi.String("string"),
Enabled: pulumi.Bool(false),
Fqdn: pulumi.String("string"),
},
DefaultPodSecurityAdmissionConfigurationTemplateName: pulumi.String("string"),
Description: pulumi.String("string"),
DesiredAgentImage: pulumi.String("string"),
DesiredAuthImage: pulumi.String("string"),
DockerRootDir: pulumi.String("string"),
Driver: pulumi.String("string"),
EksConfigV2: &rancher2.ClusterEksConfigV2Args{
CloudCredentialId: pulumi.String("string"),
Imported: pulumi.Bool(false),
IpFamily: pulumi.String("string"),
KmsKey: pulumi.String("string"),
KubernetesVersion: pulumi.String("string"),
LoggingTypes: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
NodeGroups: rancher2.ClusterEksConfigV2NodeGroupArray{
&rancher2.ClusterEksConfigV2NodeGroupArgs{
Name: pulumi.String("string"),
MaxSize: pulumi.Int(0),
NodeRole: pulumi.String("string"),
Gpu: pulumi.Bool(false),
ImageId: pulumi.String("string"),
InstanceType: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
LaunchTemplates: rancher2.ClusterEksConfigV2NodeGroupLaunchTemplateArray{
&rancher2.ClusterEksConfigV2NodeGroupLaunchTemplateArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
Version: pulumi.Int(0),
},
},
DesiredSize: pulumi.Int(0),
Ec2SshKey: pulumi.String("string"),
MinSize: pulumi.Int(0),
DiskSize: pulumi.Int(0),
RequestSpotInstances: pulumi.Bool(false),
ResourceTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
SpotInstanceTypes: pulumi.StringArray{
pulumi.String("string"),
},
Subnets: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
UserData: pulumi.String("string"),
Version: pulumi.String("string"),
},
},
PrivateAccess: pulumi.Bool(false),
PublicAccess: pulumi.Bool(false),
PublicAccessSources: pulumi.StringArray{
pulumi.String("string"),
},
Region: pulumi.String("string"),
SecretsEncryption: pulumi.Bool(false),
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
ServiceRole: pulumi.String("string"),
Subnets: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
EnableNetworkPolicy: pulumi.Bool(false),
FleetAgentDeploymentCustomizations: rancher2.ClusterFleetAgentDeploymentCustomizationArray{
&rancher2.ClusterFleetAgentDeploymentCustomizationArgs{
AppendTolerations: rancher2.ClusterFleetAgentDeploymentCustomizationAppendTolerationArray{
&rancher2.ClusterFleetAgentDeploymentCustomizationAppendTolerationArgs{
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.ClusterFleetAgentDeploymentCustomizationOverrideResourceRequirementArray{
&rancher2.ClusterFleetAgentDeploymentCustomizationOverrideResourceRequirementArgs{
CpuLimit: pulumi.String("string"),
CpuRequest: pulumi.String("string"),
MemoryLimit: pulumi.String("string"),
MemoryRequest: pulumi.String("string"),
},
},
SchedulingCustomizations: rancher2.ClusterFleetAgentDeploymentCustomizationSchedulingCustomizationArray{
&rancher2.ClusterFleetAgentDeploymentCustomizationSchedulingCustomizationArgs{
PodDisruptionBudgets: rancher2.ClusterFleetAgentDeploymentCustomizationSchedulingCustomizationPodDisruptionBudgetArray{
&rancher2.ClusterFleetAgentDeploymentCustomizationSchedulingCustomizationPodDisruptionBudgetArgs{
MaxUnavailable: pulumi.String("string"),
MinAvailable: pulumi.String("string"),
},
},
PriorityClasses: rancher2.ClusterFleetAgentDeploymentCustomizationSchedulingCustomizationPriorityClassArray{
&rancher2.ClusterFleetAgentDeploymentCustomizationSchedulingCustomizationPriorityClassArgs{
Value: pulumi.Int(0),
PreemptionPolicy: pulumi.String("string"),
},
},
},
},
},
},
FleetWorkspaceName: pulumi.String("string"),
GkeConfigV2: &rancher2.ClusterGkeConfigV2Args{
GoogleCredentialSecret: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Name: pulumi.String("string"),
LoggingService: pulumi.String("string"),
MasterAuthorizedNetworksConfig: &rancher2.ClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs{
CidrBlocks: rancher2.ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArray{
&rancher2.ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs{
CidrBlock: pulumi.String("string"),
DisplayName: pulumi.String("string"),
},
},
Enabled: pulumi.Bool(false),
},
Imported: pulumi.Bool(false),
IpAllocationPolicy: &rancher2.ClusterGkeConfigV2IpAllocationPolicyArgs{
ClusterIpv4CidrBlock: pulumi.String("string"),
ClusterSecondaryRangeName: pulumi.String("string"),
CreateSubnetwork: pulumi.Bool(false),
NodeIpv4CidrBlock: pulumi.String("string"),
ServicesIpv4CidrBlock: pulumi.String("string"),
ServicesSecondaryRangeName: pulumi.String("string"),
SubnetworkName: pulumi.String("string"),
UseIpAliases: pulumi.Bool(false),
},
KubernetesVersion: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Locations: pulumi.StringArray{
pulumi.String("string"),
},
ClusterAddons: &rancher2.ClusterGkeConfigV2ClusterAddonsArgs{
HorizontalPodAutoscaling: pulumi.Bool(false),
HttpLoadBalancing: pulumi.Bool(false),
NetworkPolicyConfig: pulumi.Bool(false),
},
MaintenanceWindow: pulumi.String("string"),
EnableKubernetesAlpha: pulumi.Bool(false),
MonitoringService: pulumi.String("string"),
Description: pulumi.String("string"),
Network: pulumi.String("string"),
NetworkPolicyEnabled: pulumi.Bool(false),
NodePools: rancher2.ClusterGkeConfigV2NodePoolArray{
&rancher2.ClusterGkeConfigV2NodePoolArgs{
InitialNodeCount: pulumi.Int(0),
Name: pulumi.String("string"),
Version: pulumi.String("string"),
Autoscaling: &rancher2.ClusterGkeConfigV2NodePoolAutoscalingArgs{
Enabled: pulumi.Bool(false),
MaxNodeCount: pulumi.Int(0),
MinNodeCount: pulumi.Int(0),
},
Config: &rancher2.ClusterGkeConfigV2NodePoolConfigArgs{
DiskSizeGb: pulumi.Int(0),
DiskType: pulumi.String("string"),
ImageType: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
LocalSsdCount: pulumi.Int(0),
MachineType: pulumi.String("string"),
OauthScopes: pulumi.StringArray{
pulumi.String("string"),
},
Preemptible: pulumi.Bool(false),
ServiceAccount: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Taints: rancher2.ClusterGkeConfigV2NodePoolConfigTaintArray{
&rancher2.ClusterGkeConfigV2NodePoolConfigTaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Management: &rancher2.ClusterGkeConfigV2NodePoolManagementArgs{
AutoRepair: pulumi.Bool(false),
AutoUpgrade: pulumi.Bool(false),
},
MaxPodsConstraint: pulumi.Int(0),
},
},
PrivateClusterConfig: &rancher2.ClusterGkeConfigV2PrivateClusterConfigArgs{
MasterIpv4CidrBlock: pulumi.String("string"),
EnablePrivateEndpoint: pulumi.Bool(false),
EnablePrivateNodes: pulumi.Bool(false),
},
ClusterIpv4CidrBlock: pulumi.String("string"),
Region: pulumi.String("string"),
Subnetwork: pulumi.String("string"),
Zone: pulumi.String("string"),
},
ImportedConfig: &rancher2.ClusterImportedConfigArgs{
PrivateRegistryUrl: pulumi.String("string"),
},
K3sConfig: &rancher2.ClusterK3sConfigArgs{
UpgradeStrategy: &rancher2.ClusterK3sConfigUpgradeStrategyArgs{
DrainServerNodes: pulumi.Bool(false),
DrainWorkerNodes: pulumi.Bool(false),
ServerConcurrency: pulumi.Int(0),
WorkerConcurrency: pulumi.Int(0),
},
Version: pulumi.String("string"),
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Name: pulumi.String("string"),
OkeConfig: &rancher2.ClusterOkeConfigArgs{
KubernetesVersion: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
TenancyId: pulumi.String("string"),
Region: pulumi.String("string"),
NodeShape: pulumi.String("string"),
NodeImage: pulumi.String("string"),
NodePoolDnsDomainName: pulumi.String("string"),
Description: pulumi.String("string"),
EvictionGraceDuration: pulumi.String("string"),
Fingerprint: pulumi.String("string"),
FlexMemoryInGbs: pulumi.Int(0),
FlexOcpus: pulumi.Int(0),
ForceDeleteAfterGraceDuration: pulumi.Bool(false),
ImageVerificationKmsKeyId: pulumi.String("string"),
KmsKeyId: pulumi.String("string"),
EnablePrivateControlPlane: pulumi.Bool(false),
LimitNodeCount: pulumi.Int(0),
LoadBalancerSubnetName1: pulumi.String("string"),
LoadBalancerSubnetName2: pulumi.String("string"),
EnableKubernetesDashboard: pulumi.Bool(false),
ClusterType: pulumi.String("string"),
NodePoolSubnetName: pulumi.String("string"),
NodePublicKeyContents: pulumi.String("string"),
EnablePrivateNodes: pulumi.Bool(false),
NodeUserDataContents: pulumi.String("string"),
PodCidr: pulumi.String("string"),
PodNetwork: pulumi.String("string"),
PodSubnetName: pulumi.String("string"),
PrivateKeyContents: pulumi.String("string"),
PrivateKeyPassphrase: pulumi.String("string"),
QuantityOfNodeSubnets: pulumi.Int(0),
QuantityPerSubnet: pulumi.Int(0),
CustomBootVolumeSize: pulumi.Int(0),
ServiceCidr: pulumi.String("string"),
ServiceDnsDomainName: pulumi.String("string"),
SkipVcnDelete: pulumi.Bool(false),
ControlPlaneSubnetName: pulumi.String("string"),
UserOcid: pulumi.String("string"),
VcnCompartmentId: pulumi.String("string"),
VcnName: pulumi.String("string"),
WorkerNodeIngressCidr: pulumi.String("string"),
},
Rke2Config: &rancher2.ClusterRke2ConfigArgs{
UpgradeStrategy: &rancher2.ClusterRke2ConfigUpgradeStrategyArgs{
DrainServerNodes: pulumi.Bool(false),
DrainWorkerNodes: pulumi.Bool(false),
ServerConcurrency: pulumi.Int(0),
WorkerConcurrency: pulumi.Int(0),
},
Version: pulumi.String("string"),
},
WindowsPreferedCluster: pulumi.Bool(false),
})
resource "rancher2_cluster" "clusterResource" {
lifecycle {
create_before_destroy = true
}
agent_env_vars {
name = "string"
value = "string"
}
aks_config_v2 = {
cloud_credential_id = "string"
resource_location = "string"
resource_group = "string"
name = "string"
network_docker_bridge_cidr = "string"
http_application_routing = false
imported = false
kubernetes_version = "string"
linux_admin_username = "string"
linux_ssh_public_key = "string"
load_balancer_sku = "string"
log_analytics_workspace_group = "string"
log_analytics_workspace_name = "string"
monitoring = false
auth_base_url = "string"
network_dns_service_ip = "string"
dns_prefix = "string"
network_plugin = "string"
network_pod_cidr = "string"
network_policy = "string"
network_service_cidr = "string"
node_pools = [{
name = "string"
mode = "string"
os_disk_size_gb = 0
labels = {
"string" = "string"
}
max_count = 0
max_pods = 0
max_surge = "string"
enable_auto_scaling = false
count = 0
min_count = 0
orchestrator_version = "string"
availability_zones = ["string"]
os_disk_type = "string"
os_type = "string"
taints = ["string"]
vm_size = "string"
}]
node_resource_group = "string"
outbound_type = "string"
private_cluster = false
base_url = "string"
authorized_ip_ranges = ["string"]
subnet = "string"
tags = {
"string" = "string"
}
virtual_network = "string"
virtual_network_resource_group = "string"
}
annotations = {
"string" = "string"
}
cluster_agent_deployment_customizations {
append_tolerations {
key = "string"
effect = "string"
operator = "string"
seconds = 0
value = "string"
}
override_affinity = "string"
override_resource_requirements {
cpu_limit = "string"
cpu_request = "string"
memory_limit = "string"
memory_request = "string"
}
scheduling_customizations {
pod_disruption_budgets {
max_unavailable = "string"
min_available = "string"
}
priority_classes {
value = 0
preemption_policy = "string"
}
}
}
cluster_auth_endpoint = {
ca_certs = "string"
enabled = false
fqdn = "string"
}
default_pod_security_admission_configuration_template_name = "string"
description = "string"
desired_agent_image = "string"
desired_auth_image = "string"
docker_root_dir = "string"
driver = "string"
eks_config_v2 = {
cloud_credential_id = "string"
imported = false
ip_family = "string"
kms_key = "string"
kubernetes_version = "string"
logging_types = ["string"]
name = "string"
node_groups = [{
name = "string"
max_size = 0
node_role = "string"
gpu = false
image_id = "string"
instance_type = "string"
labels = {
"string" = "string"
}
launch_templates = [{
id = "string"
name = "string"
version = 0
}]
desired_size = 0
ec2_ssh_key = "string"
min_size = 0
disk_size = 0
request_spot_instances = false
resource_tags = {
"string" = "string"
}
spot_instance_types = ["string"]
subnets = ["string"]
tags = {
"string" = "string"
}
user_data = "string"
version = "string"
}]
private_access = false
public_access = false
public_access_sources = ["string"]
region = "string"
secrets_encryption = false
security_groups = ["string"]
service_role = "string"
subnets = ["string"]
tags = {
"string" = "string"
}
}
enable_network_policy = false
fleet_agent_deployment_customizations {
append_tolerations {
key = "string"
effect = "string"
operator = "string"
seconds = 0
value = "string"
}
override_affinity = "string"
override_resource_requirements {
cpu_limit = "string"
cpu_request = "string"
memory_limit = "string"
memory_request = "string"
}
scheduling_customizations {
pod_disruption_budgets {
max_unavailable = "string"
min_available = "string"
}
priority_classes {
value = 0
preemption_policy = "string"
}
}
}
fleet_workspace_name = "string"
gke_config_v2 = {
google_credential_secret = "string"
project_id = "string"
name = "string"
logging_service = "string"
master_authorized_networks_config = {
cidr_blocks = [{
cidr_block = "string"
display_name = "string"
}]
enabled = false
}
imported = false
ip_allocation_policy = {
cluster_ipv4_cidr_block = "string"
cluster_secondary_range_name = "string"
create_subnetwork = false
node_ipv4_cidr_block = "string"
services_ipv4_cidr_block = "string"
services_secondary_range_name = "string"
subnetwork_name = "string"
use_ip_aliases = false
}
kubernetes_version = "string"
labels = {
"string" = "string"
}
locations = ["string"]
cluster_addons = {
horizontal_pod_autoscaling = false
http_load_balancing = false
network_policy_config = false
}
maintenance_window = "string"
enable_kubernetes_alpha = false
monitoring_service = "string"
description = "string"
network = "string"
network_policy_enabled = false
node_pools = [{
initial_node_count = 0
name = "string"
version = "string"
autoscaling = {
enabled = false
max_node_count = 0
min_node_count = 0
}
config = {
disk_size_gb = 0
disk_type = "string"
image_type = "string"
labels = {
"string" = "string"
}
local_ssd_count = 0
machine_type = "string"
oauth_scopes = ["string"]
preemptible = false
service_account = "string"
tags = ["string"]
taints = [{
effect = "string"
key = "string"
value = "string"
}]
}
management = {
auto_repair = false
auto_upgrade = false
}
max_pods_constraint = 0
}]
private_cluster_config = {
master_ipv4_cidr_block = "string"
enable_private_endpoint = false
enable_private_nodes = false
}
cluster_ipv4_cidr_block = "string"
region = "string"
subnetwork = "string"
zone = "string"
}
imported_config = {
private_registry_url = "string"
}
k3s_config = {
upgrade_strategy = {
drain_server_nodes = false
drain_worker_nodes = false
server_concurrency = 0
worker_concurrency = 0
}
version = "string"
}
labels = {
"string" = "string"
}
name = "string"
oke_config = {
kubernetes_version = "string"
compartment_id = "string"
tenancy_id = "string"
region = "string"
node_shape = "string"
node_image = "string"
node_pool_dns_domain_name = "string"
description = "string"
eviction_grace_duration = "string"
fingerprint = "string"
flex_memory_in_gbs = 0
flex_ocpus = 0
force_delete_after_grace_duration = false
image_verification_kms_key_id = "string"
kms_key_id = "string"
enable_private_control_plane = false
limit_node_count = 0
load_balancer_subnet_name1 = "string"
load_balancer_subnet_name2 = "string"
enable_kubernetes_dashboard = false
cluster_type = "string"
node_pool_subnet_name = "string"
node_public_key_contents = "string"
enable_private_nodes = false
node_user_data_contents = "string"
pod_cidr = "string"
pod_network = "string"
pod_subnet_name = "string"
private_key_contents = "string"
private_key_passphrase = "string"
quantity_of_node_subnets = 0
quantity_per_subnet = 0
custom_boot_volume_size = 0
service_cidr = "string"
service_dns_domain_name = "string"
skip_vcn_delete = false
control_plane_subnet_name = "string"
user_ocid = "string"
vcn_compartment_id = "string"
vcn_name = "string"
worker_node_ingress_cidr = "string"
}
rke2_config = {
upgrade_strategy = {
drain_server_nodes = false
drain_worker_nodes = false
server_concurrency = 0
worker_concurrency = 0
}
version = "string"
}
windows_prefered_cluster = false
}
var clusterResource = new Cluster("clusterResource", ClusterArgs.builder()
.agentEnvVars(ClusterAgentEnvVarArgs.builder()
.name("string")
.value("string")
.build())
.aksConfigV2(ClusterAksConfigV2Args.builder()
.cloudCredentialId("string")
.resourceLocation("string")
.resourceGroup("string")
.name("string")
.networkDockerBridgeCidr("string")
.httpApplicationRouting(false)
.imported(false)
.kubernetesVersion("string")
.linuxAdminUsername("string")
.linuxSshPublicKey("string")
.loadBalancerSku("string")
.logAnalyticsWorkspaceGroup("string")
.logAnalyticsWorkspaceName("string")
.monitoring(false)
.authBaseUrl("string")
.networkDnsServiceIp("string")
.dnsPrefix("string")
.networkPlugin("string")
.networkPodCidr("string")
.networkPolicy("string")
.networkServiceCidr("string")
.nodePools(ClusterAksConfigV2NodePoolArgs.builder()
.name("string")
.mode("string")
.osDiskSizeGb(0)
.labels(Map.of("string", "string"))
.maxCount(0)
.maxPods(0)
.maxSurge("string")
.enableAutoScaling(false)
.count(0)
.minCount(0)
.orchestratorVersion("string")
.availabilityZones("string")
.osDiskType("string")
.osType("string")
.taints("string")
.vmSize("string")
.build())
.nodeResourceGroup("string")
.outboundType("string")
.privateCluster(false)
.baseUrl("string")
.authorizedIpRanges("string")
.subnet("string")
.tags(Map.of("string", "string"))
.virtualNetwork("string")
.virtualNetworkResourceGroup("string")
.build())
.annotations(Map.of("string", "string"))
.clusterAgentDeploymentCustomizations(ClusterClusterAgentDeploymentCustomizationArgs.builder()
.appendTolerations(ClusterClusterAgentDeploymentCustomizationAppendTolerationArgs.builder()
.key("string")
.effect("string")
.operator("string")
.seconds(0)
.value("string")
.build())
.overrideAffinity("string")
.overrideResourceRequirements(ClusterClusterAgentDeploymentCustomizationOverrideResourceRequirementArgs.builder()
.cpuLimit("string")
.cpuRequest("string")
.memoryLimit("string")
.memoryRequest("string")
.build())
.schedulingCustomizations(ClusterClusterAgentDeploymentCustomizationSchedulingCustomizationArgs.builder()
.podDisruptionBudgets(ClusterClusterAgentDeploymentCustomizationSchedulingCustomizationPodDisruptionBudgetArgs.builder()
.maxUnavailable("string")
.minAvailable("string")
.build())
.priorityClasses(ClusterClusterAgentDeploymentCustomizationSchedulingCustomizationPriorityClassArgs.builder()
.value(0)
.preemptionPolicy("string")
.build())
.build())
.build())
.clusterAuthEndpoint(ClusterClusterAuthEndpointArgs.builder()
.caCerts("string")
.enabled(false)
.fqdn("string")
.build())
.defaultPodSecurityAdmissionConfigurationTemplateName("string")
.description("string")
.desiredAgentImage("string")
.desiredAuthImage("string")
.dockerRootDir("string")
.driver("string")
.eksConfigV2(ClusterEksConfigV2Args.builder()
.cloudCredentialId("string")
.imported(false)
.ipFamily("string")
.kmsKey("string")
.kubernetesVersion("string")
.loggingTypes("string")
.name("string")
.nodeGroups(ClusterEksConfigV2NodeGroupArgs.builder()
.name("string")
.maxSize(0)
.nodeRole("string")
.gpu(false)
.imageId("string")
.instanceType("string")
.labels(Map.of("string", "string"))
.launchTemplates(ClusterEksConfigV2NodeGroupLaunchTemplateArgs.builder()
.id("string")
.name("string")
.version(0)
.build())
.desiredSize(0)
.ec2SshKey("string")
.minSize(0)
.diskSize(0)
.requestSpotInstances(false)
.resourceTags(Map.of("string", "string"))
.spotInstanceTypes("string")
.subnets("string")
.tags(Map.of("string", "string"))
.userData("string")
.version("string")
.build())
.privateAccess(false)
.publicAccess(false)
.publicAccessSources("string")
.region("string")
.secretsEncryption(false)
.securityGroups("string")
.serviceRole("string")
.subnets("string")
.tags(Map.of("string", "string"))
.build())
.enableNetworkPolicy(false)
.fleetAgentDeploymentCustomizations(ClusterFleetAgentDeploymentCustomizationArgs.builder()
.appendTolerations(ClusterFleetAgentDeploymentCustomizationAppendTolerationArgs.builder()
.key("string")
.effect("string")
.operator("string")
.seconds(0)
.value("string")
.build())
.overrideAffinity("string")
.overrideResourceRequirements(ClusterFleetAgentDeploymentCustomizationOverrideResourceRequirementArgs.builder()
.cpuLimit("string")
.cpuRequest("string")
.memoryLimit("string")
.memoryRequest("string")
.build())
.schedulingCustomizations(ClusterFleetAgentDeploymentCustomizationSchedulingCustomizationArgs.builder()
.podDisruptionBudgets(ClusterFleetAgentDeploymentCustomizationSchedulingCustomizationPodDisruptionBudgetArgs.builder()
.maxUnavailable("string")
.minAvailable("string")
.build())
.priorityClasses(ClusterFleetAgentDeploymentCustomizationSchedulingCustomizationPriorityClassArgs.builder()
.value(0)
.preemptionPolicy("string")
.build())
.build())
.build())
.fleetWorkspaceName("string")
.gkeConfigV2(ClusterGkeConfigV2Args.builder()
.googleCredentialSecret("string")
.projectId("string")
.name("string")
.loggingService("string")
.masterAuthorizedNetworksConfig(ClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs.builder()
.cidrBlocks(ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs.builder()
.cidrBlock("string")
.displayName("string")
.build())
.enabled(false)
.build())
.imported(false)
.ipAllocationPolicy(ClusterGkeConfigV2IpAllocationPolicyArgs.builder()
.clusterIpv4CidrBlock("string")
.clusterSecondaryRangeName("string")
.createSubnetwork(false)
.nodeIpv4CidrBlock("string")
.servicesIpv4CidrBlock("string")
.servicesSecondaryRangeName("string")
.subnetworkName("string")
.useIpAliases(false)
.build())
.kubernetesVersion("string")
.labels(Map.of("string", "string"))
.locations("string")
.clusterAddons(ClusterGkeConfigV2ClusterAddonsArgs.builder()
.horizontalPodAutoscaling(false)
.httpLoadBalancing(false)
.networkPolicyConfig(false)
.build())
.maintenanceWindow("string")
.enableKubernetesAlpha(false)
.monitoringService("string")
.description("string")
.network("string")
.networkPolicyEnabled(false)
.nodePools(ClusterGkeConfigV2NodePoolArgs.builder()
.initialNodeCount(0)
.name("string")
.version("string")
.autoscaling(ClusterGkeConfigV2NodePoolAutoscalingArgs.builder()
.enabled(false)
.maxNodeCount(0)
.minNodeCount(0)
.build())
.config(ClusterGkeConfigV2NodePoolConfigArgs.builder()
.diskSizeGb(0)
.diskType("string")
.imageType("string")
.labels(Map.of("string", "string"))
.localSsdCount(0)
.machineType("string")
.oauthScopes("string")
.preemptible(false)
.serviceAccount("string")
.tags("string")
.taints(ClusterGkeConfigV2NodePoolConfigTaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.build())
.management(ClusterGkeConfigV2NodePoolManagementArgs.builder()
.autoRepair(false)
.autoUpgrade(false)
.build())
.maxPodsConstraint(0)
.build())
.privateClusterConfig(ClusterGkeConfigV2PrivateClusterConfigArgs.builder()
.masterIpv4CidrBlock("string")
.enablePrivateEndpoint(false)
.enablePrivateNodes(false)
.build())
.clusterIpv4CidrBlock("string")
.region("string")
.subnetwork("string")
.zone("string")
.build())
.importedConfig(ClusterImportedConfigArgs.builder()
.privateRegistryUrl("string")
.build())
.k3sConfig(ClusterK3sConfigArgs.builder()
.upgradeStrategy(ClusterK3sConfigUpgradeStrategyArgs.builder()
.drainServerNodes(false)
.drainWorkerNodes(false)
.serverConcurrency(0)
.workerConcurrency(0)
.build())
.version("string")
.build())
.labels(Map.of("string", "string"))
.name("string")
.okeConfig(ClusterOkeConfigArgs.builder()
.kubernetesVersion("string")
.compartmentId("string")
.tenancyId("string")
.region("string")
.nodeShape("string")
.nodeImage("string")
.nodePoolDnsDomainName("string")
.description("string")
.evictionGraceDuration("string")
.fingerprint("string")
.flexMemoryInGbs(0)
.flexOcpus(0)
.forceDeleteAfterGraceDuration(false)
.imageVerificationKmsKeyId("string")
.kmsKeyId("string")
.enablePrivateControlPlane(false)
.limitNodeCount(0)
.loadBalancerSubnetName1("string")
.loadBalancerSubnetName2("string")
.enableKubernetesDashboard(false)
.clusterType("string")
.nodePoolSubnetName("string")
.nodePublicKeyContents("string")
.enablePrivateNodes(false)
.nodeUserDataContents("string")
.podCidr("string")
.podNetwork("string")
.podSubnetName("string")
.privateKeyContents("string")
.privateKeyPassphrase("string")
.quantityOfNodeSubnets(0)
.quantityPerSubnet(0)
.customBootVolumeSize(0)
.serviceCidr("string")
.serviceDnsDomainName("string")
.skipVcnDelete(false)
.controlPlaneSubnetName("string")
.userOcid("string")
.vcnCompartmentId("string")
.vcnName("string")
.workerNodeIngressCidr("string")
.build())
.rke2Config(ClusterRke2ConfigArgs.builder()
.upgradeStrategy(ClusterRke2ConfigUpgradeStrategyArgs.builder()
.drainServerNodes(false)
.drainWorkerNodes(false)
.serverConcurrency(0)
.workerConcurrency(0)
.build())
.version("string")
.build())
.windowsPreferedCluster(false)
.build());
cluster_resource = rancher2.Cluster("clusterResource",
agent_env_vars=[{
"name": "string",
"value": "string",
}],
aks_config_v2={
"cloud_credential_id": "string",
"resource_location": "string",
"resource_group": "string",
"name": "string",
"network_docker_bridge_cidr": "string",
"http_application_routing": False,
"imported": False,
"kubernetes_version": "string",
"linux_admin_username": "string",
"linux_ssh_public_key": "string",
"load_balancer_sku": "string",
"log_analytics_workspace_group": "string",
"log_analytics_workspace_name": "string",
"monitoring": False,
"auth_base_url": "string",
"network_dns_service_ip": "string",
"dns_prefix": "string",
"network_plugin": "string",
"network_pod_cidr": "string",
"network_policy": "string",
"network_service_cidr": "string",
"node_pools": [{
"name": "string",
"mode": "string",
"os_disk_size_gb": 0,
"labels": {
"string": "string",
},
"max_count": 0,
"max_pods": 0,
"max_surge": "string",
"enable_auto_scaling": False,
"count": 0,
"min_count": 0,
"orchestrator_version": "string",
"availability_zones": ["string"],
"os_disk_type": "string",
"os_type": "string",
"taints": ["string"],
"vm_size": "string",
}],
"node_resource_group": "string",
"outbound_type": "string",
"private_cluster": False,
"base_url": "string",
"authorized_ip_ranges": ["string"],
"subnet": "string",
"tags": {
"string": "string",
},
"virtual_network": "string",
"virtual_network_resource_group": "string",
},
annotations={
"string": "string",
},
cluster_agent_deployment_customizations=[{
"append_tolerations": [{
"key": "string",
"effect": "string",
"operator": "string",
"seconds": 0,
"value": "string",
}],
"override_affinity": "string",
"override_resource_requirements": [{
"cpu_limit": "string",
"cpu_request": "string",
"memory_limit": "string",
"memory_request": "string",
}],
"scheduling_customizations": [{
"pod_disruption_budgets": [{
"max_unavailable": "string",
"min_available": "string",
}],
"priority_classes": [{
"value": 0,
"preemption_policy": "string",
}],
}],
}],
cluster_auth_endpoint={
"ca_certs": "string",
"enabled": False,
"fqdn": "string",
},
default_pod_security_admission_configuration_template_name="string",
description="string",
desired_agent_image="string",
desired_auth_image="string",
docker_root_dir="string",
driver="string",
eks_config_v2={
"cloud_credential_id": "string",
"imported": False,
"ip_family": "string",
"kms_key": "string",
"kubernetes_version": "string",
"logging_types": ["string"],
"name": "string",
"node_groups": [{
"name": "string",
"max_size": 0,
"node_role": "string",
"gpu": False,
"image_id": "string",
"instance_type": "string",
"labels": {
"string": "string",
},
"launch_templates": [{
"id": "string",
"name": "string",
"version": 0,
}],
"desired_size": 0,
"ec2_ssh_key": "string",
"min_size": 0,
"disk_size": 0,
"request_spot_instances": False,
"resource_tags": {
"string": "string",
},
"spot_instance_types": ["string"],
"subnets": ["string"],
"tags": {
"string": "string",
},
"user_data": "string",
"version": "string",
}],
"private_access": False,
"public_access": False,
"public_access_sources": ["string"],
"region": "string",
"secrets_encryption": False,
"security_groups": ["string"],
"service_role": "string",
"subnets": ["string"],
"tags": {
"string": "string",
},
},
enable_network_policy=False,
fleet_agent_deployment_customizations=[{
"append_tolerations": [{
"key": "string",
"effect": "string",
"operator": "string",
"seconds": 0,
"value": "string",
}],
"override_affinity": "string",
"override_resource_requirements": [{
"cpu_limit": "string",
"cpu_request": "string",
"memory_limit": "string",
"memory_request": "string",
}],
"scheduling_customizations": [{
"pod_disruption_budgets": [{
"max_unavailable": "string",
"min_available": "string",
}],
"priority_classes": [{
"value": 0,
"preemption_policy": "string",
}],
}],
}],
fleet_workspace_name="string",
gke_config_v2={
"google_credential_secret": "string",
"project_id": "string",
"name": "string",
"logging_service": "string",
"master_authorized_networks_config": {
"cidr_blocks": [{
"cidr_block": "string",
"display_name": "string",
}],
"enabled": False,
},
"imported": False,
"ip_allocation_policy": {
"cluster_ipv4_cidr_block": "string",
"cluster_secondary_range_name": "string",
"create_subnetwork": False,
"node_ipv4_cidr_block": "string",
"services_ipv4_cidr_block": "string",
"services_secondary_range_name": "string",
"subnetwork_name": "string",
"use_ip_aliases": False,
},
"kubernetes_version": "string",
"labels": {
"string": "string",
},
"locations": ["string"],
"cluster_addons": {
"horizontal_pod_autoscaling": False,
"http_load_balancing": False,
"network_policy_config": False,
},
"maintenance_window": "string",
"enable_kubernetes_alpha": False,
"monitoring_service": "string",
"description": "string",
"network": "string",
"network_policy_enabled": False,
"node_pools": [{
"initial_node_count": 0,
"name": "string",
"version": "string",
"autoscaling": {
"enabled": False,
"max_node_count": 0,
"min_node_count": 0,
},
"config": {
"disk_size_gb": 0,
"disk_type": "string",
"image_type": "string",
"labels": {
"string": "string",
},
"local_ssd_count": 0,
"machine_type": "string",
"oauth_scopes": ["string"],
"preemptible": False,
"service_account": "string",
"tags": ["string"],
"taints": [{
"effect": "string",
"key": "string",
"value": "string",
}],
},
"management": {
"auto_repair": False,
"auto_upgrade": False,
},
"max_pods_constraint": 0,
}],
"private_cluster_config": {
"master_ipv4_cidr_block": "string",
"enable_private_endpoint": False,
"enable_private_nodes": False,
},
"cluster_ipv4_cidr_block": "string",
"region": "string",
"subnetwork": "string",
"zone": "string",
},
imported_config={
"private_registry_url": "string",
},
k3s_config={
"upgrade_strategy": {
"drain_server_nodes": False,
"drain_worker_nodes": False,
"server_concurrency": 0,
"worker_concurrency": 0,
},
"version": "string",
},
labels={
"string": "string",
},
name="string",
oke_config={
"kubernetes_version": "string",
"compartment_id": "string",
"tenancy_id": "string",
"region": "string",
"node_shape": "string",
"node_image": "string",
"node_pool_dns_domain_name": "string",
"description": "string",
"eviction_grace_duration": "string",
"fingerprint": "string",
"flex_memory_in_gbs": 0,
"flex_ocpus": 0,
"force_delete_after_grace_duration": False,
"image_verification_kms_key_id": "string",
"kms_key_id": "string",
"enable_private_control_plane": False,
"limit_node_count": 0,
"load_balancer_subnet_name1": "string",
"load_balancer_subnet_name2": "string",
"enable_kubernetes_dashboard": False,
"cluster_type": "string",
"node_pool_subnet_name": "string",
"node_public_key_contents": "string",
"enable_private_nodes": False,
"node_user_data_contents": "string",
"pod_cidr": "string",
"pod_network": "string",
"pod_subnet_name": "string",
"private_key_contents": "string",
"private_key_passphrase": "string",
"quantity_of_node_subnets": 0,
"quantity_per_subnet": 0,
"custom_boot_volume_size": 0,
"service_cidr": "string",
"service_dns_domain_name": "string",
"skip_vcn_delete": False,
"control_plane_subnet_name": "string",
"user_ocid": "string",
"vcn_compartment_id": "string",
"vcn_name": "string",
"worker_node_ingress_cidr": "string",
},
rke2_config={
"upgrade_strategy": {
"drain_server_nodes": False,
"drain_worker_nodes": False,
"server_concurrency": 0,
"worker_concurrency": 0,
},
"version": "string",
},
windows_prefered_cluster=False)
const clusterResource = new rancher2.Cluster("clusterResource", {
agentEnvVars: [{
name: "string",
value: "string",
}],
aksConfigV2: {
cloudCredentialId: "string",
resourceLocation: "string",
resourceGroup: "string",
name: "string",
networkDockerBridgeCidr: "string",
httpApplicationRouting: false,
imported: false,
kubernetesVersion: "string",
linuxAdminUsername: "string",
linuxSshPublicKey: "string",
loadBalancerSku: "string",
logAnalyticsWorkspaceGroup: "string",
logAnalyticsWorkspaceName: "string",
monitoring: false,
authBaseUrl: "string",
networkDnsServiceIp: "string",
dnsPrefix: "string",
networkPlugin: "string",
networkPodCidr: "string",
networkPolicy: "string",
networkServiceCidr: "string",
nodePools: [{
name: "string",
mode: "string",
osDiskSizeGb: 0,
labels: {
string: "string",
},
maxCount: 0,
maxPods: 0,
maxSurge: "string",
enableAutoScaling: false,
count: 0,
minCount: 0,
orchestratorVersion: "string",
availabilityZones: ["string"],
osDiskType: "string",
osType: "string",
taints: ["string"],
vmSize: "string",
}],
nodeResourceGroup: "string",
outboundType: "string",
privateCluster: false,
baseUrl: "string",
authorizedIpRanges: ["string"],
subnet: "string",
tags: {
string: "string",
},
virtualNetwork: "string",
virtualNetworkResourceGroup: "string",
},
annotations: {
string: "string",
},
clusterAgentDeploymentCustomizations: [{
appendTolerations: [{
key: "string",
effect: "string",
operator: "string",
seconds: 0,
value: "string",
}],
overrideAffinity: "string",
overrideResourceRequirements: [{
cpuLimit: "string",
cpuRequest: "string",
memoryLimit: "string",
memoryRequest: "string",
}],
schedulingCustomizations: [{
podDisruptionBudgets: [{
maxUnavailable: "string",
minAvailable: "string",
}],
priorityClasses: [{
value: 0,
preemptionPolicy: "string",
}],
}],
}],
clusterAuthEndpoint: {
caCerts: "string",
enabled: false,
fqdn: "string",
},
defaultPodSecurityAdmissionConfigurationTemplateName: "string",
description: "string",
desiredAgentImage: "string",
desiredAuthImage: "string",
dockerRootDir: "string",
driver: "string",
eksConfigV2: {
cloudCredentialId: "string",
imported: false,
ipFamily: "string",
kmsKey: "string",
kubernetesVersion: "string",
loggingTypes: ["string"],
name: "string",
nodeGroups: [{
name: "string",
maxSize: 0,
nodeRole: "string",
gpu: false,
imageId: "string",
instanceType: "string",
labels: {
string: "string",
},
launchTemplates: [{
id: "string",
name: "string",
version: 0,
}],
desiredSize: 0,
ec2SshKey: "string",
minSize: 0,
diskSize: 0,
requestSpotInstances: false,
resourceTags: {
string: "string",
},
spotInstanceTypes: ["string"],
subnets: ["string"],
tags: {
string: "string",
},
userData: "string",
version: "string",
}],
privateAccess: false,
publicAccess: false,
publicAccessSources: ["string"],
region: "string",
secretsEncryption: false,
securityGroups: ["string"],
serviceRole: "string",
subnets: ["string"],
tags: {
string: "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",
}],
schedulingCustomizations: [{
podDisruptionBudgets: [{
maxUnavailable: "string",
minAvailable: "string",
}],
priorityClasses: [{
value: 0,
preemptionPolicy: "string",
}],
}],
}],
fleetWorkspaceName: "string",
gkeConfigV2: {
googleCredentialSecret: "string",
projectId: "string",
name: "string",
loggingService: "string",
masterAuthorizedNetworksConfig: {
cidrBlocks: [{
cidrBlock: "string",
displayName: "string",
}],
enabled: false,
},
imported: false,
ipAllocationPolicy: {
clusterIpv4CidrBlock: "string",
clusterSecondaryRangeName: "string",
createSubnetwork: false,
nodeIpv4CidrBlock: "string",
servicesIpv4CidrBlock: "string",
servicesSecondaryRangeName: "string",
subnetworkName: "string",
useIpAliases: false,
},
kubernetesVersion: "string",
labels: {
string: "string",
},
locations: ["string"],
clusterAddons: {
horizontalPodAutoscaling: false,
httpLoadBalancing: false,
networkPolicyConfig: false,
},
maintenanceWindow: "string",
enableKubernetesAlpha: false,
monitoringService: "string",
description: "string",
network: "string",
networkPolicyEnabled: false,
nodePools: [{
initialNodeCount: 0,
name: "string",
version: "string",
autoscaling: {
enabled: false,
maxNodeCount: 0,
minNodeCount: 0,
},
config: {
diskSizeGb: 0,
diskType: "string",
imageType: "string",
labels: {
string: "string",
},
localSsdCount: 0,
machineType: "string",
oauthScopes: ["string"],
preemptible: false,
serviceAccount: "string",
tags: ["string"],
taints: [{
effect: "string",
key: "string",
value: "string",
}],
},
management: {
autoRepair: false,
autoUpgrade: false,
},
maxPodsConstraint: 0,
}],
privateClusterConfig: {
masterIpv4CidrBlock: "string",
enablePrivateEndpoint: false,
enablePrivateNodes: false,
},
clusterIpv4CidrBlock: "string",
region: "string",
subnetwork: "string",
zone: "string",
},
importedConfig: {
privateRegistryUrl: "string",
},
k3sConfig: {
upgradeStrategy: {
drainServerNodes: false,
drainWorkerNodes: false,
serverConcurrency: 0,
workerConcurrency: 0,
},
version: "string",
},
labels: {
string: "string",
},
name: "string",
okeConfig: {
kubernetesVersion: "string",
compartmentId: "string",
tenancyId: "string",
region: "string",
nodeShape: "string",
nodeImage: "string",
nodePoolDnsDomainName: "string",
description: "string",
evictionGraceDuration: "string",
fingerprint: "string",
flexMemoryInGbs: 0,
flexOcpus: 0,
forceDeleteAfterGraceDuration: false,
imageVerificationKmsKeyId: "string",
kmsKeyId: "string",
enablePrivateControlPlane: false,
limitNodeCount: 0,
loadBalancerSubnetName1: "string",
loadBalancerSubnetName2: "string",
enableKubernetesDashboard: false,
clusterType: "string",
nodePoolSubnetName: "string",
nodePublicKeyContents: "string",
enablePrivateNodes: false,
nodeUserDataContents: "string",
podCidr: "string",
podNetwork: "string",
podSubnetName: "string",
privateKeyContents: "string",
privateKeyPassphrase: "string",
quantityOfNodeSubnets: 0,
quantityPerSubnet: 0,
customBootVolumeSize: 0,
serviceCidr: "string",
serviceDnsDomainName: "string",
skipVcnDelete: false,
controlPlaneSubnetName: "string",
userOcid: "string",
vcnCompartmentId: "string",
vcnName: "string",
workerNodeIngressCidr: "string",
},
rke2Config: {
upgradeStrategy: {
drainServerNodes: false,
drainWorkerNodes: false,
serverConcurrency: 0,
workerConcurrency: 0,
},
version: "string",
},
windowsPreferedCluster: false,
});
type: rancher2:Cluster
properties:
agentEnvVars:
- name: string
value: string
aksConfigV2:
authBaseUrl: string
authorizedIpRanges:
- string
baseUrl: string
cloudCredentialId: string
dnsPrefix: string
httpApplicationRouting: false
imported: false
kubernetesVersion: string
linuxAdminUsername: string
linuxSshPublicKey: string
loadBalancerSku: string
logAnalyticsWorkspaceGroup: string
logAnalyticsWorkspaceName: string
monitoring: false
name: string
networkDnsServiceIp: string
networkDockerBridgeCidr: string
networkPlugin: string
networkPodCidr: string
networkPolicy: string
networkServiceCidr: string
nodePools:
- availabilityZones:
- string
count: 0
enableAutoScaling: false
labels:
string: string
maxCount: 0
maxPods: 0
maxSurge: string
minCount: 0
mode: string
name: string
orchestratorVersion: string
osDiskSizeGb: 0
osDiskType: string
osType: string
taints:
- string
vmSize: string
nodeResourceGroup: string
outboundType: string
privateCluster: false
resourceGroup: string
resourceLocation: string
subnet: string
tags:
string: string
virtualNetwork: string
virtualNetworkResourceGroup: string
annotations:
string: string
clusterAgentDeploymentCustomizations:
- appendTolerations:
- effect: string
key: string
operator: string
seconds: 0
value: string
overrideAffinity: string
overrideResourceRequirements:
- cpuLimit: string
cpuRequest: string
memoryLimit: string
memoryRequest: string
schedulingCustomizations:
- podDisruptionBudgets:
- maxUnavailable: string
minAvailable: string
priorityClasses:
- preemptionPolicy: string
value: 0
clusterAuthEndpoint:
caCerts: string
enabled: false
fqdn: string
defaultPodSecurityAdmissionConfigurationTemplateName: string
description: string
desiredAgentImage: string
desiredAuthImage: string
dockerRootDir: string
driver: string
eksConfigV2:
cloudCredentialId: string
imported: false
ipFamily: string
kmsKey: string
kubernetesVersion: string
loggingTypes:
- string
name: string
nodeGroups:
- desiredSize: 0
diskSize: 0
ec2SshKey: string
gpu: false
imageId: string
instanceType: string
labels:
string: string
launchTemplates:
- id: string
name: string
version: 0
maxSize: 0
minSize: 0
name: string
nodeRole: string
requestSpotInstances: false
resourceTags:
string: string
spotInstanceTypes:
- string
subnets:
- string
tags:
string: string
userData: string
version: string
privateAccess: false
publicAccess: false
publicAccessSources:
- string
region: string
secretsEncryption: false
securityGroups:
- string
serviceRole: string
subnets:
- string
tags:
string: 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
schedulingCustomizations:
- podDisruptionBudgets:
- maxUnavailable: string
minAvailable: string
priorityClasses:
- preemptionPolicy: string
value: 0
fleetWorkspaceName: string
gkeConfigV2:
clusterAddons:
horizontalPodAutoscaling: false
httpLoadBalancing: false
networkPolicyConfig: false
clusterIpv4CidrBlock: string
description: string
enableKubernetesAlpha: false
googleCredentialSecret: string
imported: false
ipAllocationPolicy:
clusterIpv4CidrBlock: string
clusterSecondaryRangeName: string
createSubnetwork: false
nodeIpv4CidrBlock: string
servicesIpv4CidrBlock: string
servicesSecondaryRangeName: string
subnetworkName: string
useIpAliases: false
kubernetesVersion: string
labels:
string: string
locations:
- string
loggingService: string
maintenanceWindow: string
masterAuthorizedNetworksConfig:
cidrBlocks:
- cidrBlock: string
displayName: string
enabled: false
monitoringService: string
name: string
network: string
networkPolicyEnabled: false
nodePools:
- autoscaling:
enabled: false
maxNodeCount: 0
minNodeCount: 0
config:
diskSizeGb: 0
diskType: string
imageType: string
labels:
string: string
localSsdCount: 0
machineType: string
oauthScopes:
- string
preemptible: false
serviceAccount: string
tags:
- string
taints:
- effect: string
key: string
value: string
initialNodeCount: 0
management:
autoRepair: false
autoUpgrade: false
maxPodsConstraint: 0
name: string
version: string
privateClusterConfig:
enablePrivateEndpoint: false
enablePrivateNodes: false
masterIpv4CidrBlock: string
projectId: string
region: string
subnetwork: string
zone: string
importedConfig:
privateRegistryUrl: string
k3sConfig:
upgradeStrategy:
drainServerNodes: false
drainWorkerNodes: false
serverConcurrency: 0
workerConcurrency: 0
version: string
labels:
string: string
name: string
okeConfig:
clusterType: string
compartmentId: string
controlPlaneSubnetName: string
customBootVolumeSize: 0
description: string
enableKubernetesDashboard: false
enablePrivateControlPlane: false
enablePrivateNodes: false
evictionGraceDuration: string
fingerprint: string
flexMemoryInGbs: 0
flexOcpus: 0
forceDeleteAfterGraceDuration: false
imageVerificationKmsKeyId: string
kmsKeyId: string
kubernetesVersion: string
limitNodeCount: 0
loadBalancerSubnetName1: string
loadBalancerSubnetName2: string
nodeImage: string
nodePoolDnsDomainName: string
nodePoolSubnetName: string
nodePublicKeyContents: string
nodeShape: string
nodeUserDataContents: string
podCidr: string
podNetwork: string
podSubnetName: string
privateKeyContents: string
privateKeyPassphrase: string
quantityOfNodeSubnets: 0
quantityPerSubnet: 0
region: string
serviceCidr: string
serviceDnsDomainName: string
skipVcnDelete: false
tenancyId: string
userOcid: string
vcnCompartmentId: string
vcnName: string
workerNodeIngressCidr: string
rke2Config:
upgradeStrategy:
drainServerNodes: false
drainWorkerNodes: false
serverConcurrency: 0
workerConcurrency: 0
version: string
windowsPreferedCluster: false
Cluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Cluster resource accepts the following input properties:
- Agent
Env List<ClusterVars Agent Env Var> - Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list)
- Aks
Config ClusterV2 Aks Config V2 - The Azure AKS v2 configuration for creating/import
aksClusters. Conflicts witheksConfigV2,gkeConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - Annotations Dictionary<string, string>
- Annotations for the Cluster (map)
- Cluster
Agent List<ClusterDeployment Customizations Cluster Agent Deployment Customization> - Optional customization for cluster agent. For Rancher v2.7.5 and above (list)
- Cluster
Auth ClusterEndpoint Cluster Auth Endpoint - Enabling the local cluster authorized endpoint allows direct communication with the cluster, bypassing the Rancher API proxy. (list maxitems:1)
- Default
Pod stringSecurity Admission Configuration Template Name - 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 (string)
- Description string
- The description for Cluster (string)
- Desired
Agent stringImage - Desired agent image. For Rancher v2.3.x and above (string)
- Desired
Auth stringImage - Desired auth image. For Rancher v2.3.x and above (string)
- Docker
Root stringDir - Desired auth image. For Rancher v2.3.x and above (string)
- Driver string
- (Computed) The driver used for the Cluster.
imported,azurekubernetesservice,amazonelasticcontainerservice,googlekubernetesengineandrancherKubernetesEngineare supported (string) - Eks
Config ClusterV2 Eks Config V2 - The Amazon EKS V2 configuration to create or import
eksClusters. Conflicts withgkeConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.x and above (list maxitems:1) - Enable
Network boolPolicy - Enable project network isolation (bool)
- Fleet
Agent List<ClusterDeployment Customizations Fleet Agent Deployment Customization> - Optional customization for fleet agent. For Rancher v2.7.5 and above (list)
- Fleet
Workspace stringName - Fleet workspace name (string)
- Gke
Config ClusterV2 Gke Config V2 - The Google GKE V2 configuration for
gkeClusters. Conflicts withaksConfigV2,eksConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.8 and above (list maxitems:1) - Imported
Config ClusterImported Config - The imported configuration for generic imported Clusters. Conflicts with
aksConfigV2,eksConfigV2,gkeConfigV2,rkeConfig,rke2Configandk3sConfig(list maxitems:1) - K3s
Config ClusterK3s Config - The K3S configuration for
k3simported Clusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,okeConfigandrkeConfig(list maxitems:1) - Labels Dictionary<string, string>
- Labels for the Cluster (map)
- Name string
- The name of the Cluster (string)
- Oke
Config ClusterOke Config - The Oracle OKE configuration for
okeClusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,k3sConfigandrkeConfig(list maxitems:1) - Rke2Config
Cluster
Rke2Config - The RKE2 configuration for
rke2Clusters. Conflicts withaksConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - Windows
Prefered boolCluster - Windows preferred cluster. Default:
false(bool)
- Agent
Env []ClusterVars Agent Env Var Args - Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list)
- Aks
Config ClusterV2 Aks Config V2Args - The Azure AKS v2 configuration for creating/import
aksClusters. Conflicts witheksConfigV2,gkeConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - Annotations map[string]string
- Annotations for the Cluster (map)
- Cluster
Agent []ClusterDeployment Customizations Cluster Agent Deployment Customization Args - Optional customization for cluster agent. For Rancher v2.7.5 and above (list)
- Cluster
Auth ClusterEndpoint Cluster Auth Endpoint Args - Enabling the local cluster authorized endpoint allows direct communication with the cluster, bypassing the Rancher API proxy. (list maxitems:1)
- Default
Pod stringSecurity Admission Configuration Template Name - 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 (string)
- Description string
- The description for Cluster (string)
- Desired
Agent stringImage - Desired agent image. For Rancher v2.3.x and above (string)
- Desired
Auth stringImage - Desired auth image. For Rancher v2.3.x and above (string)
- Docker
Root stringDir - Desired auth image. For Rancher v2.3.x and above (string)
- Driver string
- (Computed) The driver used for the Cluster.
imported,azurekubernetesservice,amazonelasticcontainerservice,googlekubernetesengineandrancherKubernetesEngineare supported (string) - Eks
Config ClusterV2 Eks Config V2Args - The Amazon EKS V2 configuration to create or import
eksClusters. Conflicts withgkeConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.x and above (list maxitems:1) - Enable
Network boolPolicy - Enable project network isolation (bool)
- Fleet
Agent []ClusterDeployment Customizations Fleet Agent Deployment Customization Args - Optional customization for fleet agent. For Rancher v2.7.5 and above (list)
- Fleet
Workspace stringName - Fleet workspace name (string)
- Gke
Config ClusterV2 Gke Config V2Args - The Google GKE V2 configuration for
gkeClusters. Conflicts withaksConfigV2,eksConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.8 and above (list maxitems:1) - Imported
Config ClusterImported Config Args - The imported configuration for generic imported Clusters. Conflicts with
aksConfigV2,eksConfigV2,gkeConfigV2,rkeConfig,rke2Configandk3sConfig(list maxitems:1) - K3s
Config ClusterK3s Config Args - The K3S configuration for
k3simported Clusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,okeConfigandrkeConfig(list maxitems:1) - Labels map[string]string
- Labels for the Cluster (map)
- Name string
- The name of the Cluster (string)
- Oke
Config ClusterOke Config Args - The Oracle OKE configuration for
okeClusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,k3sConfigandrkeConfig(list maxitems:1) - Rke2Config
Cluster
Rke2Config Args - The RKE2 configuration for
rke2Clusters. Conflicts withaksConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - Windows
Prefered boolCluster - Windows preferred cluster. Default:
false(bool)
- agent_
env_ list(object)vars - Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list)
- aks_
config_ objectv2 - The Azure AKS v2 configuration for creating/import
aksClusters. Conflicts witheksConfigV2,gkeConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - annotations map(string)
- Annotations for the Cluster (map)
- cluster_
agent_ list(object)deployment_ customizations - Optional customization for cluster agent. For Rancher v2.7.5 and above (list)
- cluster_
auth_ objectendpoint - Enabling the local cluster authorized endpoint allows direct communication with the cluster, bypassing the Rancher API proxy. (list maxitems:1)
- default_
pod_ stringsecurity_ admission_ configuration_ template_ name - 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 (string)
- description string
- The description for Cluster (string)
- desired_
agent_ stringimage - Desired agent image. For Rancher v2.3.x and above (string)
- desired_
auth_ stringimage - Desired auth image. For Rancher v2.3.x and above (string)
- docker_
root_ stringdir - Desired auth image. For Rancher v2.3.x and above (string)
- driver string
- (Computed) The driver used for the Cluster.
imported,azurekubernetesservice,amazonelasticcontainerservice,googlekubernetesengineandrancherKubernetesEngineare supported (string) - eks_
config_ objectv2 - The Amazon EKS V2 configuration to create or import
eksClusters. Conflicts withgkeConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.x and above (list maxitems:1) - enable_
network_ boolpolicy - Enable project network isolation (bool)
- fleet_
agent_ list(object)deployment_ customizations - Optional customization for fleet agent. For Rancher v2.7.5 and above (list)
- fleet_
workspace_ stringname - Fleet workspace name (string)
- gke_
config_ objectv2 - The Google GKE V2 configuration for
gkeClusters. Conflicts withaksConfigV2,eksConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.8 and above (list maxitems:1) - imported_
config object - The imported configuration for generic imported Clusters. Conflicts with
aksConfigV2,eksConfigV2,gkeConfigV2,rkeConfig,rke2Configandk3sConfig(list maxitems:1) - k3s_
config object - The K3S configuration for
k3simported Clusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,okeConfigandrkeConfig(list maxitems:1) - labels map(string)
- Labels for the Cluster (map)
- name string
- The name of the Cluster (string)
- oke_
config object - The Oracle OKE configuration for
okeClusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,k3sConfigandrkeConfig(list maxitems:1) - rke2_
config object - The RKE2 configuration for
rke2Clusters. Conflicts withaksConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - windows_
prefered_ boolcluster - Windows preferred cluster. Default:
false(bool)
- agent
Env List<ClusterVars Agent Env Var> - Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list)
- aks
Config ClusterV2 Aks Config V2 - The Azure AKS v2 configuration for creating/import
aksClusters. Conflicts witheksConfigV2,gkeConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - annotations Map<String,String>
- Annotations for the Cluster (map)
- cluster
Agent List<ClusterDeployment Customizations Cluster Agent Deployment Customization> - Optional customization for cluster agent. For Rancher v2.7.5 and above (list)
- cluster
Auth ClusterEndpoint Cluster Auth Endpoint - Enabling the local cluster authorized endpoint allows direct communication with the cluster, bypassing the Rancher API proxy. (list maxitems:1)
- default
Pod StringSecurity Admission Configuration Template Name - 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 (string)
- description String
- The description for Cluster (string)
- desired
Agent StringImage - Desired agent image. For Rancher v2.3.x and above (string)
- desired
Auth StringImage - Desired auth image. For Rancher v2.3.x and above (string)
- docker
Root StringDir - Desired auth image. For Rancher v2.3.x and above (string)
- driver String
- (Computed) The driver used for the Cluster.
imported,azurekubernetesservice,amazonelasticcontainerservice,googlekubernetesengineandrancherKubernetesEngineare supported (string) - eks
Config ClusterV2 Eks Config V2 - The Amazon EKS V2 configuration to create or import
eksClusters. Conflicts withgkeConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.x and above (list maxitems:1) - enable
Network BooleanPolicy - Enable project network isolation (bool)
- fleet
Agent List<ClusterDeployment Customizations Fleet Agent Deployment Customization> - Optional customization for fleet agent. For Rancher v2.7.5 and above (list)
- fleet
Workspace StringName - Fleet workspace name (string)
- gke
Config ClusterV2 Gke Config V2 - The Google GKE V2 configuration for
gkeClusters. Conflicts withaksConfigV2,eksConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.8 and above (list maxitems:1) - imported
Config ClusterImported Config - The imported configuration for generic imported Clusters. Conflicts with
aksConfigV2,eksConfigV2,gkeConfigV2,rkeConfig,rke2Configandk3sConfig(list maxitems:1) - k3s
Config ClusterK3s Config - The K3S configuration for
k3simported Clusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,okeConfigandrkeConfig(list maxitems:1) - labels Map<String,String>
- Labels for the Cluster (map)
- name String
- The name of the Cluster (string)
- oke
Config ClusterOke Config - The Oracle OKE configuration for
okeClusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,k3sConfigandrkeConfig(list maxitems:1) - rke2Config
Cluster
Rke2Config - The RKE2 configuration for
rke2Clusters. Conflicts withaksConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - windows
Prefered BooleanCluster - Windows preferred cluster. Default:
false(bool)
- agent
Env ClusterVars Agent Env Var[] - Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list)
- aks
Config ClusterV2 Aks Config V2 - The Azure AKS v2 configuration for creating/import
aksClusters. Conflicts witheksConfigV2,gkeConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - annotations {[key: string]: string}
- Annotations for the Cluster (map)
- cluster
Agent ClusterDeployment Customizations Cluster Agent Deployment Customization[] - Optional customization for cluster agent. For Rancher v2.7.5 and above (list)
- cluster
Auth ClusterEndpoint Cluster Auth Endpoint - Enabling the local cluster authorized endpoint allows direct communication with the cluster, bypassing the Rancher API proxy. (list maxitems:1)
- default
Pod stringSecurity Admission Configuration Template Name - 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 (string)
- description string
- The description for Cluster (string)
- desired
Agent stringImage - Desired agent image. For Rancher v2.3.x and above (string)
- desired
Auth stringImage - Desired auth image. For Rancher v2.3.x and above (string)
- docker
Root stringDir - Desired auth image. For Rancher v2.3.x and above (string)
- driver string
- (Computed) The driver used for the Cluster.
imported,azurekubernetesservice,amazonelasticcontainerservice,googlekubernetesengineandrancherKubernetesEngineare supported (string) - eks
Config ClusterV2 Eks Config V2 - The Amazon EKS V2 configuration to create or import
eksClusters. Conflicts withgkeConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.x and above (list maxitems:1) - enable
Network booleanPolicy - Enable project network isolation (bool)
- fleet
Agent ClusterDeployment Customizations Fleet Agent Deployment Customization[] - Optional customization for fleet agent. For Rancher v2.7.5 and above (list)
- fleet
Workspace stringName - Fleet workspace name (string)
- gke
Config ClusterV2 Gke Config V2 - The Google GKE V2 configuration for
gkeClusters. Conflicts withaksConfigV2,eksConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.8 and above (list maxitems:1) - imported
Config ClusterImported Config - The imported configuration for generic imported Clusters. Conflicts with
aksConfigV2,eksConfigV2,gkeConfigV2,rkeConfig,rke2Configandk3sConfig(list maxitems:1) - k3s
Config ClusterK3s Config - The K3S configuration for
k3simported Clusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,okeConfigandrkeConfig(list maxitems:1) - labels {[key: string]: string}
- Labels for the Cluster (map)
- name string
- The name of the Cluster (string)
- oke
Config ClusterOke Config - The Oracle OKE configuration for
okeClusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,k3sConfigandrkeConfig(list maxitems:1) - rke2Config
Cluster
Rke2Config - The RKE2 configuration for
rke2Clusters. Conflicts withaksConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - windows
Prefered booleanCluster - Windows preferred cluster. Default:
false(bool)
- agent_
env_ Sequence[Clustervars Agent Env Var Args] - Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list)
- aks_
config_ Clusterv2 Aks Config V2Args - The Azure AKS v2 configuration for creating/import
aksClusters. Conflicts witheksConfigV2,gkeConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - annotations Mapping[str, str]
- Annotations for the Cluster (map)
- cluster_
agent_ Sequence[Clusterdeployment_ customizations Cluster Agent Deployment Customization Args] - Optional customization for cluster agent. For Rancher v2.7.5 and above (list)
- cluster_
auth_ Clusterendpoint Cluster Auth Endpoint Args - Enabling the local cluster authorized endpoint allows direct communication with the cluster, bypassing the Rancher API proxy. (list maxitems:1)
- default_
pod_ strsecurity_ admission_ configuration_ template_ name - 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 (string)
- description str
- The description for Cluster (string)
- desired_
agent_ strimage - Desired agent image. For Rancher v2.3.x and above (string)
- desired_
auth_ strimage - Desired auth image. For Rancher v2.3.x and above (string)
- docker_
root_ strdir - Desired auth image. For Rancher v2.3.x and above (string)
- driver str
- (Computed) The driver used for the Cluster.
imported,azurekubernetesservice,amazonelasticcontainerservice,googlekubernetesengineandrancherKubernetesEngineare supported (string) - eks_
config_ Clusterv2 Eks Config V2Args - The Amazon EKS V2 configuration to create or import
eksClusters. Conflicts withgkeConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.x and above (list maxitems:1) - enable_
network_ boolpolicy - Enable project network isolation (bool)
- fleet_
agent_ Sequence[Clusterdeployment_ customizations Fleet Agent Deployment Customization Args] - Optional customization for fleet agent. For Rancher v2.7.5 and above (list)
- fleet_
workspace_ strname - Fleet workspace name (string)
- gke_
config_ Clusterv2 Gke Config V2Args - The Google GKE V2 configuration for
gkeClusters. Conflicts withaksConfigV2,eksConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.8 and above (list maxitems:1) - imported_
config ClusterImported Config Args - The imported configuration for generic imported Clusters. Conflicts with
aksConfigV2,eksConfigV2,gkeConfigV2,rkeConfig,rke2Configandk3sConfig(list maxitems:1) - k3s_
config ClusterK3s Config Args - The K3S configuration for
k3simported Clusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,okeConfigandrkeConfig(list maxitems:1) - labels Mapping[str, str]
- Labels for the Cluster (map)
- name str
- The name of the Cluster (string)
- oke_
config ClusterOke Config Args - The Oracle OKE configuration for
okeClusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,k3sConfigandrkeConfig(list maxitems:1) - rke2_
config ClusterRke2Config Args - The RKE2 configuration for
rke2Clusters. Conflicts withaksConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - windows_
prefered_ boolcluster - Windows preferred cluster. Default:
false(bool)
- agent
Env List<Property Map>Vars - Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list)
- aks
Config Property MapV2 - The Azure AKS v2 configuration for creating/import
aksClusters. Conflicts witheksConfigV2,gkeConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - annotations Map<String>
- Annotations for the Cluster (map)
- cluster
Agent List<Property Map>Deployment Customizations - Optional customization for cluster agent. For Rancher v2.7.5 and above (list)
- cluster
Auth Property MapEndpoint - Enabling the local cluster authorized endpoint allows direct communication with the cluster, bypassing the Rancher API proxy. (list maxitems:1)
- default
Pod StringSecurity Admission Configuration Template Name - 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 (string)
- description String
- The description for Cluster (string)
- desired
Agent StringImage - Desired agent image. For Rancher v2.3.x and above (string)
- desired
Auth StringImage - Desired auth image. For Rancher v2.3.x and above (string)
- docker
Root StringDir - Desired auth image. For Rancher v2.3.x and above (string)
- driver String
- (Computed) The driver used for the Cluster.
imported,azurekubernetesservice,amazonelasticcontainerservice,googlekubernetesengineandrancherKubernetesEngineare supported (string) - eks
Config Property MapV2 - The Amazon EKS V2 configuration to create or import
eksClusters. Conflicts withgkeConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.x and above (list maxitems:1) - enable
Network BooleanPolicy - Enable project network isolation (bool)
- fleet
Agent List<Property Map>Deployment Customizations - Optional customization for fleet agent. For Rancher v2.7.5 and above (list)
- fleet
Workspace StringName - Fleet workspace name (string)
- gke
Config Property MapV2 - The Google GKE V2 configuration for
gkeClusters. Conflicts withaksConfigV2,eksConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.8 and above (list maxitems:1) - imported
Config Property Map - The imported configuration for generic imported Clusters. Conflicts with
aksConfigV2,eksConfigV2,gkeConfigV2,rkeConfig,rke2Configandk3sConfig(list maxitems:1) - k3s
Config Property Map - The K3S configuration for
k3simported Clusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,okeConfigandrkeConfig(list maxitems:1) - labels Map<String>
- Labels for the Cluster (map)
- name String
- The name of the Cluster (string)
- oke
Config Property Map - The Oracle OKE configuration for
okeClusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,k3sConfigandrkeConfig(list maxitems:1) - rke2Config Property Map
- The RKE2 configuration for
rke2Clusters. Conflicts withaksConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - windows
Prefered BooleanCluster - Windows preferred cluster. Default:
false(bool)
Outputs
All input properties are implicitly available as output properties. Additionally, the Cluster resource produces the following output properties:
- Ca
Cert string - (Computed/Sensitive) K8s cluster ca cert (string)
- Cluster
Registration ClusterToken Cluster Registration Token - (Computed) Cluster Registration Token generated for the cluster (list maxitems:1)
- Default
Project stringId - (Computed) Default project ID for the cluster (string)
- Enable
Cluster boolIstio - Deploy istio on
systemproject andistio-systemnamespace, using rancher2App resource instead. See above example. - Id string
- The provider-assigned unique ID for this managed resource.
- Istio
Enabled bool - (Computed) Is istio enabled at cluster? For Rancher v2.3.x and above (bool)
- Kube
Config string - (Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has
clusterAuthEndpointenabled, the kubeConfig will not be available until the cluster isconnected(string) - System
Project stringId - (Computed) System project ID for the cluster (string)
- Ca
Cert string - (Computed/Sensitive) K8s cluster ca cert (string)
- Cluster
Registration ClusterToken Cluster Registration Token - (Computed) Cluster Registration Token generated for the cluster (list maxitems:1)
- Default
Project stringId - (Computed) Default project ID for the cluster (string)
- Enable
Cluster boolIstio - Deploy istio on
systemproject andistio-systemnamespace, using rancher2App resource instead. See above example. - Id string
- The provider-assigned unique ID for this managed resource.
- Istio
Enabled bool - (Computed) Is istio enabled at cluster? For Rancher v2.3.x and above (bool)
- Kube
Config string - (Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has
clusterAuthEndpointenabled, the kubeConfig will not be available until the cluster isconnected(string) - System
Project stringId - (Computed) System project ID for the cluster (string)
- ca_
cert string - (Computed/Sensitive) K8s cluster ca cert (string)
- cluster_
registration_ objecttoken - (Computed) Cluster Registration Token generated for the cluster (list maxitems:1)
- default_
project_ stringid - (Computed) Default project ID for the cluster (string)
- enable_
cluster_ boolistio - Deploy istio on
systemproject andistio-systemnamespace, using rancher2App resource instead. See above example. - id string
- The provider-assigned unique ID for this managed resource.
- istio_
enabled bool - (Computed) Is istio enabled at cluster? For Rancher v2.3.x and above (bool)
- kube_
config string - (Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has
clusterAuthEndpointenabled, the kubeConfig will not be available until the cluster isconnected(string) - system_
project_ stringid - (Computed) System project ID for the cluster (string)
- ca
Cert String - (Computed/Sensitive) K8s cluster ca cert (string)
- cluster
Registration ClusterToken Cluster Registration Token - (Computed) Cluster Registration Token generated for the cluster (list maxitems:1)
- default
Project StringId - (Computed) Default project ID for the cluster (string)
- enable
Cluster BooleanIstio - Deploy istio on
systemproject andistio-systemnamespace, using rancher2App resource instead. See above example. - id String
- The provider-assigned unique ID for this managed resource.
- istio
Enabled Boolean - (Computed) Is istio enabled at cluster? For Rancher v2.3.x and above (bool)
- kube
Config String - (Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has
clusterAuthEndpointenabled, the kubeConfig will not be available until the cluster isconnected(string) - system
Project StringId - (Computed) System project ID for the cluster (string)
- ca
Cert string - (Computed/Sensitive) K8s cluster ca cert (string)
- cluster
Registration ClusterToken Cluster Registration Token - (Computed) Cluster Registration Token generated for the cluster (list maxitems:1)
- default
Project stringId - (Computed) Default project ID for the cluster (string)
- enable
Cluster booleanIstio - Deploy istio on
systemproject andistio-systemnamespace, using rancher2App resource instead. See above example. - id string
- The provider-assigned unique ID for this managed resource.
- istio
Enabled boolean - (Computed) Is istio enabled at cluster? For Rancher v2.3.x and above (bool)
- kube
Config string - (Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has
clusterAuthEndpointenabled, the kubeConfig will not be available until the cluster isconnected(string) - system
Project stringId - (Computed) System project ID for the cluster (string)
- ca_
cert str - (Computed/Sensitive) K8s cluster ca cert (string)
- cluster_
registration_ Clustertoken Cluster Registration Token - (Computed) Cluster Registration Token generated for the cluster (list maxitems:1)
- default_
project_ strid - (Computed) Default project ID for the cluster (string)
- enable_
cluster_ boolistio - Deploy istio on
systemproject andistio-systemnamespace, using rancher2App resource instead. See above example. - id str
- The provider-assigned unique ID for this managed resource.
- istio_
enabled bool - (Computed) Is istio enabled at cluster? For Rancher v2.3.x and above (bool)
- kube_
config str - (Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has
clusterAuthEndpointenabled, the kubeConfig will not be available until the cluster isconnected(string) - system_
project_ strid - (Computed) System project ID for the cluster (string)
- ca
Cert String - (Computed/Sensitive) K8s cluster ca cert (string)
- cluster
Registration Property MapToken - (Computed) Cluster Registration Token generated for the cluster (list maxitems:1)
- default
Project StringId - (Computed) Default project ID for the cluster (string)
- enable
Cluster BooleanIstio - Deploy istio on
systemproject andistio-systemnamespace, using rancher2App resource instead. See above example. - id String
- The provider-assigned unique ID for this managed resource.
- istio
Enabled Boolean - (Computed) Is istio enabled at cluster? For Rancher v2.3.x and above (bool)
- kube
Config String - (Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has
clusterAuthEndpointenabled, the kubeConfig will not be available until the cluster isconnected(string) - system
Project StringId - (Computed) System project ID for the cluster (string)
Look up Existing Cluster Resource
Get an existing Cluster 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?: ClusterState, opts?: CustomResourceOptions): Cluster@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
agent_env_vars: Optional[Sequence[ClusterAgentEnvVarArgs]] = None,
aks_config_v2: Optional[ClusterAksConfigV2Args] = None,
annotations: Optional[Mapping[str, str]] = None,
ca_cert: Optional[str] = None,
cluster_agent_deployment_customizations: Optional[Sequence[ClusterClusterAgentDeploymentCustomizationArgs]] = None,
cluster_auth_endpoint: Optional[ClusterClusterAuthEndpointArgs] = None,
cluster_registration_token: Optional[ClusterClusterRegistrationTokenArgs] = None,
default_pod_security_admission_configuration_template_name: Optional[str] = None,
default_project_id: Optional[str] = None,
description: Optional[str] = None,
desired_agent_image: Optional[str] = None,
desired_auth_image: Optional[str] = None,
docker_root_dir: Optional[str] = None,
driver: Optional[str] = None,
eks_config_v2: Optional[ClusterEksConfigV2Args] = None,
enable_cluster_istio: Optional[bool] = None,
enable_network_policy: Optional[bool] = None,
fleet_agent_deployment_customizations: Optional[Sequence[ClusterFleetAgentDeploymentCustomizationArgs]] = None,
fleet_workspace_name: Optional[str] = None,
gke_config_v2: Optional[ClusterGkeConfigV2Args] = None,
imported_config: Optional[ClusterImportedConfigArgs] = None,
istio_enabled: Optional[bool] = None,
k3s_config: Optional[ClusterK3sConfigArgs] = None,
kube_config: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
oke_config: Optional[ClusterOkeConfigArgs] = None,
rke2_config: Optional[ClusterRke2ConfigArgs] = None,
system_project_id: Optional[str] = None,
windows_prefered_cluster: Optional[bool] = None) -> Clusterfunc GetCluster(ctx *Context, name string, id IDInput, state *ClusterState, opts ...ResourceOption) (*Cluster, error)public static Cluster Get(string name, Input<string> id, ClusterState? state, CustomResourceOptions? opts = null)public static Cluster get(String name, Output<String> id, ClusterState state, CustomResourceOptions options)resources: _: type: rancher2:Cluster get: id: ${id}import {
to = rancher2_cluster.example
id = "${id}"
}
- 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.
- Agent
Env List<ClusterVars Agent Env Var> - Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list)
- Aks
Config ClusterV2 Aks Config V2 - The Azure AKS v2 configuration for creating/import
aksClusters. Conflicts witheksConfigV2,gkeConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - Annotations Dictionary<string, string>
- Annotations for the Cluster (map)
- Ca
Cert string - (Computed/Sensitive) K8s cluster ca cert (string)
- Cluster
Agent List<ClusterDeployment Customizations Cluster Agent Deployment Customization> - Optional customization for cluster agent. For Rancher v2.7.5 and above (list)
- Cluster
Auth ClusterEndpoint Cluster Auth Endpoint - Enabling the local cluster authorized endpoint allows direct communication with the cluster, bypassing the Rancher API proxy. (list maxitems:1)
- Cluster
Registration ClusterToken Cluster Registration Token - (Computed) Cluster Registration Token generated for the cluster (list maxitems:1)
- Default
Pod stringSecurity Admission Configuration Template Name - 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 (string)
- Default
Project stringId - (Computed) Default project ID for the cluster (string)
- Description string
- The description for Cluster (string)
- Desired
Agent stringImage - Desired agent image. For Rancher v2.3.x and above (string)
- Desired
Auth stringImage - Desired auth image. For Rancher v2.3.x and above (string)
- Docker
Root stringDir - Desired auth image. For Rancher v2.3.x and above (string)
- Driver string
- (Computed) The driver used for the Cluster.
imported,azurekubernetesservice,amazonelasticcontainerservice,googlekubernetesengineandrancherKubernetesEngineare supported (string) - Eks
Config ClusterV2 Eks Config V2 - The Amazon EKS V2 configuration to create or import
eksClusters. Conflicts withgkeConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.x and above (list maxitems:1) - Enable
Cluster boolIstio - Deploy istio on
systemproject andistio-systemnamespace, using rancher2App resource instead. See above example. - Enable
Network boolPolicy - Enable project network isolation (bool)
- Fleet
Agent List<ClusterDeployment Customizations Fleet Agent Deployment Customization> - Optional customization for fleet agent. For Rancher v2.7.5 and above (list)
- Fleet
Workspace stringName - Fleet workspace name (string)
- Gke
Config ClusterV2 Gke Config V2 - The Google GKE V2 configuration for
gkeClusters. Conflicts withaksConfigV2,eksConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.8 and above (list maxitems:1) - Imported
Config ClusterImported Config - The imported configuration for generic imported Clusters. Conflicts with
aksConfigV2,eksConfigV2,gkeConfigV2,rkeConfig,rke2Configandk3sConfig(list maxitems:1) - Istio
Enabled bool - (Computed) Is istio enabled at cluster? For Rancher v2.3.x and above (bool)
- K3s
Config ClusterK3s Config - The K3S configuration for
k3simported Clusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,okeConfigandrkeConfig(list maxitems:1) - Kube
Config string - (Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has
clusterAuthEndpointenabled, the kubeConfig will not be available until the cluster isconnected(string) - Labels Dictionary<string, string>
- Labels for the Cluster (map)
- Name string
- The name of the Cluster (string)
- Oke
Config ClusterOke Config - The Oracle OKE configuration for
okeClusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,k3sConfigandrkeConfig(list maxitems:1) - Rke2Config
Cluster
Rke2Config - The RKE2 configuration for
rke2Clusters. Conflicts withaksConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - System
Project stringId - (Computed) System project ID for the cluster (string)
- Windows
Prefered boolCluster - Windows preferred cluster. Default:
false(bool)
- Agent
Env []ClusterVars Agent Env Var Args - Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list)
- Aks
Config ClusterV2 Aks Config V2Args - The Azure AKS v2 configuration for creating/import
aksClusters. Conflicts witheksConfigV2,gkeConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - Annotations map[string]string
- Annotations for the Cluster (map)
- Ca
Cert string - (Computed/Sensitive) K8s cluster ca cert (string)
- Cluster
Agent []ClusterDeployment Customizations Cluster Agent Deployment Customization Args - Optional customization for cluster agent. For Rancher v2.7.5 and above (list)
- Cluster
Auth ClusterEndpoint Cluster Auth Endpoint Args - Enabling the local cluster authorized endpoint allows direct communication with the cluster, bypassing the Rancher API proxy. (list maxitems:1)
- Cluster
Registration ClusterToken Cluster Registration Token Args - (Computed) Cluster Registration Token generated for the cluster (list maxitems:1)
- Default
Pod stringSecurity Admission Configuration Template Name - 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 (string)
- Default
Project stringId - (Computed) Default project ID for the cluster (string)
- Description string
- The description for Cluster (string)
- Desired
Agent stringImage - Desired agent image. For Rancher v2.3.x and above (string)
- Desired
Auth stringImage - Desired auth image. For Rancher v2.3.x and above (string)
- Docker
Root stringDir - Desired auth image. For Rancher v2.3.x and above (string)
- Driver string
- (Computed) The driver used for the Cluster.
imported,azurekubernetesservice,amazonelasticcontainerservice,googlekubernetesengineandrancherKubernetesEngineare supported (string) - Eks
Config ClusterV2 Eks Config V2Args - The Amazon EKS V2 configuration to create or import
eksClusters. Conflicts withgkeConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.x and above (list maxitems:1) - Enable
Cluster boolIstio - Deploy istio on
systemproject andistio-systemnamespace, using rancher2App resource instead. See above example. - Enable
Network boolPolicy - Enable project network isolation (bool)
- Fleet
Agent []ClusterDeployment Customizations Fleet Agent Deployment Customization Args - Optional customization for fleet agent. For Rancher v2.7.5 and above (list)
- Fleet
Workspace stringName - Fleet workspace name (string)
- Gke
Config ClusterV2 Gke Config V2Args - The Google GKE V2 configuration for
gkeClusters. Conflicts withaksConfigV2,eksConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.8 and above (list maxitems:1) - Imported
Config ClusterImported Config Args - The imported configuration for generic imported Clusters. Conflicts with
aksConfigV2,eksConfigV2,gkeConfigV2,rkeConfig,rke2Configandk3sConfig(list maxitems:1) - Istio
Enabled bool - (Computed) Is istio enabled at cluster? For Rancher v2.3.x and above (bool)
- K3s
Config ClusterK3s Config Args - The K3S configuration for
k3simported Clusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,okeConfigandrkeConfig(list maxitems:1) - Kube
Config string - (Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has
clusterAuthEndpointenabled, the kubeConfig will not be available until the cluster isconnected(string) - Labels map[string]string
- Labels for the Cluster (map)
- Name string
- The name of the Cluster (string)
- Oke
Config ClusterOke Config Args - The Oracle OKE configuration for
okeClusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,k3sConfigandrkeConfig(list maxitems:1) - Rke2Config
Cluster
Rke2Config Args - The RKE2 configuration for
rke2Clusters. Conflicts withaksConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - System
Project stringId - (Computed) System project ID for the cluster (string)
- Windows
Prefered boolCluster - Windows preferred cluster. Default:
false(bool)
- agent_
env_ list(object)vars - Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list)
- aks_
config_ objectv2 - The Azure AKS v2 configuration for creating/import
aksClusters. Conflicts witheksConfigV2,gkeConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - annotations map(string)
- Annotations for the Cluster (map)
- ca_
cert string - (Computed/Sensitive) K8s cluster ca cert (string)
- cluster_
agent_ list(object)deployment_ customizations - Optional customization for cluster agent. For Rancher v2.7.5 and above (list)
- cluster_
auth_ objectendpoint - Enabling the local cluster authorized endpoint allows direct communication with the cluster, bypassing the Rancher API proxy. (list maxitems:1)
- cluster_
registration_ objecttoken - (Computed) Cluster Registration Token generated for the cluster (list maxitems:1)
- default_
pod_ stringsecurity_ admission_ configuration_ template_ name - 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 (string)
- default_
project_ stringid - (Computed) Default project ID for the cluster (string)
- description string
- The description for Cluster (string)
- desired_
agent_ stringimage - Desired agent image. For Rancher v2.3.x and above (string)
- desired_
auth_ stringimage - Desired auth image. For Rancher v2.3.x and above (string)
- docker_
root_ stringdir - Desired auth image. For Rancher v2.3.x and above (string)
- driver string
- (Computed) The driver used for the Cluster.
imported,azurekubernetesservice,amazonelasticcontainerservice,googlekubernetesengineandrancherKubernetesEngineare supported (string) - eks_
config_ objectv2 - The Amazon EKS V2 configuration to create or import
eksClusters. Conflicts withgkeConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.x and above (list maxitems:1) - enable_
cluster_ boolistio - Deploy istio on
systemproject andistio-systemnamespace, using rancher2App resource instead. See above example. - enable_
network_ boolpolicy - Enable project network isolation (bool)
- fleet_
agent_ list(object)deployment_ customizations - Optional customization for fleet agent. For Rancher v2.7.5 and above (list)
- fleet_
workspace_ stringname - Fleet workspace name (string)
- gke_
config_ objectv2 - The Google GKE V2 configuration for
gkeClusters. Conflicts withaksConfigV2,eksConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.8 and above (list maxitems:1) - imported_
config object - The imported configuration for generic imported Clusters. Conflicts with
aksConfigV2,eksConfigV2,gkeConfigV2,rkeConfig,rke2Configandk3sConfig(list maxitems:1) - istio_
enabled bool - (Computed) Is istio enabled at cluster? For Rancher v2.3.x and above (bool)
- k3s_
config object - The K3S configuration for
k3simported Clusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,okeConfigandrkeConfig(list maxitems:1) - kube_
config string - (Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has
clusterAuthEndpointenabled, the kubeConfig will not be available until the cluster isconnected(string) - labels map(string)
- Labels for the Cluster (map)
- name string
- The name of the Cluster (string)
- oke_
config object - The Oracle OKE configuration for
okeClusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,k3sConfigandrkeConfig(list maxitems:1) - rke2_
config object - The RKE2 configuration for
rke2Clusters. Conflicts withaksConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - system_
project_ stringid - (Computed) System project ID for the cluster (string)
- windows_
prefered_ boolcluster - Windows preferred cluster. Default:
false(bool)
- agent
Env List<ClusterVars Agent Env Var> - Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list)
- aks
Config ClusterV2 Aks Config V2 - The Azure AKS v2 configuration for creating/import
aksClusters. Conflicts witheksConfigV2,gkeConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - annotations Map<String,String>
- Annotations for the Cluster (map)
- ca
Cert String - (Computed/Sensitive) K8s cluster ca cert (string)
- cluster
Agent List<ClusterDeployment Customizations Cluster Agent Deployment Customization> - Optional customization for cluster agent. For Rancher v2.7.5 and above (list)
- cluster
Auth ClusterEndpoint Cluster Auth Endpoint - Enabling the local cluster authorized endpoint allows direct communication with the cluster, bypassing the Rancher API proxy. (list maxitems:1)
- cluster
Registration ClusterToken Cluster Registration Token - (Computed) Cluster Registration Token generated for the cluster (list maxitems:1)
- default
Pod StringSecurity Admission Configuration Template Name - 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 (string)
- default
Project StringId - (Computed) Default project ID for the cluster (string)
- description String
- The description for Cluster (string)
- desired
Agent StringImage - Desired agent image. For Rancher v2.3.x and above (string)
- desired
Auth StringImage - Desired auth image. For Rancher v2.3.x and above (string)
- docker
Root StringDir - Desired auth image. For Rancher v2.3.x and above (string)
- driver String
- (Computed) The driver used for the Cluster.
imported,azurekubernetesservice,amazonelasticcontainerservice,googlekubernetesengineandrancherKubernetesEngineare supported (string) - eks
Config ClusterV2 Eks Config V2 - The Amazon EKS V2 configuration to create or import
eksClusters. Conflicts withgkeConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.x and above (list maxitems:1) - enable
Cluster BooleanIstio - Deploy istio on
systemproject andistio-systemnamespace, using rancher2App resource instead. See above example. - enable
Network BooleanPolicy - Enable project network isolation (bool)
- fleet
Agent List<ClusterDeployment Customizations Fleet Agent Deployment Customization> - Optional customization for fleet agent. For Rancher v2.7.5 and above (list)
- fleet
Workspace StringName - Fleet workspace name (string)
- gke
Config ClusterV2 Gke Config V2 - The Google GKE V2 configuration for
gkeClusters. Conflicts withaksConfigV2,eksConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.8 and above (list maxitems:1) - imported
Config ClusterImported Config - The imported configuration for generic imported Clusters. Conflicts with
aksConfigV2,eksConfigV2,gkeConfigV2,rkeConfig,rke2Configandk3sConfig(list maxitems:1) - istio
Enabled Boolean - (Computed) Is istio enabled at cluster? For Rancher v2.3.x and above (bool)
- k3s
Config ClusterK3s Config - The K3S configuration for
k3simported Clusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,okeConfigandrkeConfig(list maxitems:1) - kube
Config String - (Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has
clusterAuthEndpointenabled, the kubeConfig will not be available until the cluster isconnected(string) - labels Map<String,String>
- Labels for the Cluster (map)
- name String
- The name of the Cluster (string)
- oke
Config ClusterOke Config - The Oracle OKE configuration for
okeClusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,k3sConfigandrkeConfig(list maxitems:1) - rke2Config
Cluster
Rke2Config - The RKE2 configuration for
rke2Clusters. Conflicts withaksConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - system
Project StringId - (Computed) System project ID for the cluster (string)
- windows
Prefered BooleanCluster - Windows preferred cluster. Default:
false(bool)
- agent
Env ClusterVars Agent Env Var[] - Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list)
- aks
Config ClusterV2 Aks Config V2 - The Azure AKS v2 configuration for creating/import
aksClusters. Conflicts witheksConfigV2,gkeConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - annotations {[key: string]: string}
- Annotations for the Cluster (map)
- ca
Cert string - (Computed/Sensitive) K8s cluster ca cert (string)
- cluster
Agent ClusterDeployment Customizations Cluster Agent Deployment Customization[] - Optional customization for cluster agent. For Rancher v2.7.5 and above (list)
- cluster
Auth ClusterEndpoint Cluster Auth Endpoint - Enabling the local cluster authorized endpoint allows direct communication with the cluster, bypassing the Rancher API proxy. (list maxitems:1)
- cluster
Registration ClusterToken Cluster Registration Token - (Computed) Cluster Registration Token generated for the cluster (list maxitems:1)
- default
Pod stringSecurity Admission Configuration Template Name - 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 (string)
- default
Project stringId - (Computed) Default project ID for the cluster (string)
- description string
- The description for Cluster (string)
- desired
Agent stringImage - Desired agent image. For Rancher v2.3.x and above (string)
- desired
Auth stringImage - Desired auth image. For Rancher v2.3.x and above (string)
- docker
Root stringDir - Desired auth image. For Rancher v2.3.x and above (string)
- driver string
- (Computed) The driver used for the Cluster.
imported,azurekubernetesservice,amazonelasticcontainerservice,googlekubernetesengineandrancherKubernetesEngineare supported (string) - eks
Config ClusterV2 Eks Config V2 - The Amazon EKS V2 configuration to create or import
eksClusters. Conflicts withgkeConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.x and above (list maxitems:1) - enable
Cluster booleanIstio - Deploy istio on
systemproject andistio-systemnamespace, using rancher2App resource instead. See above example. - enable
Network booleanPolicy - Enable project network isolation (bool)
- fleet
Agent ClusterDeployment Customizations Fleet Agent Deployment Customization[] - Optional customization for fleet agent. For Rancher v2.7.5 and above (list)
- fleet
Workspace stringName - Fleet workspace name (string)
- gke
Config ClusterV2 Gke Config V2 - The Google GKE V2 configuration for
gkeClusters. Conflicts withaksConfigV2,eksConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.8 and above (list maxitems:1) - imported
Config ClusterImported Config - The imported configuration for generic imported Clusters. Conflicts with
aksConfigV2,eksConfigV2,gkeConfigV2,rkeConfig,rke2Configandk3sConfig(list maxitems:1) - istio
Enabled boolean - (Computed) Is istio enabled at cluster? For Rancher v2.3.x and above (bool)
- k3s
Config ClusterK3s Config - The K3S configuration for
k3simported Clusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,okeConfigandrkeConfig(list maxitems:1) - kube
Config string - (Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has
clusterAuthEndpointenabled, the kubeConfig will not be available until the cluster isconnected(string) - labels {[key: string]: string}
- Labels for the Cluster (map)
- name string
- The name of the Cluster (string)
- oke
Config ClusterOke Config - The Oracle OKE configuration for
okeClusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,k3sConfigandrkeConfig(list maxitems:1) - rke2Config
Cluster
Rke2Config - The RKE2 configuration for
rke2Clusters. Conflicts withaksConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - system
Project stringId - (Computed) System project ID for the cluster (string)
- windows
Prefered booleanCluster - Windows preferred cluster. Default:
false(bool)
- agent_
env_ Sequence[Clustervars Agent Env Var Args] - Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list)
- aks_
config_ Clusterv2 Aks Config V2Args - The Azure AKS v2 configuration for creating/import
aksClusters. Conflicts witheksConfigV2,gkeConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - annotations Mapping[str, str]
- Annotations for the Cluster (map)
- ca_
cert str - (Computed/Sensitive) K8s cluster ca cert (string)
- cluster_
agent_ Sequence[Clusterdeployment_ customizations Cluster Agent Deployment Customization Args] - Optional customization for cluster agent. For Rancher v2.7.5 and above (list)
- cluster_
auth_ Clusterendpoint Cluster Auth Endpoint Args - Enabling the local cluster authorized endpoint allows direct communication with the cluster, bypassing the Rancher API proxy. (list maxitems:1)
- cluster_
registration_ Clustertoken Cluster Registration Token Args - (Computed) Cluster Registration Token generated for the cluster (list maxitems:1)
- default_
pod_ strsecurity_ admission_ configuration_ template_ name - 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 (string)
- default_
project_ strid - (Computed) Default project ID for the cluster (string)
- description str
- The description for Cluster (string)
- desired_
agent_ strimage - Desired agent image. For Rancher v2.3.x and above (string)
- desired_
auth_ strimage - Desired auth image. For Rancher v2.3.x and above (string)
- docker_
root_ strdir - Desired auth image. For Rancher v2.3.x and above (string)
- driver str
- (Computed) The driver used for the Cluster.
imported,azurekubernetesservice,amazonelasticcontainerservice,googlekubernetesengineandrancherKubernetesEngineare supported (string) - eks_
config_ Clusterv2 Eks Config V2Args - The Amazon EKS V2 configuration to create or import
eksClusters. Conflicts withgkeConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.x and above (list maxitems:1) - enable_
cluster_ boolistio - Deploy istio on
systemproject andistio-systemnamespace, using rancher2App resource instead. See above example. - enable_
network_ boolpolicy - Enable project network isolation (bool)
- fleet_
agent_ Sequence[Clusterdeployment_ customizations Fleet Agent Deployment Customization Args] - Optional customization for fleet agent. For Rancher v2.7.5 and above (list)
- fleet_
workspace_ strname - Fleet workspace name (string)
- gke_
config_ Clusterv2 Gke Config V2Args - The Google GKE V2 configuration for
gkeClusters. Conflicts withaksConfigV2,eksConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.8 and above (list maxitems:1) - imported_
config ClusterImported Config Args - The imported configuration for generic imported Clusters. Conflicts with
aksConfigV2,eksConfigV2,gkeConfigV2,rkeConfig,rke2Configandk3sConfig(list maxitems:1) - istio_
enabled bool - (Computed) Is istio enabled at cluster? For Rancher v2.3.x and above (bool)
- k3s_
config ClusterK3s Config Args - The K3S configuration for
k3simported Clusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,okeConfigandrkeConfig(list maxitems:1) - kube_
config str - (Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has
clusterAuthEndpointenabled, the kubeConfig will not be available until the cluster isconnected(string) - labels Mapping[str, str]
- Labels for the Cluster (map)
- name str
- The name of the Cluster (string)
- oke_
config ClusterOke Config Args - The Oracle OKE configuration for
okeClusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,k3sConfigandrkeConfig(list maxitems:1) - rke2_
config ClusterRke2Config Args - The RKE2 configuration for
rke2Clusters. Conflicts withaksConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - system_
project_ strid - (Computed) System project ID for the cluster (string)
- windows_
prefered_ boolcluster - Windows preferred cluster. Default:
false(bool)
- agent
Env List<Property Map>Vars - Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list)
- aks
Config Property MapV2 - The Azure AKS v2 configuration for creating/import
aksClusters. Conflicts witheksConfigV2,gkeConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - annotations Map<String>
- Annotations for the Cluster (map)
- ca
Cert String - (Computed/Sensitive) K8s cluster ca cert (string)
- cluster
Agent List<Property Map>Deployment Customizations - Optional customization for cluster agent. For Rancher v2.7.5 and above (list)
- cluster
Auth Property MapEndpoint - Enabling the local cluster authorized endpoint allows direct communication with the cluster, bypassing the Rancher API proxy. (list maxitems:1)
- cluster
Registration Property MapToken - (Computed) Cluster Registration Token generated for the cluster (list maxitems:1)
- default
Pod StringSecurity Admission Configuration Template Name - 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 (string)
- default
Project StringId - (Computed) Default project ID for the cluster (string)
- description String
- The description for Cluster (string)
- desired
Agent StringImage - Desired agent image. For Rancher v2.3.x and above (string)
- desired
Auth StringImage - Desired auth image. For Rancher v2.3.x and above (string)
- docker
Root StringDir - Desired auth image. For Rancher v2.3.x and above (string)
- driver String
- (Computed) The driver used for the Cluster.
imported,azurekubernetesservice,amazonelasticcontainerservice,googlekubernetesengineandrancherKubernetesEngineare supported (string) - eks
Config Property MapV2 - The Amazon EKS V2 configuration to create or import
eksClusters. Conflicts withgkeConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.x and above (list maxitems:1) - enable
Cluster BooleanIstio - Deploy istio on
systemproject andistio-systemnamespace, using rancher2App resource instead. See above example. - enable
Network BooleanPolicy - Enable project network isolation (bool)
- fleet
Agent List<Property Map>Deployment Customizations - Optional customization for fleet agent. For Rancher v2.7.5 and above (list)
- fleet
Workspace StringName - Fleet workspace name (string)
- gke
Config Property MapV2 - The Google GKE V2 configuration for
gkeClusters. Conflicts withaksConfigV2,eksConfigV2,k3sConfig,okeConfigandrkeConfig. For Rancher v2.5.8 and above (list maxitems:1) - imported
Config Property Map - The imported configuration for generic imported Clusters. Conflicts with
aksConfigV2,eksConfigV2,gkeConfigV2,rkeConfig,rke2Configandk3sConfig(list maxitems:1) - istio
Enabled Boolean - (Computed) Is istio enabled at cluster? For Rancher v2.3.x and above (bool)
- k3s
Config Property Map - The K3S configuration for
k3simported Clusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,okeConfigandrkeConfig(list maxitems:1) - kube
Config String - (Computed/Sensitive) Kube Config generated for the cluster. Note: For Rancher 2.6.0 and above, when the cluster has
clusterAuthEndpointenabled, the kubeConfig will not be available until the cluster isconnected(string) - labels Map<String>
- Labels for the Cluster (map)
- name String
- The name of the Cluster (string)
- oke
Config Property Map - The Oracle OKE configuration for
okeClusters. Conflicts withaksConfigV2,eksConfigV2,gkeConfigV2,k3sConfigandrkeConfig(list maxitems:1) - rke2Config Property Map
- The RKE2 configuration for
rke2Clusters. Conflicts withaksConfigV2,k3sConfig,okeConfigandrkeConfig(list maxitems:1) - system
Project StringId - (Computed) System project ID for the cluster (string)
- windows
Prefered BooleanCluster - Windows preferred cluster. Default:
false(bool)
Supporting Types
ClusterAgentEnvVar, ClusterAgentEnvVarArgs
ClusterAksConfigV2, ClusterAksConfigV2Args
- Cloud
Credential stringId - The AKS Cloud Credential ID to use
- Resource
Group string - The AKS resource group
- Resource
Location string - The AKS resource location
- Auth
Base stringUrl - The AKS auth base url
- List<string>
- The AKS authorized ip ranges
- Base
Url string - The AKS base url
- Dns
Prefix string - The AKS dns prefix. Required if
import=false - Http
Application boolRouting - Enable AKS http application routing?
- Imported bool
- Is AKS cluster imported?
- Kubernetes
Version string - The kubernetes master version. Required if
import=false - Linux
Admin stringUsername - The AKS linux admin username
- Linux
Ssh stringPublic Key - The AKS linux ssh public key
- Load
Balancer stringSku - The AKS load balancer sku
- Log
Analytics stringWorkspace Group - The AKS log analytics workspace group
- Log
Analytics stringWorkspace Name - The AKS log analytics workspace name
- Monitoring bool
- Is AKS cluster monitoring enabled?
- Name string
- The name of the Cluster (string)
- Network
Dns stringService Ip - The AKS network dns service ip
- Network
Docker stringBridge Cidr - The AKS network docker bridge cidr
- Network
Plugin string - The AKS network plugin. Required if
import=false - Network
Pod stringCidr - The AKS network pod cidr
- Network
Policy string - The AKS network policy
- Network
Service stringCidr - The AKS network service cidr
- Node
Pools List<ClusterAks Config V2Node Pool> - The AKS node pools to use. Required if
import=false - Node
Resource stringGroup - The AKS node resource group name
- Outbound
Type string - The AKS outbound type for the egress traffic
- Private
Cluster bool - Is AKS cluster private?
- Subnet string
- The AKS subnet
- Dictionary<string, string>
- The AKS cluster tags
- Virtual
Network string - The AKS virtual network
- Virtual
Network stringResource Group - The AKS virtual network resource group
- Cloud
Credential stringId - The AKS Cloud Credential ID to use
- Resource
Group string - The AKS resource group
- Resource
Location string - The AKS resource location
- Auth
Base stringUrl - The AKS auth base url
- []string
- The AKS authorized ip ranges
- Base
Url string - The AKS base url
- Dns
Prefix string - The AKS dns prefix. Required if
import=false - Http
Application boolRouting - Enable AKS http application routing?
- Imported bool
- Is AKS cluster imported?
- Kubernetes
Version string - The kubernetes master version. Required if
import=false - Linux
Admin stringUsername - The AKS linux admin username
- Linux
Ssh stringPublic Key - The AKS linux ssh public key
- Load
Balancer stringSku - The AKS load balancer sku
- Log
Analytics stringWorkspace Group - The AKS log analytics workspace group
- Log
Analytics stringWorkspace Name - The AKS log analytics workspace name
- Monitoring bool
- Is AKS cluster monitoring enabled?
- Name string
- The name of the Cluster (string)
- Network
Dns stringService Ip - The AKS network dns service ip
- Network
Docker stringBridge Cidr - The AKS network docker bridge cidr
- Network
Plugin string - The AKS network plugin. Required if
import=false - Network
Pod stringCidr - The AKS network pod cidr
- Network
Policy string - The AKS network policy
- Network
Service stringCidr - The AKS network service cidr
- Node
Pools []ClusterAks Config V2Node Pool - The AKS node pools to use. Required if
import=false - Node
Resource stringGroup - The AKS node resource group name
- Outbound
Type string - The AKS outbound type for the egress traffic
- Private
Cluster bool - Is AKS cluster private?
- Subnet string
- The AKS subnet
- map[string]string
- The AKS cluster tags
- Virtual
Network string - The AKS virtual network
- Virtual
Network stringResource Group - The AKS virtual network resource group
- cloud_
credential_ stringid - The AKS Cloud Credential ID to use
- resource_
group string - The AKS resource group
- resource_
location string - The AKS resource location
- auth_
base_ stringurl - The AKS auth base url
- list(string)
- The AKS authorized ip ranges
- base_
url string - The AKS base url
- dns_
prefix string - The AKS dns prefix. Required if
import=false - http_
application_ boolrouting - Enable AKS http application routing?
- imported bool
- Is AKS cluster imported?
- kubernetes_
version string - The kubernetes master version. Required if
import=false - linux_
admin_ stringusername - The AKS linux admin username
- linux_
ssh_ stringpublic_ key - The AKS linux ssh public key
- load_
balancer_ stringsku - The AKS load balancer sku
- log_
analytics_ stringworkspace_ group - The AKS log analytics workspace group
- log_
analytics_ stringworkspace_ name - The AKS log analytics workspace name
- monitoring bool
- Is AKS cluster monitoring enabled?
- name string
- The name of the Cluster (string)
- network_
dns_ stringservice_ ip - The AKS network dns service ip
- network_
docker_ stringbridge_ cidr - The AKS network docker bridge cidr
- network_
plugin string - The AKS network plugin. Required if
import=false - network_
pod_ stringcidr - The AKS network pod cidr
- network_
policy string - The AKS network policy
- network_
service_ stringcidr - The AKS network service cidr
- node_
pools list(object) - The AKS node pools to use. Required if
import=false - node_
resource_ stringgroup - The AKS node resource group name
- outbound_
type string - The AKS outbound type for the egress traffic
- private_
cluster bool - Is AKS cluster private?
- subnet string
- The AKS subnet
- map(string)
- The AKS cluster tags
- virtual_
network string - The AKS virtual network
- virtual_
network_ stringresource_ group - The AKS virtual network resource group
- cloud
Credential StringId - The AKS Cloud Credential ID to use
- resource
Group String - The AKS resource group
- resource
Location String - The AKS resource location
- auth
Base StringUrl - The AKS auth base url
- List<String>
- The AKS authorized ip ranges
- base
Url String - The AKS base url
- dns
Prefix String - The AKS dns prefix. Required if
import=false - http
Application BooleanRouting - Enable AKS http application routing?
- imported Boolean
- Is AKS cluster imported?
- kubernetes
Version String - The kubernetes master version. Required if
import=false - linux
Admin StringUsername - The AKS linux admin username
- linux
Ssh StringPublic Key - The AKS linux ssh public key
- load
Balancer StringSku - The AKS load balancer sku
- log
Analytics StringWorkspace Group - The AKS log analytics workspace group
- log
Analytics StringWorkspace Name - The AKS log analytics workspace name
- monitoring Boolean
- Is AKS cluster monitoring enabled?
- name String
- The name of the Cluster (string)
- network
Dns StringService Ip - The AKS network dns service ip
- network
Docker StringBridge Cidr - The AKS network docker bridge cidr
- network
Plugin String - The AKS network plugin. Required if
import=false - network
Pod StringCidr - The AKS network pod cidr
- network
Policy String - The AKS network policy
- network
Service StringCidr - The AKS network service cidr
- node
Pools List<ClusterAks Config V2Node Pool> - The AKS node pools to use. Required if
import=false - node
Resource StringGroup - The AKS node resource group name
- outbound
Type String - The AKS outbound type for the egress traffic
- private
Cluster Boolean - Is AKS cluster private?
- subnet String
- The AKS subnet
- Map<String,String>
- The AKS cluster tags
- virtual
Network String - The AKS virtual network
- virtual
Network StringResource Group - The AKS virtual network resource group
- cloud
Credential stringId - The AKS Cloud Credential ID to use
- resource
Group string - The AKS resource group
- resource
Location string - The AKS resource location
- auth
Base stringUrl - The AKS auth base url
- string[]
- The AKS authorized ip ranges
- base
Url string - The AKS base url
- dns
Prefix string - The AKS dns prefix. Required if
import=false - http
Application booleanRouting - Enable AKS http application routing?
- imported boolean
- Is AKS cluster imported?
- kubernetes
Version string - The kubernetes master version. Required if
import=false - linux
Admin stringUsername - The AKS linux admin username
- linux
Ssh stringPublic Key - The AKS linux ssh public key
- load
Balancer stringSku - The AKS load balancer sku
- log
Analytics stringWorkspace Group - The AKS log analytics workspace group
- log
Analytics stringWorkspace Name - The AKS log analytics workspace name
- monitoring boolean
- Is AKS cluster monitoring enabled?
- name string
- The name of the Cluster (string)
- network
Dns stringService Ip - The AKS network dns service ip
- network
Docker stringBridge Cidr - The AKS network docker bridge cidr
- network
Plugin string - The AKS network plugin. Required if
import=false - network
Pod stringCidr - The AKS network pod cidr
- network
Policy string - The AKS network policy
- network
Service stringCidr - The AKS network service cidr
- node
Pools ClusterAks Config V2Node Pool[] - The AKS node pools to use. Required if
import=false - node
Resource stringGroup - The AKS node resource group name
- outbound
Type string - The AKS outbound type for the egress traffic
- private
Cluster boolean - Is AKS cluster private?
- subnet string
- The AKS subnet
- {[key: string]: string}
- The AKS cluster tags
- virtual
Network string - The AKS virtual network
- virtual
Network stringResource Group - The AKS virtual network resource group
- cloud_
credential_ strid - The AKS Cloud Credential ID to use
- resource_
group str - The AKS resource group
- resource_
location str - The AKS resource location
- auth_
base_ strurl - The AKS auth base url
- Sequence[str]
- The AKS authorized ip ranges
- base_
url str - The AKS base url
- dns_
prefix str - The AKS dns prefix. Required if
import=false - http_
application_ boolrouting - Enable AKS http application routing?
- imported bool
- Is AKS cluster imported?
- kubernetes_
version str - The kubernetes master version. Required if
import=false - linux_
admin_ strusername - The AKS linux admin username
- linux_
ssh_ strpublic_ key - The AKS linux ssh public key
- load_
balancer_ strsku - The AKS load balancer sku
- log_
analytics_ strworkspace_ group - The AKS log analytics workspace group
- log_
analytics_ strworkspace_ name - The AKS log analytics workspace name
- monitoring bool
- Is AKS cluster monitoring enabled?
- name str
- The name of the Cluster (string)
- network_
dns_ strservice_ ip - The AKS network dns service ip
- network_
docker_ strbridge_ cidr - The AKS network docker bridge cidr
- network_
plugin str - The AKS network plugin. Required if
import=false - network_
pod_ strcidr - The AKS network pod cidr
- network_
policy str - The AKS network policy
- network_
service_ strcidr - The AKS network service cidr
- node_
pools Sequence[ClusterAks Config V2Node Pool] - The AKS node pools to use. Required if
import=false - node_
resource_ strgroup - The AKS node resource group name
- outbound_
type str - The AKS outbound type for the egress traffic
- private_
cluster bool - Is AKS cluster private?
- subnet str
- The AKS subnet
- Mapping[str, str]
- The AKS cluster tags
- virtual_
network str - The AKS virtual network
- virtual_
network_ strresource_ group - The AKS virtual network resource group
- cloud
Credential StringId - The AKS Cloud Credential ID to use
- resource
Group String - The AKS resource group
- resource
Location String - The AKS resource location
- auth
Base StringUrl - The AKS auth base url
- List<String>
- The AKS authorized ip ranges
- base
Url String - The AKS base url
- dns
Prefix String - The AKS dns prefix. Required if
import=false - http
Application BooleanRouting - Enable AKS http application routing?
- imported Boolean
- Is AKS cluster imported?
- kubernetes
Version String - The kubernetes master version. Required if
import=false - linux
Admin StringUsername - The AKS linux admin username
- linux
Ssh StringPublic Key - The AKS linux ssh public key
- load
Balancer StringSku - The AKS load balancer sku
- log
Analytics StringWorkspace Group - The AKS log analytics workspace group
- log
Analytics StringWorkspace Name - The AKS log analytics workspace name
- monitoring Boolean
- Is AKS cluster monitoring enabled?
- name String
- The name of the Cluster (string)
- network
Dns StringService Ip - The AKS network dns service ip
- network
Docker StringBridge Cidr - The AKS network docker bridge cidr
- network
Plugin String - The AKS network plugin. Required if
import=false - network
Pod StringCidr - The AKS network pod cidr
- network
Policy String - The AKS network policy
- network
Service StringCidr - The AKS network service cidr
- node
Pools List<Property Map> - The AKS node pools to use. Required if
import=false - node
Resource StringGroup - The AKS node resource group name
- outbound
Type String - The AKS outbound type for the egress traffic
- private
Cluster Boolean - Is AKS cluster private?
- subnet String
- The AKS subnet
- Map<String>
- The AKS cluster tags
- virtual
Network String - The AKS virtual network
- virtual
Network StringResource Group - The AKS virtual network resource group
ClusterAksConfigV2NodePool, ClusterAksConfigV2NodePoolArgs
- Name string
- The name of the Cluster (string)
- Availability
Zones List<string> - The AKS node pool availability zones
- Count int
- The AKS node pool count
- Enable
Auto boolScaling - Is AKS node pool auto scaling enabled?
- Labels Dictionary<string, string>
- Labels for the Cluster (map)
- Max
Count int - The AKS node pool max count
- Max
Pods int - The AKS node pool max pods
- Max
Surge string - The AKS node pool max surge
- Min
Count int - The AKS node pool min count
- Mode string
- The AKS node pool mode
- Orchestrator
Version string - The AKS node pool orchestrator version
- Os
Disk intSize Gb - The AKS node pool os disk size gb
- Os
Disk stringType - The AKS node pool os disk type
- Os
Type string - Enable AKS node pool os type
- Taints List<string>
- The AKS node pool taints
- Vm
Size string - The AKS node pool vm size
- Name string
- The name of the Cluster (string)
- Availability
Zones []string - The AKS node pool availability zones
- Count int
- The AKS node pool count
- Enable
Auto boolScaling - Is AKS node pool auto scaling enabled?
- Labels map[string]string
- Labels for the Cluster (map)
- Max
Count int - The AKS node pool max count
- Max
Pods int - The AKS node pool max pods
- Max
Surge string - The AKS node pool max surge
- Min
Count int - The AKS node pool min count
- Mode string
- The AKS node pool mode
- Orchestrator
Version string - The AKS node pool orchestrator version
- Os
Disk intSize Gb - The AKS node pool os disk size gb
- Os
Disk stringType - The AKS node pool os disk type
- Os
Type string - Enable AKS node pool os type
- Taints []string
- The AKS node pool taints
- Vm
Size string - The AKS node pool vm size
- name string
- The name of the Cluster (string)
- availability_
zones list(string) - The AKS node pool availability zones
- count number
- The AKS node pool count
- enable_
auto_ boolscaling - Is AKS node pool auto scaling enabled?
- labels map(string)
- Labels for the Cluster (map)
- max_
count number - The AKS node pool max count
- max_
pods number - The AKS node pool max pods
- max_
surge string - The AKS node pool max surge
- min_
count number - The AKS node pool min count
- mode string
- The AKS node pool mode
- orchestrator_
version string - The AKS node pool orchestrator version
- os_
disk_ numbersize_ gb - The AKS node pool os disk size gb
- os_
disk_ stringtype - The AKS node pool os disk type
- os_
type string - Enable AKS node pool os type
- taints list(string)
- The AKS node pool taints
- vm_
size string - The AKS node pool vm size
- name String
- The name of the Cluster (string)
- availability
Zones List<String> - The AKS node pool availability zones
- count Integer
- The AKS node pool count
- enable
Auto BooleanScaling - Is AKS node pool auto scaling enabled?
- labels Map<String,String>
- Labels for the Cluster (map)
- max
Count Integer - The AKS node pool max count
- max
Pods Integer - The AKS node pool max pods
- max
Surge String - The AKS node pool max surge
- min
Count Integer - The AKS node pool min count
- mode String
- The AKS node pool mode
- orchestrator
Version String - The AKS node pool orchestrator version
- os
Disk IntegerSize Gb - The AKS node pool os disk size gb
- os
Disk StringType - The AKS node pool os disk type
- os
Type String - Enable AKS node pool os type
- taints List<String>
- The AKS node pool taints
- vm
Size String - The AKS node pool vm size
- name string
- The name of the Cluster (string)
- availability
Zones string[] - The AKS node pool availability zones
- count number
- The AKS node pool count
- enable
Auto booleanScaling - Is AKS node pool auto scaling enabled?
- labels {[key: string]: string}
- Labels for the Cluster (map)
- max
Count number - The AKS node pool max count
- max
Pods number - The AKS node pool max pods
- max
Surge string - The AKS node pool max surge
- min
Count number - The AKS node pool min count
- mode string
- The AKS node pool mode
- orchestrator
Version string - The AKS node pool orchestrator version
- os
Disk numberSize Gb - The AKS node pool os disk size gb
- os
Disk stringType - The AKS node pool os disk type
- os
Type string - Enable AKS node pool os type
- taints string[]
- The AKS node pool taints
- vm
Size string - The AKS node pool vm size
- name str
- The name of the Cluster (string)
- availability_
zones Sequence[str] - The AKS node pool availability zones
- count int
- The AKS node pool count
- enable_
auto_ boolscaling - Is AKS node pool auto scaling enabled?
- labels Mapping[str, str]
- Labels for the Cluster (map)
- max_
count int - The AKS node pool max count
- max_
pods int - The AKS node pool max pods
- max_
surge str - The AKS node pool max surge
- min_
count int - The AKS node pool min count
- mode str
- The AKS node pool mode
- orchestrator_
version str - The AKS node pool orchestrator version
- os_
disk_ intsize_ gb - The AKS node pool os disk size gb
- os_
disk_ strtype - The AKS node pool os disk type
- os_
type str - Enable AKS node pool os type
- taints Sequence[str]
- The AKS node pool taints
- vm_
size str - The AKS node pool vm size
- name String
- The name of the Cluster (string)
- availability
Zones List<String> - The AKS node pool availability zones
- count Number
- The AKS node pool count
- enable
Auto BooleanScaling - Is AKS node pool auto scaling enabled?
- labels Map<String>
- Labels for the Cluster (map)
- max
Count Number - The AKS node pool max count
- max
Pods Number - The AKS node pool max pods
- max
Surge String - The AKS node pool max surge
- min
Count Number - The AKS node pool min count
- mode String
- The AKS node pool mode
- orchestrator
Version String - The AKS node pool orchestrator version
- os
Disk NumberSize Gb - The AKS node pool os disk size gb
- os
Disk StringType - The AKS node pool os disk type
- os
Type String - Enable AKS node pool os type
- taints List<String>
- The AKS node pool taints
- vm
Size String - The AKS node pool vm size
ClusterClusterAgentDeploymentCustomization, ClusterClusterAgentDeploymentCustomizationArgs
- Append
Tolerations List<ClusterCluster Agent Deployment Customization Append Toleration> - User-defined tolerations to append to agent
- Override
Affinity string - User-defined affinity to override default agent affinity
- Override
Resource List<ClusterRequirements Cluster Agent Deployment Customization Override Resource Requirement> - User-defined resource requirements to set on the agent
- Scheduling
Customizations List<ClusterCluster Agent Deployment Customization Scheduling Customization> - User-defined scheduling customization for the cattle or fleet cluster agent
- Append
Tolerations []ClusterCluster Agent Deployment Customization Append Toleration - User-defined tolerations to append to agent
- Override
Affinity string - User-defined affinity to override default agent affinity
- Override
Resource []ClusterRequirements Cluster Agent Deployment Customization Override Resource Requirement - User-defined resource requirements to set on the agent
- Scheduling
Customizations []ClusterCluster Agent Deployment Customization Scheduling Customization - User-defined scheduling customization for the cattle or fleet cluster agent
- append_
tolerations list(object) - User-defined tolerations to append to agent
- override_
affinity string - User-defined affinity to override default agent affinity
- override_
resource_ list(object)requirements - User-defined resource requirements to set on the agent
- scheduling_
customizations list(object) - User-defined scheduling customization for the cattle or fleet cluster agent
- append
Tolerations List<ClusterCluster Agent Deployment Customization Append Toleration> - User-defined tolerations to append to agent
- override
Affinity String - User-defined affinity to override default agent affinity
- override
Resource List<ClusterRequirements Cluster Agent Deployment Customization Override Resource Requirement> - User-defined resource requirements to set on the agent
- scheduling
Customizations List<ClusterCluster Agent Deployment Customization Scheduling Customization> - User-defined scheduling customization for the cattle or fleet cluster agent
- append
Tolerations ClusterCluster Agent Deployment Customization Append Toleration[] - User-defined tolerations to append to agent
- override
Affinity string - User-defined affinity to override default agent affinity
- override
Resource ClusterRequirements Cluster Agent Deployment Customization Override Resource Requirement[] - User-defined resource requirements to set on the agent
- scheduling
Customizations ClusterCluster Agent Deployment Customization Scheduling Customization[] - User-defined scheduling customization for the cattle or fleet cluster agent
- append_
tolerations Sequence[ClusterCluster Agent Deployment Customization Append Toleration] - User-defined tolerations to append to agent
- override_
affinity str - User-defined affinity to override default agent affinity
- override_
resource_ Sequence[Clusterrequirements Cluster Agent Deployment Customization Override Resource Requirement] - User-defined resource requirements to set on the agent
- scheduling_
customizations Sequence[ClusterCluster Agent Deployment Customization Scheduling Customization] - User-defined scheduling customization for the cattle or fleet cluster agent
- append
Tolerations List<Property Map> - User-defined tolerations to append to agent
- override
Affinity String - User-defined affinity to override default agent affinity
- override
Resource List<Property Map>Requirements - User-defined resource requirements to set on the agent
- scheduling
Customizations List<Property Map> - User-defined scheduling customization for the cattle or fleet cluster agent
ClusterClusterAgentDeploymentCustomizationAppendToleration, ClusterClusterAgentDeploymentCustomizationAppendTolerationArgs
ClusterClusterAgentDeploymentCustomizationOverrideResourceRequirement, ClusterClusterAgentDeploymentCustomizationOverrideResourceRequirementArgs
- Cpu
Limit string - The maximum CPU limit for agent
- Cpu
Request string - The minimum CPU required for agent
- Memory
Limit string - The maximum memory limit for agent
- Memory
Request string - The minimum memory required for agent
- Cpu
Limit string - The maximum CPU limit for agent
- Cpu
Request string - The minimum CPU required for agent
- Memory
Limit string - The maximum memory limit for agent
- Memory
Request string - The minimum memory required for agent
- cpu_
limit string - The maximum CPU limit for agent
- cpu_
request string - The minimum CPU required for agent
- memory_
limit string - The maximum memory limit for agent
- memory_
request string - The minimum memory required for agent
- cpu
Limit String - The maximum CPU limit for agent
- cpu
Request String - The minimum CPU required for agent
- memory
Limit String - The maximum memory limit for agent
- memory
Request String - The minimum memory required for agent
- cpu
Limit string - The maximum CPU limit for agent
- cpu
Request string - The minimum CPU required for agent
- memory
Limit string - The maximum memory limit for agent
- memory
Request 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
- cpu
Limit String - The maximum CPU limit for agent
- cpu
Request String - The minimum CPU required for agent
- memory
Limit String - The maximum memory limit for agent
- memory
Request String - The minimum memory required for agent
ClusterClusterAgentDeploymentCustomizationSchedulingCustomization, ClusterClusterAgentDeploymentCustomizationSchedulingCustomizationArgs
- Pod
Disruption List<ClusterBudgets Cluster Agent Deployment Customization Scheduling Customization Pod Disruption Budget> - The Pod Disruption Budget created for the cattle cluster agent or fleet agent
- Priority
Classes List<ClusterCluster Agent Deployment Customization Scheduling Customization Priority Class> - The Priority Class created for the cattle cluster agent or fleet agent
- Pod
Disruption []ClusterBudgets Cluster Agent Deployment Customization Scheduling Customization Pod Disruption Budget - The Pod Disruption Budget created for the cattle cluster agent or fleet agent
- Priority
Classes []ClusterCluster Agent Deployment Customization Scheduling Customization Priority Class - The Priority Class created for the cattle cluster agent or fleet agent
- pod_
disruption_ list(object)budgets - The Pod Disruption Budget created for the cattle cluster agent or fleet agent
- priority_
classes list(object) - The Priority Class created for the cattle cluster agent or fleet agent
- pod
Disruption List<ClusterBudgets Cluster Agent Deployment Customization Scheduling Customization Pod Disruption Budget> - The Pod Disruption Budget created for the cattle cluster agent or fleet agent
- priority
Classes List<ClusterCluster Agent Deployment Customization Scheduling Customization Priority Class> - The Priority Class created for the cattle cluster agent or fleet agent
- pod
Disruption ClusterBudgets Cluster Agent Deployment Customization Scheduling Customization Pod Disruption Budget[] - The Pod Disruption Budget created for the cattle cluster agent or fleet agent
- priority
Classes ClusterCluster Agent Deployment Customization Scheduling Customization Priority Class[] - The Priority Class created for the cattle cluster agent or fleet agent
- pod_
disruption_ Sequence[Clusterbudgets Cluster Agent Deployment Customization Scheduling Customization Pod Disruption Budget] - The Pod Disruption Budget created for the cattle cluster agent or fleet agent
- priority_
classes Sequence[ClusterCluster Agent Deployment Customization Scheduling Customization Priority Class] - The Priority Class created for the cattle cluster agent or fleet agent
- pod
Disruption List<Property Map>Budgets - The Pod Disruption Budget created for the cattle cluster agent or fleet agent
- priority
Classes List<Property Map> - The Priority Class created for the cattle cluster agent or fleet agent
ClusterClusterAgentDeploymentCustomizationSchedulingCustomizationPodDisruptionBudget, ClusterClusterAgentDeploymentCustomizationSchedulingCustomizationPodDisruptionBudgetArgs
- string
- The maximum number of cattle cluster agent or fleet agent replicas that can be down at a given time.
- string
- The minimum number of cattle cluster agent or fleet agent replicas that must be running at a given time.
- string
- The maximum number of cattle cluster agent or fleet agent replicas that can be down at a given time.
- string
- The minimum number of cattle cluster agent or fleet agent replicas that must be running at a given time.
- string
- The maximum number of cattle cluster agent or fleet agent replicas that can be down at a given time.
- min_
available string - The minimum number of cattle cluster agent or fleet agent replicas that must be running at a given time.
- String
- The maximum number of cattle cluster agent or fleet agent replicas that can be down at a given time.
- String
- The minimum number of cattle cluster agent or fleet agent replicas that must be running at a given time.
- string
- The maximum number of cattle cluster agent or fleet agent replicas that can be down at a given time.
- string
- The minimum number of cattle cluster agent or fleet agent replicas that must be running at a given time.
- str
- The maximum number of cattle cluster agent or fleet agent replicas that can be down at a given time.
- min_
available str - The minimum number of cattle cluster agent or fleet agent replicas that must be running at a given time.
- String
- The maximum number of cattle cluster agent or fleet agent replicas that can be down at a given time.
- String
- The minimum number of cattle cluster agent or fleet agent replicas that must be running at a given time.
ClusterClusterAgentDeploymentCustomizationSchedulingCustomizationPriorityClass, ClusterClusterAgentDeploymentCustomizationSchedulingCustomizationPriorityClassArgs
- Value int
- The priority value for the cattle cluster agent or fleet agent. Must be between negative 1 billion and 1 billion.
- Preemption
Policy string - The preemption behavior for the cattle cluster agent or fleet agent. Must be either 'PreemptLowerPriority' or 'Never'
- Value int
- The priority value for the cattle cluster agent or fleet agent. Must be between negative 1 billion and 1 billion.
- Preemption
Policy string - The preemption behavior for the cattle cluster agent or fleet agent. Must be either 'PreemptLowerPriority' or 'Never'
- value number
- The priority value for the cattle cluster agent or fleet agent. Must be between negative 1 billion and 1 billion.
- preemption_
policy string - The preemption behavior for the cattle cluster agent or fleet agent. Must be either 'PreemptLowerPriority' or 'Never'
- value Integer
- The priority value for the cattle cluster agent or fleet agent. Must be between negative 1 billion and 1 billion.
- preemption
Policy String - The preemption behavior for the cattle cluster agent or fleet agent. Must be either 'PreemptLowerPriority' or 'Never'
- value number
- The priority value for the cattle cluster agent or fleet agent. Must be between negative 1 billion and 1 billion.
- preemption
Policy string - The preemption behavior for the cattle cluster agent or fleet agent. Must be either 'PreemptLowerPriority' or 'Never'
- value int
- The priority value for the cattle cluster agent or fleet agent. Must be between negative 1 billion and 1 billion.
- preemption_
policy str - The preemption behavior for the cattle cluster agent or fleet agent. Must be either 'PreemptLowerPriority' or 'Never'
- value Number
- The priority value for the cattle cluster agent or fleet agent. Must be between negative 1 billion and 1 billion.
- preemption
Policy String - The preemption behavior for the cattle cluster agent or fleet agent. Must be either 'PreemptLowerPriority' or 'Never'
ClusterClusterAuthEndpoint, ClusterClusterAuthEndpointArgs
ClusterClusterRegistrationToken, ClusterClusterRegistrationTokenArgs
- Annotations Dictionary<string, string>
- Annotations for the Cluster (map)
- Cluster
Id string - Command string
- Command to execute in a imported k8s cluster (string)
- Id string
- (Computed) The ID of the resource (string)
- Insecure
Command string - Insecure command to execute in a imported k8s cluster (string)
- Insecure
Node stringCommand - Insecure node command to execute in a imported k8s cluster (string)
- Insecure
Windows stringNode Command - Insecure windows command to execute in a imported k8s cluster (string)
- Labels Dictionary<string, string>
- Labels for the Cluster (map)
- Manifest
Url string - K8s manifest url to execute with
kubectlto import an existing k8s cluster (string) - Name string
- The name of the Cluster (string)
- Node
Command string - Node command to execute in linux nodes for custom k8s cluster (string)
- Token string
- Windows
Node stringCommand - Node command to execute in windows nodes for custom k8s cluster (string)
- Annotations map[string]string
- Annotations for the Cluster (map)
- Cluster
Id string - Command string
- Command to execute in a imported k8s cluster (string)
- Id string
- (Computed) The ID of the resource (string)
- Insecure
Command string - Insecure command to execute in a imported k8s cluster (string)
- Insecure
Node stringCommand - Insecure node command to execute in a imported k8s cluster (string)
- Insecure
Windows stringNode Command - Insecure windows command to execute in a imported k8s cluster (string)
- Labels map[string]string
- Labels for the Cluster (map)
- Manifest
Url string - K8s manifest url to execute with
kubectlto import an existing k8s cluster (string) - Name string
- The name of the Cluster (string)
- Node
Command string - Node command to execute in linux nodes for custom k8s cluster (string)
- Token string
- Windows
Node stringCommand - Node command to execute in windows nodes for custom k8s cluster (string)
- annotations map(string)
- Annotations for the Cluster (map)
- cluster_
id string - command string
- Command to execute in a imported k8s cluster (string)
- id string
- (Computed) The ID of the resource (string)
- insecure_
command string - Insecure command to execute in a imported k8s cluster (string)
- insecure_
node_ stringcommand - Insecure node command to execute in a imported k8s cluster (string)
- insecure_
windows_ stringnode_ command - Insecure windows command to execute in a imported k8s cluster (string)
- labels map(string)
- Labels for the Cluster (map)
- manifest_
url string - K8s manifest url to execute with
kubectlto import an existing k8s cluster (string) - name string
- The name of the Cluster (string)
- node_
command string - Node command to execute in linux nodes for custom k8s cluster (string)
- token string
- windows_
node_ stringcommand - Node command to execute in windows nodes for custom k8s cluster (string)
- annotations Map<String,String>
- Annotations for the Cluster (map)
- cluster
Id String - command String
- Command to execute in a imported k8s cluster (string)
- id String
- (Computed) The ID of the resource (string)
- insecure
Command String - Insecure command to execute in a imported k8s cluster (string)
- insecure
Node StringCommand - Insecure node command to execute in a imported k8s cluster (string)
- insecure
Windows StringNode Command - Insecure windows command to execute in a imported k8s cluster (string)
- labels Map<String,String>
- Labels for the Cluster (map)
- manifest
Url String - K8s manifest url to execute with
kubectlto import an existing k8s cluster (string) - name String
- The name of the Cluster (string)
- node
Command String - Node command to execute in linux nodes for custom k8s cluster (string)
- token String
- windows
Node StringCommand - Node command to execute in windows nodes for custom k8s cluster (string)
- annotations {[key: string]: string}
- Annotations for the Cluster (map)
- cluster
Id string - command string
- Command to execute in a imported k8s cluster (string)
- id string
- (Computed) The ID of the resource (string)
- insecure
Command string - Insecure command to execute in a imported k8s cluster (string)
- insecure
Node stringCommand - Insecure node command to execute in a imported k8s cluster (string)
- insecure
Windows stringNode Command - Insecure windows command to execute in a imported k8s cluster (string)
- labels {[key: string]: string}
- Labels for the Cluster (map)
- manifest
Url string - K8s manifest url to execute with
kubectlto import an existing k8s cluster (string) - name string
- The name of the Cluster (string)
- node
Command string - Node command to execute in linux nodes for custom k8s cluster (string)
- token string
- windows
Node stringCommand - Node command to execute in windows nodes for custom k8s cluster (string)
- annotations Mapping[str, str]
- Annotations for the Cluster (map)
- cluster_
id str - command str
- Command to execute in a imported k8s cluster (string)
- id str
- (Computed) The ID of the resource (string)
- insecure_
command str - Insecure command to execute in a imported k8s cluster (string)
- insecure_
node_ strcommand - Insecure node command to execute in a imported k8s cluster (string)
- insecure_
windows_ strnode_ command - Insecure windows command to execute in a imported k8s cluster (string)
- labels Mapping[str, str]
- Labels for the Cluster (map)
- manifest_
url str - K8s manifest url to execute with
kubectlto import an existing k8s cluster (string) - name str
- The name of the Cluster (string)
- node_
command str - Node command to execute in linux nodes for custom k8s cluster (string)
- token str
- windows_
node_ strcommand - Node command to execute in windows nodes for custom k8s cluster (string)
- annotations Map<String>
- Annotations for the Cluster (map)
- cluster
Id String - command String
- Command to execute in a imported k8s cluster (string)
- id String
- (Computed) The ID of the resource (string)
- insecure
Command String - Insecure command to execute in a imported k8s cluster (string)
- insecure
Node StringCommand - Insecure node command to execute in a imported k8s cluster (string)
- insecure
Windows StringNode Command - Insecure windows command to execute in a imported k8s cluster (string)
- labels Map<String>
- Labels for the Cluster (map)
- manifest
Url String - K8s manifest url to execute with
kubectlto import an existing k8s cluster (string) - name String
- The name of the Cluster (string)
- node
Command String - Node command to execute in linux nodes for custom k8s cluster (string)
- token String
- windows
Node StringCommand - Node command to execute in windows nodes for custom k8s cluster (string)
ClusterEksConfigV2, ClusterEksConfigV2Args
- Cloud
Credential stringId - The AWS Cloud Credential ID to use
- Imported bool
- Is EKS cluster imported?
- Ip
Family string - The IP family used to assign Kubernetes pod and service addresses. Valid values are
ipv4(default) andipv6 - Kms
Key string - The AWS kms key to use
- Kubernetes
Version string - The kubernetes master version
- Logging
Types List<string> - The AWS logging types
- Name string
- The name of the Cluster (string)
- Node
Groups List<ClusterEks Config V2Node Group> - The AWS node groups to use
- Private
Access bool - The EKS cluster has private access
- Public
Access bool - The EKS cluster has public access
- Public
Access List<string>Sources - The EKS cluster public access sources
- Region string
- The AWS Region to create the EKS cluster in
- Secrets
Encryption bool - Enable EKS cluster secret encryption
- Security
Groups List<string> - List of security groups to use for the cluster
- Service
Role string - The AWS service role to use
- Subnets List<string>
- List of subnets in the virtual network to use
- Dictionary<string, string>
- The EKS cluster tags
- Cloud
Credential stringId - The AWS Cloud Credential ID to use
- Imported bool
- Is EKS cluster imported?
- Ip
Family string - The IP family used to assign Kubernetes pod and service addresses. Valid values are
ipv4(default) andipv6 - Kms
Key string - The AWS kms key to use
- Kubernetes
Version string - The kubernetes master version
- Logging
Types []string - The AWS logging types
- Name string
- The name of the Cluster (string)
- Node
Groups []ClusterEks Config V2Node Group - The AWS node groups to use
- Private
Access bool - The EKS cluster has private access
- Public
Access bool - The EKS cluster has public access
- Public
Access []stringSources - The EKS cluster public access sources
- Region string
- The AWS Region to create the EKS cluster in
- Secrets
Encryption bool - Enable EKS cluster secret encryption
- Security
Groups []string - List of security groups to use for the cluster
- Service
Role string - The AWS service role to use
- Subnets []string
- List of subnets in the virtual network to use
- map[string]string
- The EKS cluster tags
- cloud_
credential_ stringid - The AWS Cloud Credential ID to use
- imported bool
- Is EKS cluster imported?
- ip_
family string - The IP family used to assign Kubernetes pod and service addresses. Valid values are
ipv4(default) andipv6 - kms_
key string - The AWS kms key to use
- kubernetes_
version string - The kubernetes master version
- logging_
types list(string) - The AWS logging types
- name string
- The name of the Cluster (string)
- node_
groups list(object) - The AWS node groups to use
- private_
access bool - The EKS cluster has private access
- public_
access bool - The EKS cluster has public access
- public_
access_ list(string)sources - The EKS cluster public access sources
- region string
- The AWS Region to create the EKS cluster in
- secrets_
encryption bool - Enable EKS cluster secret encryption
- security_
groups list(string) - List of security groups to use for the cluster
- service_
role string - The AWS service role to use
- subnets list(string)
- List of subnets in the virtual network to use
- map(string)
- The EKS cluster tags
- cloud
Credential StringId - The AWS Cloud Credential ID to use
- imported Boolean
- Is EKS cluster imported?
- ip
Family String - The IP family used to assign Kubernetes pod and service addresses. Valid values are
ipv4(default) andipv6 - kms
Key String - The AWS kms key to use
- kubernetes
Version String - The kubernetes master version
- logging
Types List<String> - The AWS logging types
- name String
- The name of the Cluster (string)
- node
Groups List<ClusterEks Config V2Node Group> - The AWS node groups to use
- private
Access Boolean - The EKS cluster has private access
- public
Access Boolean - The EKS cluster has public access
- public
Access List<String>Sources - The EKS cluster public access sources
- region String
- The AWS Region to create the EKS cluster in
- secrets
Encryption Boolean - Enable EKS cluster secret encryption
- security
Groups List<String> - List of security groups to use for the cluster
- service
Role String - The AWS service role to use
- subnets List<String>
- List of subnets in the virtual network to use
- Map<String,String>
- The EKS cluster tags
- cloud
Credential stringId - The AWS Cloud Credential ID to use
- imported boolean
- Is EKS cluster imported?
- ip
Family string - The IP family used to assign Kubernetes pod and service addresses. Valid values are
ipv4(default) andipv6 - kms
Key string - The AWS kms key to use
- kubernetes
Version string - The kubernetes master version
- logging
Types string[] - The AWS logging types
- name string
- The name of the Cluster (string)
- node
Groups ClusterEks Config V2Node Group[] - The AWS node groups to use
- private
Access boolean - The EKS cluster has private access
- public
Access boolean - The EKS cluster has public access
- public
Access string[]Sources - The EKS cluster public access sources
- region string
- The AWS Region to create the EKS cluster in
- secrets
Encryption boolean - Enable EKS cluster secret encryption
- security
Groups string[] - List of security groups to use for the cluster
- service
Role string - The AWS service role to use
- subnets string[]
- List of subnets in the virtual network to use
- {[key: string]: string}
- The EKS cluster tags
- cloud_
credential_ strid - The AWS Cloud Credential ID to use
- imported bool
- Is EKS cluster imported?
- ip_
family str - The IP family used to assign Kubernetes pod and service addresses. Valid values are
ipv4(default) andipv6 - kms_
key str - The AWS kms key to use
- kubernetes_
version str - The kubernetes master version
- logging_
types Sequence[str] - The AWS logging types
- name str
- The name of the Cluster (string)
- node_
groups Sequence[ClusterEks Config V2Node Group] - The AWS node groups to use
- private_
access bool - The EKS cluster has private access
- public_
access bool - The EKS cluster has public access
- public_
access_ Sequence[str]sources - The EKS cluster public access sources
- region str
- The AWS Region to create the EKS cluster in
- secrets_
encryption bool - Enable EKS cluster secret encryption
- security_
groups Sequence[str] - List of security groups to use for the cluster
- service_
role str - The AWS service role to use
- subnets Sequence[str]
- List of subnets in the virtual network to use
- Mapping[str, str]
- The EKS cluster tags
- cloud
Credential StringId - The AWS Cloud Credential ID to use
- imported Boolean
- Is EKS cluster imported?
- ip
Family String - The IP family used to assign Kubernetes pod and service addresses. Valid values are
ipv4(default) andipv6 - kms
Key String - The AWS kms key to use
- kubernetes
Version String - The kubernetes master version
- logging
Types List<String> - The AWS logging types
- name String
- The name of the Cluster (string)
- node
Groups List<Property Map> - The AWS node groups to use
- private
Access Boolean - The EKS cluster has private access
- public
Access Boolean - The EKS cluster has public access
- public
Access List<String>Sources - The EKS cluster public access sources
- region String
- The AWS Region to create the EKS cluster in
- secrets
Encryption Boolean - Enable EKS cluster secret encryption
- security
Groups List<String> - List of security groups to use for the cluster
- service
Role String - The AWS service role to use
- subnets List<String>
- List of subnets in the virtual network to use
- Map<String>
- The EKS cluster tags
ClusterEksConfigV2NodeGroup, ClusterEksConfigV2NodeGroupArgs
- Name string
- The name of the Cluster (string)
- Desired
Size int - The EKS node group desired size
- Disk
Size int - The EKS node group disk size
- Ec2Ssh
Key string - The EKS node group ssh key
- Gpu bool
- Is EKS cluster using gpu?
- Image
Id string - The EKS node group image ID
- Instance
Type string - The EKS node group instance type
- Labels Dictionary<string, string>
- Labels for the Cluster (map)
- Launch
Templates List<ClusterEks Config V2Node Group Launch Template> - The EKS node groups launch template
- Max
Size int - The EKS node group maximum size
- Min
Size int - The EKS node group minimum size
- Node
Role string - The EKS node group node role ARN
- Request
Spot boolInstances - Enable EKS node group request spot instances
- Dictionary<string, string>
- The EKS node group resource tags
- Spot
Instance List<string>Types - The EKS node group spot instance types
- Subnets List<string>
- The EKS node group subnets
- Dictionary<string, string>
- The EKS node group tags
- User
Data string - The EKS node group user data
- Version string
- The EKS node group k8s version
- Name string
- The name of the Cluster (string)
- Desired
Size int - The EKS node group desired size
- Disk
Size int - The EKS node group disk size
- Ec2Ssh
Key string - The EKS node group ssh key
- Gpu bool
- Is EKS cluster using gpu?
- Image
Id string - The EKS node group image ID
- Instance
Type string - The EKS node group instance type
- Labels map[string]string
- Labels for the Cluster (map)
- Launch
Templates []ClusterEks Config V2Node Group Launch Template - The EKS node groups launch template
- Max
Size int - The EKS node group maximum size
- Min
Size int - The EKS node group minimum size
- Node
Role string - The EKS node group node role ARN
- Request
Spot boolInstances - Enable EKS node group request spot instances
- map[string]string
- The EKS node group resource tags
- Spot
Instance []stringTypes - The EKS node group spot instance types
- Subnets []string
- The EKS node group subnets
- map[string]string
- The EKS node group tags
- User
Data string - The EKS node group user data
- Version string
- The EKS node group k8s version
- name string
- The name of the Cluster (string)
- desired_
size number - The EKS node group desired size
- disk_
size number - The EKS node group disk size
- ec2_
ssh_ stringkey - The EKS node group ssh key
- gpu bool
- Is EKS cluster using gpu?
- image_
id string - The EKS node group image ID
- instance_
type string - The EKS node group instance type
- labels map(string)
- Labels for the Cluster (map)
- launch_
templates list(object) - The EKS node groups launch template
- max_
size number - The EKS node group maximum size
- min_
size number - The EKS node group minimum size
- node_
role string - The EKS node group node role ARN
- request_
spot_ boolinstances - Enable EKS node group request spot instances
- map(string)
- The EKS node group resource tags
- spot_
instance_ list(string)types - The EKS node group spot instance types
- subnets list(string)
- The EKS node group subnets
- map(string)
- The EKS node group tags
- user_
data string - The EKS node group user data
- version string
- The EKS node group k8s version
- name String
- The name of the Cluster (string)
- desired
Size Integer - The EKS node group desired size
- disk
Size Integer - The EKS node group disk size
- ec2Ssh
Key String - The EKS node group ssh key
- gpu Boolean
- Is EKS cluster using gpu?
- image
Id String - The EKS node group image ID
- instance
Type String - The EKS node group instance type
- labels Map<String,String>
- Labels for the Cluster (map)
- launch
Templates List<ClusterEks Config V2Node Group Launch Template> - The EKS node groups launch template
- max
Size Integer - The EKS node group maximum size
- min
Size Integer - The EKS node group minimum size
- node
Role String - The EKS node group node role ARN
- request
Spot BooleanInstances - Enable EKS node group request spot instances
- Map<String,String>
- The EKS node group resource tags
- spot
Instance List<String>Types - The EKS node group spot instance types
- subnets List<String>
- The EKS node group subnets
- Map<String,String>
- The EKS node group tags
- user
Data String - The EKS node group user data
- version String
- The EKS node group k8s version
- name string
- The name of the Cluster (string)
- desired
Size number - The EKS node group desired size
- disk
Size number - The EKS node group disk size
- ec2Ssh
Key string - The EKS node group ssh key
- gpu boolean
- Is EKS cluster using gpu?
- image
Id string - The EKS node group image ID
- instance
Type string - The EKS node group instance type
- labels {[key: string]: string}
- Labels for the Cluster (map)
- launch
Templates ClusterEks Config V2Node Group Launch Template[] - The EKS node groups launch template
- max
Size number - The EKS node group maximum size
- min
Size number - The EKS node group minimum size
- node
Role string - The EKS node group node role ARN
- request
Spot booleanInstances - Enable EKS node group request spot instances
- {[key: string]: string}
- The EKS node group resource tags
- spot
Instance string[]Types - The EKS node group spot instance types
- subnets string[]
- The EKS node group subnets
- {[key: string]: string}
- The EKS node group tags
- user
Data string - The EKS node group user data
- version string
- The EKS node group k8s version
- name str
- The name of the Cluster (string)
- desired_
size int - The EKS node group desired size
- disk_
size int - The EKS node group disk size
- ec2_
ssh_ strkey - The EKS node group ssh key
- gpu bool
- Is EKS cluster using gpu?
- image_
id str - The EKS node group image ID
- instance_
type str - The EKS node group instance type
- labels Mapping[str, str]
- Labels for the Cluster (map)
- launch_
templates Sequence[ClusterEks Config V2Node Group Launch Template] - The EKS node groups launch template
- max_
size int - The EKS node group maximum size
- min_
size int - The EKS node group minimum size
- node_
role str - The EKS node group node role ARN
- request_
spot_ boolinstances - Enable EKS node group request spot instances
- Mapping[str, str]
- The EKS node group resource tags
- spot_
instance_ Sequence[str]types - The EKS node group spot instance types
- subnets Sequence[str]
- The EKS node group subnets
- Mapping[str, str]
- The EKS node group tags
- user_
data str - The EKS node group user data
- version str
- The EKS node group k8s version
- name String
- The name of the Cluster (string)
- desired
Size Number - The EKS node group desired size
- disk
Size Number - The EKS node group disk size
- ec2Ssh
Key String - The EKS node group ssh key
- gpu Boolean
- Is EKS cluster using gpu?
- image
Id String - The EKS node group image ID
- instance
Type String - The EKS node group instance type
- labels Map<String>
- Labels for the Cluster (map)
- launch
Templates List<Property Map> - The EKS node groups launch template
- max
Size Number - The EKS node group maximum size
- min
Size Number - The EKS node group minimum size
- node
Role String - The EKS node group node role ARN
- request
Spot BooleanInstances - Enable EKS node group request spot instances
- Map<String>
- The EKS node group resource tags
- spot
Instance List<String>Types - The EKS node group spot instance types
- subnets List<String>
- The EKS node group subnets
- Map<String>
- The EKS node group tags
- user
Data String - The EKS node group user data
- version String
- The EKS node group k8s version
ClusterEksConfigV2NodeGroupLaunchTemplate, ClusterEksConfigV2NodeGroupLaunchTemplateArgs
ClusterFleetAgentDeploymentCustomization, ClusterFleetAgentDeploymentCustomizationArgs
- Append
Tolerations List<ClusterFleet Agent Deployment Customization Append Toleration> - User-defined tolerations to append to agent
- Override
Affinity string - User-defined affinity to override default agent affinity
- Override
Resource List<ClusterRequirements Fleet Agent Deployment Customization Override Resource Requirement> - User-defined resource requirements to set on the agent
- Scheduling
Customizations List<ClusterFleet Agent Deployment Customization Scheduling Customization> - User-defined scheduling customization for the cattle or fleet cluster agent
- Append
Tolerations []ClusterFleet Agent Deployment Customization Append Toleration - User-defined tolerations to append to agent
- Override
Affinity string - User-defined affinity to override default agent affinity
- Override
Resource []ClusterRequirements Fleet Agent Deployment Customization Override Resource Requirement - User-defined resource requirements to set on the agent
- Scheduling
Customizations []ClusterFleet Agent Deployment Customization Scheduling Customization - User-defined scheduling customization for the cattle or fleet cluster agent
- append_
tolerations list(object) - User-defined tolerations to append to agent
- override_
affinity string - User-defined affinity to override default agent affinity
- override_
resource_ list(object)requirements - User-defined resource requirements to set on the agent
- scheduling_
customizations list(object) - User-defined scheduling customization for the cattle or fleet cluster agent
- append
Tolerations List<ClusterFleet Agent Deployment Customization Append Toleration> - User-defined tolerations to append to agent
- override
Affinity String - User-defined affinity to override default agent affinity
- override
Resource List<ClusterRequirements Fleet Agent Deployment Customization Override Resource Requirement> - User-defined resource requirements to set on the agent
- scheduling
Customizations List<ClusterFleet Agent Deployment Customization Scheduling Customization> - User-defined scheduling customization for the cattle or fleet cluster agent
- append
Tolerations ClusterFleet Agent Deployment Customization Append Toleration[] - User-defined tolerations to append to agent
- override
Affinity string - User-defined affinity to override default agent affinity
- override
Resource ClusterRequirements Fleet Agent Deployment Customization Override Resource Requirement[] - User-defined resource requirements to set on the agent
- scheduling
Customizations ClusterFleet Agent Deployment Customization Scheduling Customization[] - User-defined scheduling customization for the cattle or fleet cluster agent
- append_
tolerations Sequence[ClusterFleet Agent Deployment Customization Append Toleration] - User-defined tolerations to append to agent
- override_
affinity str - User-defined affinity to override default agent affinity
- override_
resource_ Sequence[Clusterrequirements Fleet Agent Deployment Customization Override Resource Requirement] - User-defined resource requirements to set on the agent
- scheduling_
customizations Sequence[ClusterFleet Agent Deployment Customization Scheduling Customization] - User-defined scheduling customization for the cattle or fleet cluster agent
- append
Tolerations List<Property Map> - User-defined tolerations to append to agent
- override
Affinity String - User-defined affinity to override default agent affinity
- override
Resource List<Property Map>Requirements - User-defined resource requirements to set on the agent
- scheduling
Customizations List<Property Map> - User-defined scheduling customization for the cattle or fleet cluster agent
ClusterFleetAgentDeploymentCustomizationAppendToleration, ClusterFleetAgentDeploymentCustomizationAppendTolerationArgs
ClusterFleetAgentDeploymentCustomizationOverrideResourceRequirement, ClusterFleetAgentDeploymentCustomizationOverrideResourceRequirementArgs
- Cpu
Limit string - The maximum CPU limit for agent
- Cpu
Request string - The minimum CPU required for agent
- Memory
Limit string - The maximum memory limit for agent
- Memory
Request string - The minimum memory required for agent
- Cpu
Limit string - The maximum CPU limit for agent
- Cpu
Request string - The minimum CPU required for agent
- Memory
Limit string - The maximum memory limit for agent
- Memory
Request string - The minimum memory required for agent
- cpu_
limit string - The maximum CPU limit for agent
- cpu_
request string - The minimum CPU required for agent
- memory_
limit string - The maximum memory limit for agent
- memory_
request string - The minimum memory required for agent
- cpu
Limit String - The maximum CPU limit for agent
- cpu
Request String - The minimum CPU required for agent
- memory
Limit String - The maximum memory limit for agent
- memory
Request String - The minimum memory required for agent
- cpu
Limit string - The maximum CPU limit for agent
- cpu
Request string - The minimum CPU required for agent
- memory
Limit string - The maximum memory limit for agent
- memory
Request 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
- cpu
Limit String - The maximum CPU limit for agent
- cpu
Request String - The minimum CPU required for agent
- memory
Limit String - The maximum memory limit for agent
- memory
Request String - The minimum memory required for agent
ClusterFleetAgentDeploymentCustomizationSchedulingCustomization, ClusterFleetAgentDeploymentCustomizationSchedulingCustomizationArgs
- Pod
Disruption List<ClusterBudgets Fleet Agent Deployment Customization Scheduling Customization Pod Disruption Budget> - The Pod Disruption Budget created for the cattle cluster agent or fleet agent
- Priority
Classes List<ClusterFleet Agent Deployment Customization Scheduling Customization Priority Class> - The Priority Class created for the cattle cluster agent or fleet agent
- Pod
Disruption []ClusterBudgets Fleet Agent Deployment Customization Scheduling Customization Pod Disruption Budget - The Pod Disruption Budget created for the cattle cluster agent or fleet agent
- Priority
Classes []ClusterFleet Agent Deployment Customization Scheduling Customization Priority Class - The Priority Class created for the cattle cluster agent or fleet agent
- pod_
disruption_ list(object)budgets - The Pod Disruption Budget created for the cattle cluster agent or fleet agent
- priority_
classes list(object) - The Priority Class created for the cattle cluster agent or fleet agent
- pod
Disruption List<ClusterBudgets Fleet Agent Deployment Customization Scheduling Customization Pod Disruption Budget> - The Pod Disruption Budget created for the cattle cluster agent or fleet agent
- priority
Classes List<ClusterFleet Agent Deployment Customization Scheduling Customization Priority Class> - The Priority Class created for the cattle cluster agent or fleet agent
- pod
Disruption ClusterBudgets Fleet Agent Deployment Customization Scheduling Customization Pod Disruption Budget[] - The Pod Disruption Budget created for the cattle cluster agent or fleet agent
- priority
Classes ClusterFleet Agent Deployment Customization Scheduling Customization Priority Class[] - The Priority Class created for the cattle cluster agent or fleet agent
- pod_
disruption_ Sequence[Clusterbudgets Fleet Agent Deployment Customization Scheduling Customization Pod Disruption Budget] - The Pod Disruption Budget created for the cattle cluster agent or fleet agent
- priority_
classes Sequence[ClusterFleet Agent Deployment Customization Scheduling Customization Priority Class] - The Priority Class created for the cattle cluster agent or fleet agent
- pod
Disruption List<Property Map>Budgets - The Pod Disruption Budget created for the cattle cluster agent or fleet agent
- priority
Classes List<Property Map> - The Priority Class created for the cattle cluster agent or fleet agent
ClusterFleetAgentDeploymentCustomizationSchedulingCustomizationPodDisruptionBudget, ClusterFleetAgentDeploymentCustomizationSchedulingCustomizationPodDisruptionBudgetArgs
- string
- The maximum number of cattle cluster agent or fleet agent replicas that can be down at a given time.
- string
- The minimum number of cattle cluster agent or fleet agent replicas that must be running at a given time.
- string
- The maximum number of cattle cluster agent or fleet agent replicas that can be down at a given time.
- string
- The minimum number of cattle cluster agent or fleet agent replicas that must be running at a given time.
- string
- The maximum number of cattle cluster agent or fleet agent replicas that can be down at a given time.
- min_
available string - The minimum number of cattle cluster agent or fleet agent replicas that must be running at a given time.
- String
- The maximum number of cattle cluster agent or fleet agent replicas that can be down at a given time.
- String
- The minimum number of cattle cluster agent or fleet agent replicas that must be running at a given time.
- string
- The maximum number of cattle cluster agent or fleet agent replicas that can be down at a given time.
- string
- The minimum number of cattle cluster agent or fleet agent replicas that must be running at a given time.
- str
- The maximum number of cattle cluster agent or fleet agent replicas that can be down at a given time.
- min_
available str - The minimum number of cattle cluster agent or fleet agent replicas that must be running at a given time.
- String
- The maximum number of cattle cluster agent or fleet agent replicas that can be down at a given time.
- String
- The minimum number of cattle cluster agent or fleet agent replicas that must be running at a given time.
ClusterFleetAgentDeploymentCustomizationSchedulingCustomizationPriorityClass, ClusterFleetAgentDeploymentCustomizationSchedulingCustomizationPriorityClassArgs
- Value int
- The priority value for the cattle cluster agent or fleet agent. Must be between negative 1 billion and 1 billion.
- Preemption
Policy string - The preemption behavior for the cattle cluster agent or fleet agent. Must be either 'PreemptLowerPriority' or 'Never'
- Value int
- The priority value for the cattle cluster agent or fleet agent. Must be between negative 1 billion and 1 billion.
- Preemption
Policy string - The preemption behavior for the cattle cluster agent or fleet agent. Must be either 'PreemptLowerPriority' or 'Never'
- value number
- The priority value for the cattle cluster agent or fleet agent. Must be between negative 1 billion and 1 billion.
- preemption_
policy string - The preemption behavior for the cattle cluster agent or fleet agent. Must be either 'PreemptLowerPriority' or 'Never'
- value Integer
- The priority value for the cattle cluster agent or fleet agent. Must be between negative 1 billion and 1 billion.
- preemption
Policy String - The preemption behavior for the cattle cluster agent or fleet agent. Must be either 'PreemptLowerPriority' or 'Never'
- value number
- The priority value for the cattle cluster agent or fleet agent. Must be between negative 1 billion and 1 billion.
- preemption
Policy string - The preemption behavior for the cattle cluster agent or fleet agent. Must be either 'PreemptLowerPriority' or 'Never'
- value int
- The priority value for the cattle cluster agent or fleet agent. Must be between negative 1 billion and 1 billion.
- preemption_
policy str - The preemption behavior for the cattle cluster agent or fleet agent. Must be either 'PreemptLowerPriority' or 'Never'
- value Number
- The priority value for the cattle cluster agent or fleet agent. Must be between negative 1 billion and 1 billion.
- preemption
Policy String - The preemption behavior for the cattle cluster agent or fleet agent. Must be either 'PreemptLowerPriority' or 'Never'
ClusterGkeConfigV2, ClusterGkeConfigV2Args
- Google
Credential stringSecret - Google credential secret
- Name string
- The name of the Cluster (string)
- Project
Id string - The GKE project id
- Cluster
Addons ClusterGke Config V2Cluster Addons - The GKE cluster addons
- Cluster
Ipv4Cidr stringBlock - The GKE ip v4 cidr block
- Description string
- The description for Cluster (string)
- Enable
Kubernetes boolAlpha - Enable Kubernetes alpha
- Imported bool
- Is GKE cluster imported?
- Ip
Allocation ClusterPolicy Gke Config V2Ip Allocation Policy - The GKE ip allocation policy
- Kubernetes
Version string - The kubernetes master version
- Labels Dictionary<string, string>
- Labels for the Cluster (map)
- Locations List<string>
- The GKE cluster locations
- Logging
Service string - The GKE cluster logging service
- Maintenance
Window string - The GKE cluster maintenance window
-
Cluster
Gke Config V2Master Authorized Networks Config - The GKE cluster master authorized networks config
- Monitoring
Service string - The GKE cluster monitoring service
- Network string
- The GKE cluster network
- Network
Policy boolEnabled - Is GKE cluster network policy enabled?
- Node
Pools List<ClusterGke Config V2Node Pool> - The GKE cluster node pools
- Private
Cluster ClusterConfig Gke Config V2Private Cluster Config - The GKE private cluster config
- Region string
- The GKE cluster region. Required if
zoneis empty - Subnetwork string
- The GKE cluster subnetwork
- Zone string
- The GKE cluster zone. Required if
regionis empty
- Google
Credential stringSecret - Google credential secret
- Name string
- The name of the Cluster (string)
- Project
Id string - The GKE project id
- Cluster
Addons ClusterGke Config V2Cluster Addons - The GKE cluster addons
- Cluster
Ipv4Cidr stringBlock - The GKE ip v4 cidr block
- Description string
- The description for Cluster (string)
- Enable
Kubernetes boolAlpha - Enable Kubernetes alpha
- Imported bool
- Is GKE cluster imported?
- Ip
Allocation ClusterPolicy Gke Config V2Ip Allocation Policy - The GKE ip allocation policy
- Kubernetes
Version string - The kubernetes master version
- Labels map[string]string
- Labels for the Cluster (map)
- Locations []string
- The GKE cluster locations
- Logging
Service string - The GKE cluster logging service
- Maintenance
Window string - The GKE cluster maintenance window
-
Cluster
Gke Config V2Master Authorized Networks Config - The GKE cluster master authorized networks config
- Monitoring
Service string - The GKE cluster monitoring service
- Network string
- The GKE cluster network
- Network
Policy boolEnabled - Is GKE cluster network policy enabled?
- Node
Pools []ClusterGke Config V2Node Pool - The GKE cluster node pools
- Private
Cluster ClusterConfig Gke Config V2Private Cluster Config - The GKE private cluster config
- Region string
- The GKE cluster region. Required if
zoneis empty - Subnetwork string
- The GKE cluster subnetwork
- Zone string
- The GKE cluster zone. Required if
regionis empty
- google_
credential_ stringsecret - Google credential secret
- name string
- The name of the Cluster (string)
- project_
id string - The GKE project id
- cluster_
addons object - The GKE cluster addons
- cluster_
ipv4_ stringcidr_ block - The GKE ip v4 cidr block
- description string
- The description for Cluster (string)
- enable_
kubernetes_ boolalpha - Enable Kubernetes alpha
- imported bool
- Is GKE cluster imported?
- ip_
allocation_ objectpolicy - The GKE ip allocation policy
- kubernetes_
version string - The kubernetes master version
- labels map(string)
- Labels for the Cluster (map)
- locations list(string)
- The GKE cluster locations
- logging_
service string - The GKE cluster logging service
- maintenance_
window string - The GKE cluster maintenance window
- object
- The GKE cluster master authorized networks config
- monitoring_
service string - The GKE cluster monitoring service
- network string
- The GKE cluster network
- network_
policy_ boolenabled - Is GKE cluster network policy enabled?
- node_
pools list(object) - The GKE cluster node pools
- private_
cluster_ objectconfig - The GKE private cluster config
- region string
- The GKE cluster region. Required if
zoneis empty - subnetwork string
- The GKE cluster subnetwork
- zone string
- The GKE cluster zone. Required if
regionis empty
- google
Credential StringSecret - Google credential secret
- name String
- The name of the Cluster (string)
- project
Id String - The GKE project id
- cluster
Addons ClusterGke Config V2Cluster Addons - The GKE cluster addons
- cluster
Ipv4Cidr StringBlock - The GKE ip v4 cidr block
- description String
- The description for Cluster (string)
- enable
Kubernetes BooleanAlpha - Enable Kubernetes alpha
- imported Boolean
- Is GKE cluster imported?
- ip
Allocation ClusterPolicy Gke Config V2Ip Allocation Policy - The GKE ip allocation policy
- kubernetes
Version String - The kubernetes master version
- labels Map<String,String>
- Labels for the Cluster (map)
- locations List<String>
- The GKE cluster locations
- logging
Service String - The GKE cluster logging service
- maintenance
Window String - The GKE cluster maintenance window
-
Cluster
Gke Config V2Master Authorized Networks Config - The GKE cluster master authorized networks config
- monitoring
Service String - The GKE cluster monitoring service
- network String
- The GKE cluster network
- network
Policy BooleanEnabled - Is GKE cluster network policy enabled?
- node
Pools List<ClusterGke Config V2Node Pool> - The GKE cluster node pools
- private
Cluster ClusterConfig Gke Config V2Private Cluster Config - The GKE private cluster config
- region String
- The GKE cluster region. Required if
zoneis empty - subnetwork String
- The GKE cluster subnetwork
- zone String
- The GKE cluster zone. Required if
regionis empty
- google
Credential stringSecret - Google credential secret
- name string
- The name of the Cluster (string)
- project
Id string - The GKE project id
- cluster
Addons ClusterGke Config V2Cluster Addons - The GKE cluster addons
- cluster
Ipv4Cidr stringBlock - The GKE ip v4 cidr block
- description string
- The description for Cluster (string)
- enable
Kubernetes booleanAlpha - Enable Kubernetes alpha
- imported boolean
- Is GKE cluster imported?
- ip
Allocation ClusterPolicy Gke Config V2Ip Allocation Policy - The GKE ip allocation policy
- kubernetes
Version string - The kubernetes master version
- labels {[key: string]: string}
- Labels for the Cluster (map)
- locations string[]
- The GKE cluster locations
- logging
Service string - The GKE cluster logging service
- maintenance
Window string - The GKE cluster maintenance window
-
Cluster
Gke Config V2Master Authorized Networks Config - The GKE cluster master authorized networks config
- monitoring
Service string - The GKE cluster monitoring service
- network string
- The GKE cluster network
- network
Policy booleanEnabled - Is GKE cluster network policy enabled?
- node
Pools ClusterGke Config V2Node Pool[] - The GKE cluster node pools
- private
Cluster ClusterConfig Gke Config V2Private Cluster Config - The GKE private cluster config
- region string
- The GKE cluster region. Required if
zoneis empty - subnetwork string
- The GKE cluster subnetwork
- zone string
- The GKE cluster zone. Required if
regionis empty
- google_
credential_ strsecret - Google credential secret
- name str
- The name of the Cluster (string)
- project_
id str - The GKE project id
- cluster_
addons ClusterGke Config V2Cluster Addons - The GKE cluster addons
- cluster_
ipv4_ strcidr_ block - The GKE ip v4 cidr block
- description str
- The description for Cluster (string)
- enable_
kubernetes_ boolalpha - Enable Kubernetes alpha
- imported bool
- Is GKE cluster imported?
- ip_
allocation_ Clusterpolicy Gke Config V2Ip Allocation Policy - The GKE ip allocation policy
- kubernetes_
version str - The kubernetes master version
- labels Mapping[str, str]
- Labels for the Cluster (map)
- locations Sequence[str]
- The GKE cluster locations
- logging_
service str - The GKE cluster logging service
- maintenance_
window str - The GKE cluster maintenance window
-
Cluster
Gke Config V2Master Authorized Networks Config - The GKE cluster master authorized networks config
- monitoring_
service str - The GKE cluster monitoring service
- network str
- The GKE cluster network
- network_
policy_ boolenabled - Is GKE cluster network policy enabled?
- node_
pools Sequence[ClusterGke Config V2Node Pool] - The GKE cluster node pools
- private_
cluster_ Clusterconfig Gke Config V2Private Cluster Config - The GKE private cluster config
- region str
- The GKE cluster region. Required if
zoneis empty - subnetwork str
- The GKE cluster subnetwork
- zone str
- The GKE cluster zone. Required if
regionis empty
- google
Credential StringSecret - Google credential secret
- name String
- The name of the Cluster (string)
- project
Id String - The GKE project id
- cluster
Addons Property Map - The GKE cluster addons
- cluster
Ipv4Cidr StringBlock - The GKE ip v4 cidr block
- description String
- The description for Cluster (string)
- enable
Kubernetes BooleanAlpha - Enable Kubernetes alpha
- imported Boolean
- Is GKE cluster imported?
- ip
Allocation Property MapPolicy - The GKE ip allocation policy
- kubernetes
Version String - The kubernetes master version
- labels Map<String>
- Labels for the Cluster (map)
- locations List<String>
- The GKE cluster locations
- logging
Service String - The GKE cluster logging service
- maintenance
Window String - The GKE cluster maintenance window
- Property Map
- The GKE cluster master authorized networks config
- monitoring
Service String - The GKE cluster monitoring service
- network String
- The GKE cluster network
- network
Policy BooleanEnabled - Is GKE cluster network policy enabled?
- node
Pools List<Property Map> - The GKE cluster node pools
- private
Cluster Property MapConfig - The GKE private cluster config
- region String
- The GKE cluster region. Required if
zoneis empty - subnetwork String
- The GKE cluster subnetwork
- zone String
- The GKE cluster zone. Required if
regionis empty
ClusterGkeConfigV2ClusterAddons, ClusterGkeConfigV2ClusterAddonsArgs
- Horizontal
Pod boolAutoscaling - Enable GKE horizontal pod autoscaling
- Http
Load boolBalancing - Enable GKE HTTP load balancing
- Network
Policy boolConfig - Enable GKE network policy config
- Horizontal
Pod boolAutoscaling - Enable GKE horizontal pod autoscaling
- Http
Load boolBalancing - Enable GKE HTTP load balancing
- Network
Policy boolConfig - Enable GKE network policy config
- horizontal_
pod_ boolautoscaling - Enable GKE horizontal pod autoscaling
- http_
load_ boolbalancing - Enable GKE HTTP load balancing
- network_
policy_ boolconfig - Enable GKE network policy config
- horizontal
Pod BooleanAutoscaling - Enable GKE horizontal pod autoscaling
- http
Load BooleanBalancing - Enable GKE HTTP load balancing
- network
Policy BooleanConfig - Enable GKE network policy config
- horizontal
Pod booleanAutoscaling - Enable GKE horizontal pod autoscaling
- http
Load booleanBalancing - Enable GKE HTTP load balancing
- network
Policy booleanConfig - Enable GKE network policy config
- horizontal_
pod_ boolautoscaling - Enable GKE horizontal pod autoscaling
- http_
load_ boolbalancing - Enable GKE HTTP load balancing
- network_
policy_ boolconfig - Enable GKE network policy config
- horizontal
Pod BooleanAutoscaling - Enable GKE horizontal pod autoscaling
- http
Load BooleanBalancing - Enable GKE HTTP load balancing
- network
Policy BooleanConfig - Enable GKE network policy config
ClusterGkeConfigV2IpAllocationPolicy, ClusterGkeConfigV2IpAllocationPolicyArgs
- Cluster
Ipv4Cidr stringBlock - The GKE cluster ip v4 allocation cidr block
- Cluster
Secondary stringRange Name - The GKE cluster ip v4 allocation secondary range name
- Create
Subnetwork bool - Create GKE subnetwork?
- Node
Ipv4Cidr stringBlock - The GKE node ip v4 allocation cidr block
- Services
Ipv4Cidr stringBlock - The GKE services ip v4 allocation cidr block
- Services
Secondary stringRange Name - The GKE services ip v4 allocation secondary range name
- Subnetwork
Name string - The GKE cluster subnetwork name
- Use
Ip boolAliases - Use GKE ip aliases?
- Cluster
Ipv4Cidr stringBlock - The GKE cluster ip v4 allocation cidr block
- Cluster
Secondary stringRange Name - The GKE cluster ip v4 allocation secondary range name
- Create
Subnetwork bool - Create GKE subnetwork?
- Node
Ipv4Cidr stringBlock - The GKE node ip v4 allocation cidr block
- Services
Ipv4Cidr stringBlock - The GKE services ip v4 allocation cidr block
- Services
Secondary stringRange Name - The GKE services ip v4 allocation secondary range name
- Subnetwork
Name string - The GKE cluster subnetwork name
- Use
Ip boolAliases - Use GKE ip aliases?
- cluster_
ipv4_ stringcidr_ block - The GKE cluster ip v4 allocation cidr block
- cluster_
secondary_ stringrange_ name - The GKE cluster ip v4 allocation secondary range name
- create_
subnetwork bool - Create GKE subnetwork?
- node_
ipv4_ stringcidr_ block - The GKE node ip v4 allocation cidr block
- services_
ipv4_ stringcidr_ block - The GKE services ip v4 allocation cidr block
- services_
secondary_ stringrange_ name - The GKE services ip v4 allocation secondary range name
- subnetwork_
name string - The GKE cluster subnetwork name
- use_
ip_ boolaliases - Use GKE ip aliases?
- cluster
Ipv4Cidr StringBlock - The GKE cluster ip v4 allocation cidr block
- cluster
Secondary StringRange Name - The GKE cluster ip v4 allocation secondary range name
- create
Subnetwork Boolean - Create GKE subnetwork?
- node
Ipv4Cidr StringBlock - The GKE node ip v4 allocation cidr block
- services
Ipv4Cidr StringBlock - The GKE services ip v4 allocation cidr block
- services
Secondary StringRange Name - The GKE services ip v4 allocation secondary range name
- subnetwork
Name String - The GKE cluster subnetwork name
- use
Ip BooleanAliases - Use GKE ip aliases?
- cluster
Ipv4Cidr stringBlock - The GKE cluster ip v4 allocation cidr block
- cluster
Secondary stringRange Name - The GKE cluster ip v4 allocation secondary range name
- create
Subnetwork boolean - Create GKE subnetwork?
- node
Ipv4Cidr stringBlock - The GKE node ip v4 allocation cidr block
- services
Ipv4Cidr stringBlock - The GKE services ip v4 allocation cidr block
- services
Secondary stringRange Name - The GKE services ip v4 allocation secondary range name
- subnetwork
Name string - The GKE cluster subnetwork name
- use
Ip booleanAliases - Use GKE ip aliases?
- cluster_
ipv4_ strcidr_ block - The GKE cluster ip v4 allocation cidr block
- cluster_
secondary_ strrange_ name - The GKE cluster ip v4 allocation secondary range name
- create_
subnetwork bool - Create GKE subnetwork?
- node_
ipv4_ strcidr_ block - The GKE node ip v4 allocation cidr block
- services_
ipv4_ strcidr_ block - The GKE services ip v4 allocation cidr block
- services_
secondary_ strrange_ name - The GKE services ip v4 allocation secondary range name
- subnetwork_
name str - The GKE cluster subnetwork name
- use_
ip_ boolaliases - Use GKE ip aliases?
- cluster
Ipv4Cidr StringBlock - The GKE cluster ip v4 allocation cidr block
- cluster
Secondary StringRange Name - The GKE cluster ip v4 allocation secondary range name
- create
Subnetwork Boolean - Create GKE subnetwork?
- node
Ipv4Cidr StringBlock - The GKE node ip v4 allocation cidr block
- services
Ipv4Cidr StringBlock - The GKE services ip v4 allocation cidr block
- services
Secondary StringRange Name - The GKE services ip v4 allocation secondary range name
- subnetwork
Name String - The GKE cluster subnetwork name
- use
Ip BooleanAliases - Use GKE ip aliases?
ClusterGkeConfigV2MasterAuthorizedNetworksConfig, ClusterGkeConfigV2MasterAuthorizedNetworksConfigArgs
- Cidr
Blocks List<ClusterGke Config V2Master Authorized Networks Config Cidr Block> - The GKE master authorized network config cidr blocks
- Enabled bool
- Enable GKE master authorized network config
- Cidr
Blocks []ClusterGke Config V2Master Authorized Networks Config Cidr Block - The GKE master authorized network config cidr blocks
- Enabled bool
- Enable GKE master authorized network config
- cidr_
blocks list(object) - The GKE master authorized network config cidr blocks
- enabled bool
- Enable GKE master authorized network config
- cidr
Blocks List<ClusterGke Config V2Master Authorized Networks Config Cidr Block> - The GKE master authorized network config cidr blocks
- enabled Boolean
- Enable GKE master authorized network config
- cidr
Blocks ClusterGke Config V2Master Authorized Networks Config Cidr Block[] - The GKE master authorized network config cidr blocks
- enabled boolean
- Enable GKE master authorized network config
- cidr_
blocks Sequence[ClusterGke Config V2Master Authorized Networks Config Cidr Block] - The GKE master authorized network config cidr blocks
- enabled bool
- Enable GKE master authorized network config
- cidr
Blocks List<Property Map> - The GKE master authorized network config cidr blocks
- enabled Boolean
- Enable GKE master authorized network config
ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlock, ClusterGkeConfigV2MasterAuthorizedNetworksConfigCidrBlockArgs
- Cidr
Block string - The GKE master authorized network config cidr block
- Display
Name string - The GKE master authorized network config cidr block dispaly name
- Cidr
Block string - The GKE master authorized network config cidr block
- Display
Name string - The GKE master authorized network config cidr block dispaly name
- cidr_
block string - The GKE master authorized network config cidr block
- display_
name string - The GKE master authorized network config cidr block dispaly name
- cidr
Block String - The GKE master authorized network config cidr block
- display
Name String - The GKE master authorized network config cidr block dispaly name
- cidr
Block string - The GKE master authorized network config cidr block
- display
Name string - The GKE master authorized network config cidr block dispaly name
- cidr_
block str - The GKE master authorized network config cidr block
- display_
name str - The GKE master authorized network config cidr block dispaly name
- cidr
Block String - The GKE master authorized network config cidr block
- display
Name String - The GKE master authorized network config cidr block dispaly name
ClusterGkeConfigV2NodePool, ClusterGkeConfigV2NodePoolArgs
- Initial
Node intCount - The GKE node pool config initial node count
- Name string
- The name of the Cluster (string)
- Version string
- The GKE node pool config version
- Autoscaling
Cluster
Gke Config V2Node Pool Autoscaling - The GKE node pool config autoscaling
- Config
Cluster
Gke Config V2Node Pool Config - The GKE node pool node config
- Management
Cluster
Gke Config V2Node Pool Management - The GKE node pool config management
- Max
Pods intConstraint - The GKE node pool config max pods constraint
- Initial
Node intCount - The GKE node pool config initial node count
- Name string
- The name of the Cluster (string)
- Version string
- The GKE node pool config version
- Autoscaling
Cluster
Gke Config V2Node Pool Autoscaling - The GKE node pool config autoscaling
- Config
Cluster
Gke Config V2Node Pool Config - The GKE node pool node config
- Management
Cluster
Gke Config V2Node Pool Management - The GKE node pool config management
- Max
Pods intConstraint - The GKE node pool config max pods constraint
- initial_
node_ numbercount - The GKE node pool config initial node count
- name string
- The name of the Cluster (string)
- version string
- The GKE node pool config version
- autoscaling object
- The GKE node pool config autoscaling
- config object
- The GKE node pool node config
- management object
- The GKE node pool config management
- max_
pods_ numberconstraint - The GKE node pool config max pods constraint
- initial
Node IntegerCount - The GKE node pool config initial node count
- name String
- The name of the Cluster (string)
- version String
- The GKE node pool config version
- autoscaling
Cluster
Gke Config V2Node Pool Autoscaling - The GKE node pool config autoscaling
- config
Cluster
Gke Config V2Node Pool Config - The GKE node pool node config
- management
Cluster
Gke Config V2Node Pool Management - The GKE node pool config management
- max
Pods IntegerConstraint - The GKE node pool config max pods constraint
- initial
Node numberCount - The GKE node pool config initial node count
- name string
- The name of the Cluster (string)
- version string
- The GKE node pool config version
- autoscaling
Cluster
Gke Config V2Node Pool Autoscaling - The GKE node pool config autoscaling
- config
Cluster
Gke Config V2Node Pool Config - The GKE node pool node config
- management
Cluster
Gke Config V2Node Pool Management - The GKE node pool config management
- max
Pods numberConstraint - The GKE node pool config max pods constraint
- initial_
node_ intcount - The GKE node pool config initial node count
- name str
- The name of the Cluster (string)
- version str
- The GKE node pool config version
- autoscaling
Cluster
Gke Config V2Node Pool Autoscaling - The GKE node pool config autoscaling
- config
Cluster
Gke Config V2Node Pool Config - The GKE node pool node config
- management
Cluster
Gke Config V2Node Pool Management - The GKE node pool config management
- max_
pods_ intconstraint - The GKE node pool config max pods constraint
- initial
Node NumberCount - The GKE node pool config initial node count
- name String
- The name of the Cluster (string)
- version String
- The GKE node pool config version
- autoscaling Property Map
- The GKE node pool config autoscaling
- config Property Map
- The GKE node pool node config
- management Property Map
- The GKE node pool config management
- max
Pods NumberConstraint - The GKE node pool config max pods constraint
ClusterGkeConfigV2NodePoolAutoscaling, ClusterGkeConfigV2NodePoolAutoscalingArgs
- Enabled bool
- Enable GKE node pool config autoscaling
- Max
Node intCount - The GKE node pool config max node count
- Min
Node intCount - The GKE node pool config min node count
- Enabled bool
- Enable GKE node pool config autoscaling
- Max
Node intCount - The GKE node pool config max node count
- Min
Node intCount - The GKE node pool config min node count
- enabled bool
- Enable GKE node pool config autoscaling
- max_
node_ numbercount - The GKE node pool config max node count
- min_
node_ numbercount - The GKE node pool config min node count
- enabled Boolean
- Enable GKE node pool config autoscaling
- max
Node IntegerCount - The GKE node pool config max node count
- min
Node IntegerCount - The GKE node pool config min node count
- enabled boolean
- Enable GKE node pool config autoscaling
- max
Node numberCount - The GKE node pool config max node count
- min
Node numberCount - The GKE node pool config min node count
- enabled bool
- Enable GKE node pool config autoscaling
- max_
node_ intcount - The GKE node pool config max node count
- min_
node_ intcount - The GKE node pool config min node count
- enabled Boolean
- Enable GKE node pool config autoscaling
- max
Node NumberCount - The GKE node pool config max node count
- min
Node NumberCount - The GKE node pool config min node count
ClusterGkeConfigV2NodePoolConfig, ClusterGkeConfigV2NodePoolConfigArgs
- Disk
Size intGb - The GKE node config disk size (Gb)
- Disk
Type string - The GKE node config disk type
- Image
Type string - The GKE node config image type
- Labels Dictionary<string, string>
- Labels for the Cluster (map)
- Local
Ssd intCount - The GKE node config local ssd count
- Machine
Type string - The GKE node config machine type
- Oauth
Scopes List<string> - The GKE node config oauth scopes
- Preemptible bool
- Enable GKE node config preemptible
- Service
Account string - The GKE node config service account
- List<string>
- The GKE node config tags
- Taints
List<Cluster
Gke Config V2Node Pool Config Taint> - The GKE node config taints
- Disk
Size intGb - The GKE node config disk size (Gb)
- Disk
Type string - The GKE node config disk type
- Image
Type string - The GKE node config image type
- Labels map[string]string
- Labels for the Cluster (map)
- Local
Ssd intCount - The GKE node config local ssd count
- Machine
Type string - The GKE node config machine type
- Oauth
Scopes []string - The GKE node config oauth scopes
- Preemptible bool
- Enable GKE node config preemptible
- Service
Account string - The GKE node config service account
- []string
- The GKE node config tags
- Taints
[]Cluster
Gke Config V2Node Pool Config Taint - The GKE node config taints
- disk_
size_ numbergb - The GKE node config disk size (Gb)
- disk_
type string - The GKE node config disk type
- image_
type string - The GKE node config image type
- labels map(string)
- Labels for the Cluster (map)
- local_
ssd_ numbercount - The GKE node config local ssd count
- machine_
type string - The GKE node config machine type
- oauth_
scopes list(string) - The GKE node config oauth scopes
- preemptible bool
- Enable GKE node config preemptible
- service_
account string - The GKE node config service account
- list(string)
- The GKE node config tags
- taints list(object)
- The GKE node config taints
- disk
Size IntegerGb - The GKE node config disk size (Gb)
- disk
Type String - The GKE node config disk type
- image
Type String - The GKE node config image type
- labels Map<String,String>
- Labels for the Cluster (map)
- local
Ssd IntegerCount - The GKE node config local ssd count
- machine
Type String - The GKE node config machine type
- oauth
Scopes List<String> - The GKE node config oauth scopes
- preemptible Boolean
- Enable GKE node config preemptible
- service
Account String - The GKE node config service account
- List<String>
- The GKE node config tags
- taints
List<Cluster
Gke Config V2Node Pool Config Taint> - The GKE node config taints
- disk
Size numberGb - The GKE node config disk size (Gb)
- disk
Type string - The GKE node config disk type
- image
Type string - The GKE node config image type
- labels {[key: string]: string}
- Labels for the Cluster (map)
- local
Ssd numberCount - The GKE node config local ssd count
- machine
Type string - The GKE node config machine type
- oauth
Scopes string[] - The GKE node config oauth scopes
- preemptible boolean
- Enable GKE node config preemptible
- service
Account string - The GKE node config service account
- string[]
- The GKE node config tags
- taints
Cluster
Gke Config V2Node Pool Config Taint[] - The GKE node config taints
- disk_
size_ intgb - The GKE node config disk size (Gb)
- disk_
type str - The GKE node config disk type
- image_
type str - The GKE node config image type
- labels Mapping[str, str]
- Labels for the Cluster (map)
- local_
ssd_ intcount - The GKE node config local ssd count
- machine_
type str - The GKE node config machine type
- oauth_
scopes Sequence[str] - The GKE node config oauth scopes
- preemptible bool
- Enable GKE node config preemptible
- service_
account str - The GKE node config service account
- Sequence[str]
- The GKE node config tags
- taints
Sequence[Cluster
Gke Config V2Node Pool Config Taint] - The GKE node config taints
- disk
Size NumberGb - The GKE node config disk size (Gb)
- disk
Type String - The GKE node config disk type
- image
Type String - The GKE node config image type
- labels Map<String>
- Labels for the Cluster (map)
- local
Ssd NumberCount - The GKE node config local ssd count
- machine
Type String - The GKE node config machine type
- oauth
Scopes List<String> - The GKE node config oauth scopes
- preemptible Boolean
- Enable GKE node config preemptible
- service
Account String - The GKE node config service account
- List<String>
- The GKE node config tags
- taints List<Property Map>
- The GKE node config taints
ClusterGkeConfigV2NodePoolConfigTaint, ClusterGkeConfigV2NodePoolConfigTaintArgs
ClusterGkeConfigV2NodePoolManagement, ClusterGkeConfigV2NodePoolManagementArgs
- Auto
Repair bool - Enable GKE node pool config management auto repair
- Auto
Upgrade bool - Enable GKE node pool config management auto upgrade
- Auto
Repair bool - Enable GKE node pool config management auto repair
- Auto
Upgrade bool - Enable GKE node pool config management auto upgrade
- auto_
repair bool - Enable GKE node pool config management auto repair
- auto_
upgrade bool - Enable GKE node pool config management auto upgrade
- auto
Repair Boolean - Enable GKE node pool config management auto repair
- auto
Upgrade Boolean - Enable GKE node pool config management auto upgrade
- auto
Repair boolean - Enable GKE node pool config management auto repair
- auto
Upgrade boolean - Enable GKE node pool config management auto upgrade
- auto_
repair bool - Enable GKE node pool config management auto repair
- auto_
upgrade bool - Enable GKE node pool config management auto upgrade
- auto
Repair Boolean - Enable GKE node pool config management auto repair
- auto
Upgrade Boolean - Enable GKE node pool config management auto upgrade
ClusterGkeConfigV2PrivateClusterConfig, ClusterGkeConfigV2PrivateClusterConfigArgs
- Master
Ipv4Cidr stringBlock - The GKE cluster private master ip v4 cidr block
- Enable
Private boolEndpoint - Enable GKE cluster private endpoint
- Enable
Private boolNodes - Enable GKE cluster private nodes
- Master
Ipv4Cidr stringBlock - The GKE cluster private master ip v4 cidr block
- Enable
Private boolEndpoint - Enable GKE cluster private endpoint
- Enable
Private boolNodes - Enable GKE cluster private nodes
- master_
ipv4_ stringcidr_ block - The GKE cluster private master ip v4 cidr block
- enable_
private_ boolendpoint - Enable GKE cluster private endpoint
- enable_
private_ boolnodes - Enable GKE cluster private nodes
- master
Ipv4Cidr StringBlock - The GKE cluster private master ip v4 cidr block
- enable
Private BooleanEndpoint - Enable GKE cluster private endpoint
- enable
Private BooleanNodes - Enable GKE cluster private nodes
- master
Ipv4Cidr stringBlock - The GKE cluster private master ip v4 cidr block
- enable
Private booleanEndpoint - Enable GKE cluster private endpoint
- enable
Private booleanNodes - Enable GKE cluster private nodes
- master_
ipv4_ strcidr_ block - The GKE cluster private master ip v4 cidr block
- enable_
private_ boolendpoint - Enable GKE cluster private endpoint
- enable_
private_ boolnodes - Enable GKE cluster private nodes
- master
Ipv4Cidr StringBlock - The GKE cluster private master ip v4 cidr block
- enable
Private BooleanEndpoint - Enable GKE cluster private endpoint
- enable
Private BooleanNodes - Enable GKE cluster private nodes
ClusterImportedConfig, ClusterImportedConfigArgs
- Private
Registry stringUrl - Private registry URL
- Private
Registry stringUrl - Private registry URL
- private_
registry_ stringurl - Private registry URL
- private
Registry StringUrl - Private registry URL
- private
Registry stringUrl - Private registry URL
- private_
registry_ strurl - Private registry URL
- private
Registry StringUrl - Private registry URL
ClusterK3sConfig, ClusterK3sConfigArgs
- Upgrade
Strategy ClusterK3s Config Upgrade Strategy - The K3S upgrade strategy
- Version string
- The K3S kubernetes version
- Upgrade
Strategy ClusterK3s Config Upgrade Strategy - The K3S upgrade strategy
- Version string
- The K3S kubernetes version
- upgrade_
strategy object - The K3S upgrade strategy
- version string
- The K3S kubernetes version
- upgrade
Strategy ClusterK3s Config Upgrade Strategy - The K3S upgrade strategy
- version String
- The K3S kubernetes version
- upgrade
Strategy ClusterK3s Config Upgrade Strategy - The K3S upgrade strategy
- version string
- The K3S kubernetes version
- upgrade_
strategy ClusterK3s Config Upgrade Strategy - The K3S upgrade strategy
- version str
- The K3S kubernetes version
- upgrade
Strategy Property Map - The K3S upgrade strategy
- version String
- The K3S kubernetes version
ClusterK3sConfigUpgradeStrategy, ClusterK3sConfigUpgradeStrategyArgs
- Drain
Server boolNodes - Drain server nodes
- Drain
Worker boolNodes - Drain worker nodes
- Server
Concurrency int - Server concurrency
- Worker
Concurrency int - Worker concurrency
- Drain
Server boolNodes - Drain server nodes
- Drain
Worker boolNodes - Drain worker nodes
- Server
Concurrency int - Server concurrency
- Worker
Concurrency int - Worker concurrency
- drain_
server_ boolnodes - Drain server nodes
- drain_
worker_ boolnodes - Drain worker nodes
- server_
concurrency number - Server concurrency
- worker_
concurrency number - Worker concurrency
- drain
Server BooleanNodes - Drain server nodes
- drain
Worker BooleanNodes - Drain worker nodes
- server
Concurrency Integer - Server concurrency
- worker
Concurrency Integer - Worker concurrency
- drain
Server booleanNodes - Drain server nodes
- drain
Worker booleanNodes - Drain worker nodes
- server
Concurrency number - Server concurrency
- worker
Concurrency number - Worker concurrency
- drain_
server_ boolnodes - Drain server nodes
- drain_
worker_ boolnodes - Drain worker nodes
- server_
concurrency int - Server concurrency
- worker_
concurrency int - Worker concurrency
- drain
Server BooleanNodes - Drain server nodes
- drain
Worker BooleanNodes - Drain worker nodes
- server
Concurrency Number - Server concurrency
- worker
Concurrency Number - Worker concurrency
ClusterOkeConfig, ClusterOkeConfigArgs
- Compartment
Id string - The OCID of the compartment in which to create resources (VCN, worker nodes, etc.)
- Kubernetes
Version string - The Kubernetes version that will be used for your master and worker nodes e.g. v1.33.1
- Node
Image string - The OS for the node image
- Node
Shape string - The shape of the node (determines number of CPUs and amount of memory on each node)
- Region string
- The availability domain within the region to host the OKE cluster
- Tenancy
Id string - The OCID of the tenancy in which to create resources
- Cluster
Type string - Optionally specify a cluster type of basic or enhanced
- Control
Plane stringSubnet Name - The (optional) name of a pre-existing subnet (public or private) for the Kubernetes API endpoint
- Custom
Boot intVolume Size - An optional custom boot volume size (in GB) for the nodes
- Description string
- The description for Cluster (string)
- Enable
Kubernetes boolDashboard - Enable the kubernetes dashboard
- Enable
Private boolControl Plane - Whether Kubernetes API endpoint is a private IP only accessible from within the VCN
- Enable
Private boolNodes - Whether worker nodes are deployed into a new private subnet
- Eviction
Grace stringDuration - The optional grace period in minutes to allow cordon and drain to complete successfuly
- Fingerprint string
- The fingerprint corresponding to the specified user's private API Key
- Flex
Memory intIn Gbs - Optional amount of memory in GB for nodes (requires flexible node_shape)
- Flex
Ocpus int - Optional number of OCPUs for nodes (requires flexible node_shape)
- Force
Delete boolAfter Grace Duration - Whether to send a SIGKILL signal if a pod does not terminate within the specified grace period
- Image
Verification stringKms Key Id - Optional specify a comma separated list of master encryption key OCID(s) to verify images
- Kms
Key stringId - Optional specify the OCID of the KMS Vault master key
- Limit
Node intCount - Optional limit on the total number of nodes in the pool
- Load
Balancer stringSubnet Name1 - The name of the first existing subnet to use for Kubernetes services / LB
- Load
Balancer stringSubnet Name2 - The (optional) name of a second existing subnet to use for Kubernetes services / LB
- Node
Pool stringDns Domain Name - Optional name for DNS domain of node pool subnet
- Node
Pool stringSubnet Name - Optional pre-existing subnet (public or private) for nodes
- Node
Public stringKey Contents - The contents of the SSH public key file to use for the nodes
- Node
User stringData Contents - The contents of custom cloud-init / userData for the nodes - will be base64 encoded internally if it is not already
- Pod
Cidr string - Optional specify the pod CIDR, defaults to 10.244.0.0/16
- Pod
Network string - Optional Pod Network plugin. Choose flannel or native. Defaults to flannel
- Pod
Subnet stringName - The (optional) name of a pre-existing subnet that pods will be assigned IPs from when using native pod networking
- Private
Key stringContents - The private API key file contents for the specified user, in PEM format
- Private
Key stringPassphrase - The passphrase of the private key for the OKE cluster
- Quantity
Of intNode Subnets - Number of node subnets (defaults to creating 1 regional subnet)
- Quantity
Per intSubnet - Number of worker nodes in each subnet / availability domain
- Service
Cidr string - Optional specify the service CIDR, defaults to 10.96.0.0/16
- Service
Dns stringDomain Name - Optional name for DNS domain of service subnet
- Skip
Vcn boolDelete - Whether to skip deleting VCN
- User
Ocid string - The OCID of a user who has access to the tenancy/compartment
- Vcn
Compartment stringId - The OCID of the compartment (if different from compartment_id) in which to find the pre-existing virtual network set with vcn_name.
- Vcn
Name string - The optional name of an existing virtual network to use for the cluster creation. A new VCN will be created if not specified.
- Worker
Node stringIngress Cidr - Additional CIDR from which to allow ingress to worker nodes
- Compartment
Id string - The OCID of the compartment in which to create resources (VCN, worker nodes, etc.)
- Kubernetes
Version string - The Kubernetes version that will be used for your master and worker nodes e.g. v1.33.1
- Node
Image string - The OS for the node image
- Node
Shape string - The shape of the node (determines number of CPUs and amount of memory on each node)
- Region string
- The availability domain within the region to host the OKE cluster
- Tenancy
Id string - The OCID of the tenancy in which to create resources
- Cluster
Type string - Optionally specify a cluster type of basic or enhanced
- Control
Plane stringSubnet Name - The (optional) name of a pre-existing subnet (public or private) for the Kubernetes API endpoint
- Custom
Boot intVolume Size - An optional custom boot volume size (in GB) for the nodes
- Description string
- The description for Cluster (string)
- Enable
Kubernetes boolDashboard - Enable the kubernetes dashboard
- Enable
Private boolControl Plane - Whether Kubernetes API endpoint is a private IP only accessible from within the VCN
- Enable
Private boolNodes - Whether worker nodes are deployed into a new private subnet
- Eviction
Grace stringDuration - The optional grace period in minutes to allow cordon and drain to complete successfuly
- Fingerprint string
- The fingerprint corresponding to the specified user's private API Key
- Flex
Memory intIn Gbs - Optional amount of memory in GB for nodes (requires flexible node_shape)
- Flex
Ocpus int - Optional number of OCPUs for nodes (requires flexible node_shape)
- Force
Delete boolAfter Grace Duration - Whether to send a SIGKILL signal if a pod does not terminate within the specified grace period
- Image
Verification stringKms Key Id - Optional specify a comma separated list of master encryption key OCID(s) to verify images
- Kms
Key stringId - Optional specify the OCID of the KMS Vault master key
- Limit
Node intCount - Optional limit on the total number of nodes in the pool
- Load
Balancer stringSubnet Name1 - The name of the first existing subnet to use for Kubernetes services / LB
- Load
Balancer stringSubnet Name2 - The (optional) name of a second existing subnet to use for Kubernetes services / LB
- Node
Pool stringDns Domain Name - Optional name for DNS domain of node pool subnet
- Node
Pool stringSubnet Name - Optional pre-existing subnet (public or private) for nodes
- Node
Public stringKey Contents - The contents of the SSH public key file to use for the nodes
- Node
User stringData Contents - The contents of custom cloud-init / userData for the nodes - will be base64 encoded internally if it is not already
- Pod
Cidr string - Optional specify the pod CIDR, defaults to 10.244.0.0/16
- Pod
Network string - Optional Pod Network plugin. Choose flannel or native. Defaults to flannel
- Pod
Subnet stringName - The (optional) name of a pre-existing subnet that pods will be assigned IPs from when using native pod networking
- Private
Key stringContents - The private API key file contents for the specified user, in PEM format
- Private
Key stringPassphrase - The passphrase of the private key for the OKE cluster
- Quantity
Of intNode Subnets - Number of node subnets (defaults to creating 1 regional subnet)
- Quantity
Per intSubnet - Number of worker nodes in each subnet / availability domain
- Service
Cidr string - Optional specify the service CIDR, defaults to 10.96.0.0/16
- Service
Dns stringDomain Name - Optional name for DNS domain of service subnet
- Skip
Vcn boolDelete - Whether to skip deleting VCN
- User
Ocid string - The OCID of a user who has access to the tenancy/compartment
- Vcn
Compartment stringId - The OCID of the compartment (if different from compartment_id) in which to find the pre-existing virtual network set with vcn_name.
- Vcn
Name string - The optional name of an existing virtual network to use for the cluster creation. A new VCN will be created if not specified.
- Worker
Node stringIngress Cidr - Additional CIDR from which to allow ingress to worker nodes
- compartment_
id string - The OCID of the compartment in which to create resources (VCN, worker nodes, etc.)
- kubernetes_
version string - The Kubernetes version that will be used for your master and worker nodes e.g. v1.33.1
- node_
image string - The OS for the node image
- node_
shape string - The shape of the node (determines number of CPUs and amount of memory on each node)
- region string
- The availability domain within the region to host the OKE cluster
- tenancy_
id string - The OCID of the tenancy in which to create resources
- cluster_
type string - Optionally specify a cluster type of basic or enhanced
- control_
plane_ stringsubnet_ name - The (optional) name of a pre-existing subnet (public or private) for the Kubernetes API endpoint
- custom_
boot_ numbervolume_ size - An optional custom boot volume size (in GB) for the nodes
- description string
- The description for Cluster (string)
- enable_
kubernetes_ booldashboard - Enable the kubernetes dashboard
- enable_
private_ boolcontrol_ plane - Whether Kubernetes API endpoint is a private IP only accessible from within the VCN
- enable_
private_ boolnodes - Whether worker nodes are deployed into a new private subnet
- eviction_
grace_ stringduration - The optional grace period in minutes to allow cordon and drain to complete successfuly
- fingerprint string
- The fingerprint corresponding to the specified user's private API Key
- flex_
memory_ numberin_ gbs - Optional amount of memory in GB for nodes (requires flexible node_shape)
- flex_
ocpus number - Optional number of OCPUs for nodes (requires flexible node_shape)
- force_
delete_ boolafter_ grace_ duration - Whether to send a SIGKILL signal if a pod does not terminate within the specified grace period
- image_
verification_ stringkms_ key_ id - Optional specify a comma separated list of master encryption key OCID(s) to verify images
- kms_
key_ stringid - Optional specify the OCID of the KMS Vault master key
- limit_
node_ numbercount - Optional limit on the total number of nodes in the pool
- load_
balancer_ stringsubnet_ name1 - The name of the first existing subnet to use for Kubernetes services / LB
- load_
balancer_ stringsubnet_ name2 - The (optional) name of a second existing subnet to use for Kubernetes services / LB
- node_
pool_ stringdns_ domain_ name - Optional name for DNS domain of node pool subnet
- node_
pool_ stringsubnet_ name - Optional pre-existing subnet (public or private) for nodes
- node_
public_ stringkey_ contents - The contents of the SSH public key file to use for the nodes
- node_
user_ stringdata_ contents - The contents of custom cloud-init / userData for the nodes - will be base64 encoded internally if it is not already
- pod_
cidr string - Optional specify the pod CIDR, defaults to 10.244.0.0/16
- pod_
network string - Optional Pod Network plugin. Choose flannel or native. Defaults to flannel
- pod_
subnet_ stringname - The (optional) name of a pre-existing subnet that pods will be assigned IPs from when using native pod networking
- private_
key_ stringcontents - The private API key file contents for the specified user, in PEM format
- private_
key_ stringpassphrase - The passphrase of the private key for the OKE cluster
- quantity_
of_ numbernode_ subnets - Number of node subnets (defaults to creating 1 regional subnet)
- quantity_
per_ numbersubnet - Number of worker nodes in each subnet / availability domain
- service_
cidr string - Optional specify the service CIDR, defaults to 10.96.0.0/16
- service_
dns_ stringdomain_ name - Optional name for DNS domain of service subnet
- skip_
vcn_ booldelete - Whether to skip deleting VCN
- user_
ocid string - The OCID of a user who has access to the tenancy/compartment
- vcn_
compartment_ stringid - The OCID of the compartment (if different from compartment_id) in which to find the pre-existing virtual network set with vcn_name.
- vcn_
name string - The optional name of an existing virtual network to use for the cluster creation. A new VCN will be created if not specified.
- worker_
node_ stringingress_ cidr - Additional CIDR from which to allow ingress to worker nodes
- compartment
Id String - The OCID of the compartment in which to create resources (VCN, worker nodes, etc.)
- kubernetes
Version String - The Kubernetes version that will be used for your master and worker nodes e.g. v1.33.1
- node
Image String - The OS for the node image
- node
Shape String - The shape of the node (determines number of CPUs and amount of memory on each node)
- region String
- The availability domain within the region to host the OKE cluster
- tenancy
Id String - The OCID of the tenancy in which to create resources
- cluster
Type String - Optionally specify a cluster type of basic or enhanced
- control
Plane StringSubnet Name - The (optional) name of a pre-existing subnet (public or private) for the Kubernetes API endpoint
- custom
Boot IntegerVolume Size - An optional custom boot volume size (in GB) for the nodes
- description String
- The description for Cluster (string)
- enable
Kubernetes BooleanDashboard - Enable the kubernetes dashboard
- enable
Private BooleanControl Plane - Whether Kubernetes API endpoint is a private IP only accessible from within the VCN
- enable
Private BooleanNodes - Whether worker nodes are deployed into a new private subnet
- eviction
Grace StringDuration - The optional grace period in minutes to allow cordon and drain to complete successfuly
- fingerprint String
- The fingerprint corresponding to the specified user's private API Key
- flex
Memory IntegerIn Gbs - Optional amount of memory in GB for nodes (requires flexible node_shape)
- flex
Ocpus Integer - Optional number of OCPUs for nodes (requires flexible node_shape)
- force
Delete BooleanAfter Grace Duration - Whether to send a SIGKILL signal if a pod does not terminate within the specified grace period
- image
Verification StringKms Key Id - Optional specify a comma separated list of master encryption key OCID(s) to verify images
- kms
Key StringId - Optional specify the OCID of the KMS Vault master key
- limit
Node IntegerCount - Optional limit on the total number of nodes in the pool
- load
Balancer StringSubnet Name1 - The name of the first existing subnet to use for Kubernetes services / LB
- load
Balancer StringSubnet Name2 - The (optional) name of a second existing subnet to use for Kubernetes services / LB
- node
Pool StringDns Domain Name - Optional name for DNS domain of node pool subnet
- node
Pool StringSubnet Name - Optional pre-existing subnet (public or private) for nodes
- node
Public StringKey Contents - The contents of the SSH public key file to use for the nodes
- node
User StringData Contents - The contents of custom cloud-init / userData for the nodes - will be base64 encoded internally if it is not already
- pod
Cidr String - Optional specify the pod CIDR, defaults to 10.244.0.0/16
- pod
Network String - Optional Pod Network plugin. Choose flannel or native. Defaults to flannel
- pod
Subnet StringName - The (optional) name of a pre-existing subnet that pods will be assigned IPs from when using native pod networking
- private
Key StringContents - The private API key file contents for the specified user, in PEM format
- private
Key StringPassphrase - The passphrase of the private key for the OKE cluster
- quantity
Of IntegerNode Subnets - Number of node subnets (defaults to creating 1 regional subnet)
- quantity
Per IntegerSubnet - Number of worker nodes in each subnet / availability domain
- service
Cidr String - Optional specify the service CIDR, defaults to 10.96.0.0/16
- service
Dns StringDomain Name - Optional name for DNS domain of service subnet
- skip
Vcn BooleanDelete - Whether to skip deleting VCN
- user
Ocid String - The OCID of a user who has access to the tenancy/compartment
- vcn
Compartment StringId - The OCID of the compartment (if different from compartment_id) in which to find the pre-existing virtual network set with vcn_name.
- vcn
Name String - The optional name of an existing virtual network to use for the cluster creation. A new VCN will be created if not specified.
- worker
Node StringIngress Cidr - Additional CIDR from which to allow ingress to worker nodes
- compartment
Id string - The OCID of the compartment in which to create resources (VCN, worker nodes, etc.)
- kubernetes
Version string - The Kubernetes version that will be used for your master and worker nodes e.g. v1.33.1
- node
Image string - The OS for the node image
- node
Shape string - The shape of the node (determines number of CPUs and amount of memory on each node)
- region string
- The availability domain within the region to host the OKE cluster
- tenancy
Id string - The OCID of the tenancy in which to create resources
- cluster
Type string - Optionally specify a cluster type of basic or enhanced
- control
Plane stringSubnet Name - The (optional) name of a pre-existing subnet (public or private) for the Kubernetes API endpoint
- custom
Boot numberVolume Size - An optional custom boot volume size (in GB) for the nodes
- description string
- The description for Cluster (string)
- enable
Kubernetes booleanDashboard - Enable the kubernetes dashboard
- enable
Private booleanControl Plane - Whether Kubernetes API endpoint is a private IP only accessible from within the VCN
- enable
Private booleanNodes - Whether worker nodes are deployed into a new private subnet
- eviction
Grace stringDuration - The optional grace period in minutes to allow cordon and drain to complete successfuly
- fingerprint string
- The fingerprint corresponding to the specified user's private API Key
- flex
Memory numberIn Gbs - Optional amount of memory in GB for nodes (requires flexible node_shape)
- flex
Ocpus number - Optional number of OCPUs for nodes (requires flexible node_shape)
- force
Delete booleanAfter Grace Duration - Whether to send a SIGKILL signal if a pod does not terminate within the specified grace period
- image
Verification stringKms Key Id - Optional specify a comma separated list of master encryption key OCID(s) to verify images
- kms
Key stringId - Optional specify the OCID of the KMS Vault master key
- limit
Node numberCount - Optional limit on the total number of nodes in the pool
- load
Balancer stringSubnet Name1 - The name of the first existing subnet to use for Kubernetes services / LB
- load
Balancer stringSubnet Name2 - The (optional) name of a second existing subnet to use for Kubernetes services / LB
- node
Pool stringDns Domain Name - Optional name for DNS domain of node pool subnet
- node
Pool stringSubnet Name - Optional pre-existing subnet (public or private) for nodes
- node
Public stringKey Contents - The contents of the SSH public key file to use for the nodes
- node
User stringData Contents - The contents of custom cloud-init / userData for the nodes - will be base64 encoded internally if it is not already
- pod
Cidr string - Optional specify the pod CIDR, defaults to 10.244.0.0/16
- pod
Network string - Optional Pod Network plugin. Choose flannel or native. Defaults to flannel
- pod
Subnet stringName - The (optional) name of a pre-existing subnet that pods will be assigned IPs from when using native pod networking
- private
Key stringContents - The private API key file contents for the specified user, in PEM format
- private
Key stringPassphrase - The passphrase of the private key for the OKE cluster
- quantity
Of numberNode Subnets - Number of node subnets (defaults to creating 1 regional subnet)
- quantity
Per numberSubnet - Number of worker nodes in each subnet / availability domain
- service
Cidr string - Optional specify the service CIDR, defaults to 10.96.0.0/16
- service
Dns stringDomain Name - Optional name for DNS domain of service subnet
- skip
Vcn booleanDelete - Whether to skip deleting VCN
- user
Ocid string - The OCID of a user who has access to the tenancy/compartment
- vcn
Compartment stringId - The OCID of the compartment (if different from compartment_id) in which to find the pre-existing virtual network set with vcn_name.
- vcn
Name string - The optional name of an existing virtual network to use for the cluster creation. A new VCN will be created if not specified.
- worker
Node stringIngress Cidr - Additional CIDR from which to allow ingress to worker nodes
- compartment_
id str - The OCID of the compartment in which to create resources (VCN, worker nodes, etc.)
- kubernetes_
version str - The Kubernetes version that will be used for your master and worker nodes e.g. v1.33.1
- node_
image str - The OS for the node image
- node_
shape str - The shape of the node (determines number of CPUs and amount of memory on each node)
- region str
- The availability domain within the region to host the OKE cluster
- tenancy_
id str - The OCID of the tenancy in which to create resources
- cluster_
type str - Optionally specify a cluster type of basic or enhanced
- control_
plane_ strsubnet_ name - The (optional) name of a pre-existing subnet (public or private) for the Kubernetes API endpoint
- custom_
boot_ intvolume_ size - An optional custom boot volume size (in GB) for the nodes
- description str
- The description for Cluster (string)
- enable_
kubernetes_ booldashboard - Enable the kubernetes dashboard
- enable_
private_ boolcontrol_ plane - Whether Kubernetes API endpoint is a private IP only accessible from within the VCN
- enable_
private_ boolnodes - Whether worker nodes are deployed into a new private subnet
- eviction_
grace_ strduration - The optional grace period in minutes to allow cordon and drain to complete successfuly
- fingerprint str
- The fingerprint corresponding to the specified user's private API Key
- flex_
memory_ intin_ gbs - Optional amount of memory in GB for nodes (requires flexible node_shape)
- flex_
ocpus int - Optional number of OCPUs for nodes (requires flexible node_shape)
- force_
delete_ boolafter_ grace_ duration - Whether to send a SIGKILL signal if a pod does not terminate within the specified grace period
- image_
verification_ strkms_ key_ id - Optional specify a comma separated list of master encryption key OCID(s) to verify images
- kms_
key_ strid - Optional specify the OCID of the KMS Vault master key
- limit_
node_ intcount - Optional limit on the total number of nodes in the pool
- load_
balancer_ strsubnet_ name1 - The name of the first existing subnet to use for Kubernetes services / LB
- load_
balancer_ strsubnet_ name2 - The (optional) name of a second existing subnet to use for Kubernetes services / LB
- node_
pool_ strdns_ domain_ name - Optional name for DNS domain of node pool subnet
- node_
pool_ strsubnet_ name - Optional pre-existing subnet (public or private) for nodes
- node_
public_ strkey_ contents - The contents of the SSH public key file to use for the nodes
- node_
user_ strdata_ contents - The contents of custom cloud-init / userData for the nodes - will be base64 encoded internally if it is not already
- pod_
cidr str - Optional specify the pod CIDR, defaults to 10.244.0.0/16
- pod_
network str - Optional Pod Network plugin. Choose flannel or native. Defaults to flannel
- pod_
subnet_ strname - The (optional) name of a pre-existing subnet that pods will be assigned IPs from when using native pod networking
- private_
key_ strcontents - The private API key file contents for the specified user, in PEM format
- private_
key_ strpassphrase - The passphrase of the private key for the OKE cluster
- quantity_
of_ intnode_ subnets - Number of node subnets (defaults to creating 1 regional subnet)
- quantity_
per_ intsubnet - Number of worker nodes in each subnet / availability domain
- service_
cidr str - Optional specify the service CIDR, defaults to 10.96.0.0/16
- service_
dns_ strdomain_ name - Optional name for DNS domain of service subnet
- skip_
vcn_ booldelete - Whether to skip deleting VCN
- user_
ocid str - The OCID of a user who has access to the tenancy/compartment
- vcn_
compartment_ strid - The OCID of the compartment (if different from compartment_id) in which to find the pre-existing virtual network set with vcn_name.
- vcn_
name str - The optional name of an existing virtual network to use for the cluster creation. A new VCN will be created if not specified.
- worker_
node_ stringress_ cidr - Additional CIDR from which to allow ingress to worker nodes
- compartment
Id String - The OCID of the compartment in which to create resources (VCN, worker nodes, etc.)
- kubernetes
Version String - The Kubernetes version that will be used for your master and worker nodes e.g. v1.33.1
- node
Image String - The OS for the node image
- node
Shape String - The shape of the node (determines number of CPUs and amount of memory on each node)
- region String
- The availability domain within the region to host the OKE cluster
- tenancy
Id String - The OCID of the tenancy in which to create resources
- cluster
Type String - Optionally specify a cluster type of basic or enhanced
- control
Plane StringSubnet Name - The (optional) name of a pre-existing subnet (public or private) for the Kubernetes API endpoint
- custom
Boot NumberVolume Size - An optional custom boot volume size (in GB) for the nodes
- description String
- The description for Cluster (string)
- enable
Kubernetes BooleanDashboard - Enable the kubernetes dashboard
- enable
Private BooleanControl Plane - Whether Kubernetes API endpoint is a private IP only accessible from within the VCN
- enable
Private BooleanNodes - Whether worker nodes are deployed into a new private subnet
- eviction
Grace StringDuration - The optional grace period in minutes to allow cordon and drain to complete successfuly
- fingerprint String
- The fingerprint corresponding to the specified user's private API Key
- flex
Memory NumberIn Gbs - Optional amount of memory in GB for nodes (requires flexible node_shape)
- flex
Ocpus Number - Optional number of OCPUs for nodes (requires flexible node_shape)
- force
Delete BooleanAfter Grace Duration - Whether to send a SIGKILL signal if a pod does not terminate within the specified grace period
- image
Verification StringKms Key Id - Optional specify a comma separated list of master encryption key OCID(s) to verify images
- kms
Key StringId - Optional specify the OCID of the KMS Vault master key
- limit
Node NumberCount - Optional limit on the total number of nodes in the pool
- load
Balancer StringSubnet Name1 - The name of the first existing subnet to use for Kubernetes services / LB
- load
Balancer StringSubnet Name2 - The (optional) name of a second existing subnet to use for Kubernetes services / LB
- node
Pool StringDns Domain Name - Optional name for DNS domain of node pool subnet
- node
Pool StringSubnet Name - Optional pre-existing subnet (public or private) for nodes
- node
Public StringKey Contents - The contents of the SSH public key file to use for the nodes
- node
User StringData Contents - The contents of custom cloud-init / userData for the nodes - will be base64 encoded internally if it is not already
- pod
Cidr String - Optional specify the pod CIDR, defaults to 10.244.0.0/16
- pod
Network String - Optional Pod Network plugin. Choose flannel or native. Defaults to flannel
- pod
Subnet StringName - The (optional) name of a pre-existing subnet that pods will be assigned IPs from when using native pod networking
- private
Key StringContents - The private API key file contents for the specified user, in PEM format
- private
Key StringPassphrase - The passphrase of the private key for the OKE cluster
- quantity
Of NumberNode Subnets - Number of node subnets (defaults to creating 1 regional subnet)
- quantity
Per NumberSubnet - Number of worker nodes in each subnet / availability domain
- service
Cidr String - Optional specify the service CIDR, defaults to 10.96.0.0/16
- service
Dns StringDomain Name - Optional name for DNS domain of service subnet
- skip
Vcn BooleanDelete - Whether to skip deleting VCN
- user
Ocid String - The OCID of a user who has access to the tenancy/compartment
- vcn
Compartment StringId - The OCID of the compartment (if different from compartment_id) in which to find the pre-existing virtual network set with vcn_name.
- vcn
Name String - The optional name of an existing virtual network to use for the cluster creation. A new VCN will be created if not specified.
- worker
Node StringIngress Cidr - Additional CIDR from which to allow ingress to worker nodes
ClusterRke2Config, ClusterRke2ConfigArgs
- Upgrade
Strategy ClusterRke2Config Upgrade Strategy - The RKE2 upgrade strategy
- Version string
- The RKE2 kubernetes version
- Upgrade
Strategy ClusterRke2Config Upgrade Strategy - The RKE2 upgrade strategy
- Version string
- The RKE2 kubernetes version
- upgrade_
strategy object - The RKE2 upgrade strategy
- version string
- The RKE2 kubernetes version
- upgrade
Strategy ClusterRke2Config Upgrade Strategy - The RKE2 upgrade strategy
- version String
- The RKE2 kubernetes version
- upgrade
Strategy ClusterRke2Config Upgrade Strategy - The RKE2 upgrade strategy
- version string
- The RKE2 kubernetes version
- upgrade_
strategy ClusterRke2Config Upgrade Strategy - The RKE2 upgrade strategy
- version str
- The RKE2 kubernetes version
- upgrade
Strategy Property Map - The RKE2 upgrade strategy
- version String
- The RKE2 kubernetes version
ClusterRke2ConfigUpgradeStrategy, ClusterRke2ConfigUpgradeStrategyArgs
- Drain
Server boolNodes - Drain server nodes
- Drain
Worker boolNodes - Drain worker nodes
- Server
Concurrency int - Server concurrency
- Worker
Concurrency int - Worker concurrency
- Drain
Server boolNodes - Drain server nodes
- Drain
Worker boolNodes - Drain worker nodes
- Server
Concurrency int - Server concurrency
- Worker
Concurrency int - Worker concurrency
- drain_
server_ boolnodes - Drain server nodes
- drain_
worker_ boolnodes - Drain worker nodes
- server_
concurrency number - Server concurrency
- worker_
concurrency number - Worker concurrency
- drain
Server BooleanNodes - Drain server nodes
- drain
Worker BooleanNodes - Drain worker nodes
- server
Concurrency Integer - Server concurrency
- worker
Concurrency Integer - Worker concurrency
- drain
Server booleanNodes - Drain server nodes
- drain
Worker booleanNodes - Drain worker nodes
- server
Concurrency number - Server concurrency
- worker
Concurrency number - Worker concurrency
- drain_
server_ boolnodes - Drain server nodes
- drain_
worker_ boolnodes - Drain worker nodes
- server_
concurrency int - Server concurrency
- worker_
concurrency int - Worker concurrency
- drain
Server BooleanNodes - Drain server nodes
- drain
Worker BooleanNodes - Drain worker nodes
- server
Concurrency Number - Server concurrency
- worker
Concurrency Number - Worker concurrency
Import
Clusters can be imported using the Rancher Cluster ID
$ pulumi import rancher2:index/cluster:Cluster foo <CLUSTER_ID>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Rancher2 pulumi/pulumi-rancher2
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rancher2Terraform Provider.
published on Thursday, Sep 17, 2026 by Pulumi