Resource for managing Apache CloudStack clusters in Spectro Cloud through Palette.
Example Usage
Basic Apache CloudStack Cluster
import * as pulumi from "@pulumi/pulumi";
import * as spectrocloud from "@pulumi/spectrocloud";
const account = spectrocloud.getCloudaccountApacheCloudstack({
name: "apache-cloudstack-account-1",
});
const profile = spectrocloud.getClusterProfile({
name: "cloudstack-k8s-profile",
});
const cluster = new spectrocloud.ClusterApacheCloudstack("cluster", {
name: "apache-cloudstack-cluster-1",
tags: [
"dev",
"cloudstack",
"department:engineering",
],
cloudAccountId: account.then(account => account.id),
cloudConfig: {
sshKeyName: "my-ssh-key",
zones: [{
name: "Zone1",
network: {
id: "network-id",
name: "DefaultNetwork",
},
}],
},
clusterProfiles: [{
id: profile.then(profile => profile.id),
}],
machinePools: [
{
controlPlane: true,
controlPlaneAsWorker: true,
name: "cp-pool",
count: 1,
offering: "Medium Instance",
networks: [{
networkName: "DefaultNetwork",
}],
additionalLabels: {
role: "control-plane",
},
},
{
name: "worker-pool",
count: 2,
offering: "Large Instance",
networks: [{
networkName: "DefaultNetwork",
}],
additionalLabels: {
role: "worker",
},
},
],
});
import pulumi
import pulumi_spectrocloud as spectrocloud
account = spectrocloud.get_cloudaccount_apache_cloudstack(name="apache-cloudstack-account-1")
profile = spectrocloud.get_cluster_profile(name="cloudstack-k8s-profile")
cluster = spectrocloud.ClusterApacheCloudstack("cluster",
name="apache-cloudstack-cluster-1",
tags=[
"dev",
"cloudstack",
"department:engineering",
],
cloud_account_id=account.id,
cloud_config={
"ssh_key_name": "my-ssh-key",
"zones": [{
"name": "Zone1",
"network": {
"id": "network-id",
"name": "DefaultNetwork",
},
}],
},
cluster_profiles=[{
"id": profile.id,
}],
machine_pools=[
{
"control_plane": True,
"control_plane_as_worker": True,
"name": "cp-pool",
"count": 1,
"offering": "Medium Instance",
"networks": [{
"network_name": "DefaultNetwork",
}],
"additional_labels": {
"role": "control-plane",
},
},
{
"name": "worker-pool",
"count": 2,
"offering": "Large Instance",
"networks": [{
"network_name": "DefaultNetwork",
}],
"additional_labels": {
"role": "worker",
},
},
])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/spectrocloud/spectrocloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
account, err := spectrocloud.LookupCloudaccountApacheCloudstack(ctx, &spectrocloud.LookupCloudaccountApacheCloudstackArgs{
Name: pulumi.StringRef("apache-cloudstack-account-1"),
}, nil)
if err != nil {
return err
}
profile, err := spectrocloud.LookupClusterProfile(ctx, &spectrocloud.LookupClusterProfileArgs{
Name: pulumi.StringRef("cloudstack-k8s-profile"),
}, nil)
if err != nil {
return err
}
_, err = spectrocloud.NewClusterApacheCloudstack(ctx, "cluster", &spectrocloud.ClusterApacheCloudstackArgs{
Name: pulumi.String("apache-cloudstack-cluster-1"),
Tags: pulumi.StringArray{
pulumi.String("dev"),
pulumi.String("cloudstack"),
pulumi.String("department:engineering"),
},
CloudAccountId: pulumi.String(account.Id),
CloudConfig: &spectrocloud.ClusterApacheCloudstackCloudConfigArgs{
SshKeyName: pulumi.String("my-ssh-key"),
Zones: spectrocloud.ClusterApacheCloudstackCloudConfigZoneArray{
&spectrocloud.ClusterApacheCloudstackCloudConfigZoneArgs{
Name: pulumi.String("Zone1"),
Network: &spectrocloud.ClusterApacheCloudstackCloudConfigZoneNetworkArgs{
Id: pulumi.String("network-id"),
Name: pulumi.String("DefaultNetwork"),
},
},
},
},
ClusterProfiles: spectrocloud.ClusterApacheCloudstackClusterProfileArray{
&spectrocloud.ClusterApacheCloudstackClusterProfileArgs{
Id: pulumi.String(profile.Id),
},
},
MachinePools: spectrocloud.ClusterApacheCloudstackMachinePoolArray{
&spectrocloud.ClusterApacheCloudstackMachinePoolArgs{
ControlPlane: pulumi.Bool(true),
ControlPlaneAsWorker: pulumi.Bool(true),
Name: pulumi.String("cp-pool"),
Count: pulumi.Float64(1),
Offering: pulumi.String("Medium Instance"),
Networks: spectrocloud.ClusterApacheCloudstackMachinePoolNetworkArray{
&spectrocloud.ClusterApacheCloudstackMachinePoolNetworkArgs{
NetworkName: pulumi.String("DefaultNetwork"),
},
},
AdditionalLabels: pulumi.StringMap{
"role": pulumi.String("control-plane"),
},
},
&spectrocloud.ClusterApacheCloudstackMachinePoolArgs{
Name: pulumi.String("worker-pool"),
Count: pulumi.Float64(2),
Offering: pulumi.String("Large Instance"),
Networks: spectrocloud.ClusterApacheCloudstackMachinePoolNetworkArray{
&spectrocloud.ClusterApacheCloudstackMachinePoolNetworkArgs{
NetworkName: pulumi.String("DefaultNetwork"),
},
},
AdditionalLabels: pulumi.StringMap{
"role": pulumi.String("worker"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Spectrocloud = Pulumi.Spectrocloud;
return await Deployment.RunAsync(() =>
{
var account = Spectrocloud.GetCloudaccountApacheCloudstack.Invoke(new()
{
Name = "apache-cloudstack-account-1",
});
var profile = Spectrocloud.GetClusterProfile.Invoke(new()
{
Name = "cloudstack-k8s-profile",
});
var cluster = new Spectrocloud.ClusterApacheCloudstack("cluster", new()
{
Name = "apache-cloudstack-cluster-1",
Tags = new[]
{
"dev",
"cloudstack",
"department:engineering",
},
CloudAccountId = account.Apply(getCloudaccountApacheCloudstackResult => getCloudaccountApacheCloudstackResult.Id),
CloudConfig = new Spectrocloud.Inputs.ClusterApacheCloudstackCloudConfigArgs
{
SshKeyName = "my-ssh-key",
Zones = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackCloudConfigZoneArgs
{
Name = "Zone1",
Network = new Spectrocloud.Inputs.ClusterApacheCloudstackCloudConfigZoneNetworkArgs
{
Id = "network-id",
Name = "DefaultNetwork",
},
},
},
},
ClusterProfiles = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackClusterProfileArgs
{
Id = profile.Apply(getClusterProfileResult => getClusterProfileResult.Id),
},
},
MachinePools = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackMachinePoolArgs
{
ControlPlane = true,
ControlPlaneAsWorker = true,
Name = "cp-pool",
Count = 1,
Offering = "Medium Instance",
Networks = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackMachinePoolNetworkArgs
{
NetworkName = "DefaultNetwork",
},
},
AdditionalLabels =
{
{ "role", "control-plane" },
},
},
new Spectrocloud.Inputs.ClusterApacheCloudstackMachinePoolArgs
{
Name = "worker-pool",
Count = 2,
Offering = "Large Instance",
Networks = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackMachinePoolNetworkArgs
{
NetworkName = "DefaultNetwork",
},
},
AdditionalLabels =
{
{ "role", "worker" },
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spectrocloud.SpectrocloudFunctions;
import com.pulumi.spectrocloud.inputs.GetCloudaccountApacheCloudstackArgs;
import com.pulumi.spectrocloud.inputs.GetClusterProfileArgs;
import com.pulumi.spectrocloud.ClusterApacheCloudstack;
import com.pulumi.spectrocloud.ClusterApacheCloudstackArgs;
import com.pulumi.spectrocloud.inputs.ClusterApacheCloudstackCloudConfigArgs;
import com.pulumi.spectrocloud.inputs.ClusterApacheCloudstackClusterProfileArgs;
import com.pulumi.spectrocloud.inputs.ClusterApacheCloudstackMachinePoolArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var account = SpectrocloudFunctions.getCloudaccountApacheCloudstack(GetCloudaccountApacheCloudstackArgs.builder()
.name("apache-cloudstack-account-1")
.build());
final var profile = SpectrocloudFunctions.getClusterProfile(GetClusterProfileArgs.builder()
.name("cloudstack-k8s-profile")
.build());
var cluster = new ClusterApacheCloudstack("cluster", ClusterApacheCloudstackArgs.builder()
.name("apache-cloudstack-cluster-1")
.tags(
"dev",
"cloudstack",
"department:engineering")
.cloudAccountId(account.id())
.cloudConfig(ClusterApacheCloudstackCloudConfigArgs.builder()
.sshKeyName("my-ssh-key")
.zones(ClusterApacheCloudstackCloudConfigZoneArgs.builder()
.name("Zone1")
.network(ClusterApacheCloudstackCloudConfigZoneNetworkArgs.builder()
.id("network-id")
.name("DefaultNetwork")
.build())
.build())
.build())
.clusterProfiles(ClusterApacheCloudstackClusterProfileArgs.builder()
.id(profile.id())
.build())
.machinePools(
ClusterApacheCloudstackMachinePoolArgs.builder()
.controlPlane(true)
.controlPlaneAsWorker(true)
.name("cp-pool")
.count(1.0)
.offering("Medium Instance")
.networks(ClusterApacheCloudstackMachinePoolNetworkArgs.builder()
.networkName("DefaultNetwork")
.build())
.additionalLabels(Map.of("role", "control-plane"))
.build(),
ClusterApacheCloudstackMachinePoolArgs.builder()
.name("worker-pool")
.count(2.0)
.offering("Large Instance")
.networks(ClusterApacheCloudstackMachinePoolNetworkArgs.builder()
.networkName("DefaultNetwork")
.build())
.additionalLabels(Map.of("role", "worker"))
.build())
.build());
}
}
resources:
cluster:
type: spectrocloud:ClusterApacheCloudstack
properties:
name: apache-cloudstack-cluster-1
tags:
- dev
- cloudstack
- department:engineering
cloudAccountId: ${account.id}
cloudConfig:
sshKeyName: my-ssh-key
zones:
- name: Zone1
network:
id: network-id
name: DefaultNetwork
clusterProfiles:
- id: ${profile.id}
machinePools:
- controlPlane: true
controlPlaneAsWorker: true
name: cp-pool
count: 1
offering: Medium Instance
networks:
- networkName: DefaultNetwork
additionalLabels:
role: control-plane
- name: worker-pool
count: 2
offering: Large Instance
networks:
- networkName: DefaultNetwork
additionalLabels:
role: worker
variables:
account:
fn::invoke:
function: spectrocloud:getCloudaccountApacheCloudstack
arguments:
name: apache-cloudstack-account-1
profile:
fn::invoke:
function: spectrocloud:getClusterProfile
arguments:
name: cloudstack-k8s-profile
Apache CloudStack Cluster with Advanced Configuration
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
advancedCluster:
type: spectrocloud:ClusterApacheCloudstack
name: advanced_cluster
properties:
name: apache-cloudstack-production
tags:
- prod
- cloudstack
- department:platform
cloudAccountId: ${account.id}
updateWorkerPoolsInParallel: true
cloudConfig:
sshKeyName: production-ssh-key
project:
id: project-uuid
name: ProductionProject
zones:
- name: Zone1
network:
id: network-id
name: ProductionNetwork
clusterProfiles:
- id: ${profile.id}
variables:
cluster_size: large
environment: production
backupPolicy:
schedule: 0 2 * * *
backupLocationId: ${bsl.id}
prefix: cloudstack-prod-backup
expiryInHour: 7200
includeDisks: true
includeClusterResources: true
scanPolicy:
configurationScanSchedule: 0 0 * * SUN
penetrationScanSchedule: 0 0 * * SUN
conformanceScanSchedule: 0 0 1 * *
machinePools:
- controlPlane: true
controlPlaneAsWorker: true
name: cp-pool
count: 3
placement:
- zone: Zone1
compute: Medium Instance
networkName: ProductionNetwork
instanceConfigs:
- diskGib: 100
memoryMib: 8192
numCpus: 4
additionalLabels:
role: control-plane
environment: production
taints:
- key: master
value: 'true'
effect: NoSchedule
- name: worker-pool-autoscale
count: 3
min: 2
max: 10
placement:
- zone: Zone1
compute: Large Instance
networkName: ProductionNetwork
instanceConfigs:
- diskGib: 200
memoryMib: 16384
numCpus: 8
additionalLabels:
role: worker
scalable: 'true'
environment: production
variables:
account:
fn::invoke:
function: spectrocloud:getCloudaccountApacheCloudstack
arguments:
name: apache-cloudstack-account-1
profile:
fn::invoke:
function: spectrocloud:getClusterProfile
arguments:
name: cloudstack-k8s-profile
bsl:
fn::invoke:
function: spectrocloud:getBackupStorageLocation
arguments:
name: s3-backup-location
Apache CloudStack Cluster with Static IP Pool
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
clusterStaticIp:
type: spectrocloud:ClusterApacheCloudstack
name: cluster_static_ip
properties:
name: apache-cloudstack-static-ip
tags:
- prod
- static-ip
cloudAccountId: ${account.id}
cloudConfig:
sshKeyName: prod-ssh-key
zones:
- name: Zone1
network:
id: network-id
name: StaticIPNetwork
clusterProfiles:
- id: ${profile.id}
machinePools:
- controlPlane: true
controlPlaneAsWorker: true
name: cp-pool
count: 1
placement:
- zone: Zone1
compute: Medium Instance
networkName: StaticIPNetwork
staticIpPoolId: static-ip-pool-uuid
- name: worker-pool
count: 2
placement:
- zone: Zone1
compute: Large Instance
networkName: StaticIPNetwork
staticIpPoolId: static-ip-pool-uuid
variables:
account:
fn::invoke:
function: spectrocloud:getCloudaccountApacheCloudstack
arguments:
name: apache-cloudstack-account-1
profile:
fn::invoke:
function: spectrocloud:getClusterProfile
arguments:
name: cloudstack-k8s-profile
Apache CloudStack Cluster with Template Override
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
clusterCustomTemplate:
type: spectrocloud:ClusterApacheCloudstack
name: cluster_custom_template
properties:
name: apache-cloudstack-custom-template
tags:
- dev
- custom-os
cloudAccountId: ${account.id}
cloudConfig:
sshKeyName: dev-ssh-key
zones:
- name: Zone1
network:
id: network-id
name: DefaultNetwork
clusterProfiles:
- id: ${profile.id}
machinePools:
- controlPlane: true
controlPlaneAsWorker: true
name: cp-pool
count: 1
placement:
- zone: Zone1
compute: Medium Instance
networkName: DefaultNetwork
template:
name: ubuntu-22.04-custom-template
- name: worker-pool
count: 2
placement:
- zone: Zone1
compute: Large Instance
networkName: DefaultNetwork
template:
name: ubuntu-22.04-gpu-template
instanceConfigs:
- diskGib: 500
memoryMib: 32768
numCpus: 16
variables:
account:
fn::invoke:
function: spectrocloud:getCloudaccountApacheCloudstack
arguments:
name: apache-cloudstack-account-1
profile:
fn::invoke:
function: spectrocloud:getClusterProfile
arguments:
name: cloudstack-k8s-profile
Apache CloudStack Cluster with Cluster Template
This example shows how to create a cluster using a cluster template instead of a cluster profile. Cluster templates provide a standardized way to deploy clusters with predefined configurations.
import * as pulumi from "@pulumi/pulumi";
import * as spectrocloud from "@pulumi/spectrocloud";
const account = spectrocloud.getCloudaccountApacheCloudstack({
name: "apache-cloudstack-account-1",
});
const template = spectrocloud.getClusterConfigTemplate({
name: "apache-cloudstack-standard-template",
});
const clusterFromTemplate = new spectrocloud.ClusterApacheCloudstack("cluster_from_template", {
name: "apache-cloudstack-template-cluster",
tags: [
"prod",
"template",
],
cloudAccountId: account.then(account => account.id),
cloudConfig: {
sshKeyName: "prod-ssh-key",
zones: [{
name: "Zone1",
network: {
id: "network-id",
name: "ProductionNetwork",
},
}],
},
clusterTemplate: {
id: template.then(template => template.id),
clusterProfiles: [
{
id: "profile-uid-1",
variables: {
k8s_version: "1.28.0",
replicas: "3",
},
},
{
id: "profile-uid-2",
variables: {
namespace: "production",
},
},
],
},
machinePools: [
{
controlPlane: true,
controlPlaneAsWorker: true,
name: "cp-pool",
count: 3,
offering: "Large Instance",
networks: [{
networkName: "ProductionNetwork",
}],
},
{
name: "worker-pool",
count: 5,
min: 3,
max: 10,
offering: "XLarge Instance",
networks: [{
networkName: "ProductionNetwork",
}],
additionalLabels: {
workload: "production",
tier: "backend",
},
},
],
});
import pulumi
import pulumi_spectrocloud as spectrocloud
account = spectrocloud.get_cloudaccount_apache_cloudstack(name="apache-cloudstack-account-1")
template = spectrocloud.get_cluster_config_template(name="apache-cloudstack-standard-template")
cluster_from_template = spectrocloud.ClusterApacheCloudstack("cluster_from_template",
name="apache-cloudstack-template-cluster",
tags=[
"prod",
"template",
],
cloud_account_id=account.id,
cloud_config={
"ssh_key_name": "prod-ssh-key",
"zones": [{
"name": "Zone1",
"network": {
"id": "network-id",
"name": "ProductionNetwork",
},
}],
},
cluster_template={
"id": template.id,
"cluster_profiles": [
{
"id": "profile-uid-1",
"variables": {
"k8s_version": "1.28.0",
"replicas": "3",
},
},
{
"id": "profile-uid-2",
"variables": {
"namespace": "production",
},
},
],
},
machine_pools=[
{
"control_plane": True,
"control_plane_as_worker": True,
"name": "cp-pool",
"count": 3,
"offering": "Large Instance",
"networks": [{
"network_name": "ProductionNetwork",
}],
},
{
"name": "worker-pool",
"count": 5,
"min": 3,
"max": 10,
"offering": "XLarge Instance",
"networks": [{
"network_name": "ProductionNetwork",
}],
"additional_labels": {
"workload": "production",
"tier": "backend",
},
},
])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/spectrocloud/spectrocloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
account, err := spectrocloud.LookupCloudaccountApacheCloudstack(ctx, &spectrocloud.LookupCloudaccountApacheCloudstackArgs{
Name: pulumi.StringRef("apache-cloudstack-account-1"),
}, nil)
if err != nil {
return err
}
template, err := spectrocloud.LookupClusterConfigTemplate(ctx, &spectrocloud.LookupClusterConfigTemplateArgs{
Name: "apache-cloudstack-standard-template",
}, nil)
if err != nil {
return err
}
_, err = spectrocloud.NewClusterApacheCloudstack(ctx, "cluster_from_template", &spectrocloud.ClusterApacheCloudstackArgs{
Name: pulumi.String("apache-cloudstack-template-cluster"),
Tags: pulumi.StringArray{
pulumi.String("prod"),
pulumi.String("template"),
},
CloudAccountId: pulumi.String(account.Id),
CloudConfig: &spectrocloud.ClusterApacheCloudstackCloudConfigArgs{
SshKeyName: pulumi.String("prod-ssh-key"),
Zones: spectrocloud.ClusterApacheCloudstackCloudConfigZoneArray{
&spectrocloud.ClusterApacheCloudstackCloudConfigZoneArgs{
Name: pulumi.String("Zone1"),
Network: &spectrocloud.ClusterApacheCloudstackCloudConfigZoneNetworkArgs{
Id: pulumi.String("network-id"),
Name: pulumi.String("ProductionNetwork"),
},
},
},
},
ClusterTemplate: &spectrocloud.ClusterApacheCloudstackClusterTemplateArgs{
Id: pulumi.String(template.Id),
ClusterProfiles: spectrocloud.ClusterApacheCloudstackClusterTemplateClusterProfileArray{
&spectrocloud.ClusterApacheCloudstackClusterTemplateClusterProfileArgs{
Id: pulumi.String("profile-uid-1"),
Variables: pulumi.StringMap{
"k8s_version": pulumi.String("1.28.0"),
"replicas": pulumi.String("3"),
},
},
&spectrocloud.ClusterApacheCloudstackClusterTemplateClusterProfileArgs{
Id: pulumi.String("profile-uid-2"),
Variables: pulumi.StringMap{
"namespace": pulumi.String("production"),
},
},
},
},
MachinePools: spectrocloud.ClusterApacheCloudstackMachinePoolArray{
&spectrocloud.ClusterApacheCloudstackMachinePoolArgs{
ControlPlane: pulumi.Bool(true),
ControlPlaneAsWorker: pulumi.Bool(true),
Name: pulumi.String("cp-pool"),
Count: pulumi.Float64(3),
Offering: pulumi.String("Large Instance"),
Networks: spectrocloud.ClusterApacheCloudstackMachinePoolNetworkArray{
&spectrocloud.ClusterApacheCloudstackMachinePoolNetworkArgs{
NetworkName: pulumi.String("ProductionNetwork"),
},
},
},
&spectrocloud.ClusterApacheCloudstackMachinePoolArgs{
Name: pulumi.String("worker-pool"),
Count: pulumi.Float64(5),
Min: pulumi.Float64(3),
Max: pulumi.Float64(10),
Offering: pulumi.String("XLarge Instance"),
Networks: spectrocloud.ClusterApacheCloudstackMachinePoolNetworkArray{
&spectrocloud.ClusterApacheCloudstackMachinePoolNetworkArgs{
NetworkName: pulumi.String("ProductionNetwork"),
},
},
AdditionalLabels: pulumi.StringMap{
"workload": pulumi.String("production"),
"tier": pulumi.String("backend"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Spectrocloud = Pulumi.Spectrocloud;
return await Deployment.RunAsync(() =>
{
var account = Spectrocloud.GetCloudaccountApacheCloudstack.Invoke(new()
{
Name = "apache-cloudstack-account-1",
});
var template = Spectrocloud.GetClusterConfigTemplate.Invoke(new()
{
Name = "apache-cloudstack-standard-template",
});
var clusterFromTemplate = new Spectrocloud.ClusterApacheCloudstack("cluster_from_template", new()
{
Name = "apache-cloudstack-template-cluster",
Tags = new[]
{
"prod",
"template",
},
CloudAccountId = account.Apply(getCloudaccountApacheCloudstackResult => getCloudaccountApacheCloudstackResult.Id),
CloudConfig = new Spectrocloud.Inputs.ClusterApacheCloudstackCloudConfigArgs
{
SshKeyName = "prod-ssh-key",
Zones = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackCloudConfigZoneArgs
{
Name = "Zone1",
Network = new Spectrocloud.Inputs.ClusterApacheCloudstackCloudConfigZoneNetworkArgs
{
Id = "network-id",
Name = "ProductionNetwork",
},
},
},
},
ClusterTemplate = new Spectrocloud.Inputs.ClusterApacheCloudstackClusterTemplateArgs
{
Id = template.Apply(getClusterConfigTemplateResult => getClusterConfigTemplateResult.Id),
ClusterProfiles = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackClusterTemplateClusterProfileArgs
{
Id = "profile-uid-1",
Variables =
{
{ "k8s_version", "1.28.0" },
{ "replicas", "3" },
},
},
new Spectrocloud.Inputs.ClusterApacheCloudstackClusterTemplateClusterProfileArgs
{
Id = "profile-uid-2",
Variables =
{
{ "namespace", "production" },
},
},
},
},
MachinePools = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackMachinePoolArgs
{
ControlPlane = true,
ControlPlaneAsWorker = true,
Name = "cp-pool",
Count = 3,
Offering = "Large Instance",
Networks = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackMachinePoolNetworkArgs
{
NetworkName = "ProductionNetwork",
},
},
},
new Spectrocloud.Inputs.ClusterApacheCloudstackMachinePoolArgs
{
Name = "worker-pool",
Count = 5,
Min = 3,
Max = 10,
Offering = "XLarge Instance",
Networks = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackMachinePoolNetworkArgs
{
NetworkName = "ProductionNetwork",
},
},
AdditionalLabels =
{
{ "workload", "production" },
{ "tier", "backend" },
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spectrocloud.SpectrocloudFunctions;
import com.pulumi.spectrocloud.inputs.GetCloudaccountApacheCloudstackArgs;
import com.pulumi.spectrocloud.inputs.GetClusterConfigTemplateArgs;
import com.pulumi.spectrocloud.ClusterApacheCloudstack;
import com.pulumi.spectrocloud.ClusterApacheCloudstackArgs;
import com.pulumi.spectrocloud.inputs.ClusterApacheCloudstackCloudConfigArgs;
import com.pulumi.spectrocloud.inputs.ClusterApacheCloudstackClusterTemplateArgs;
import com.pulumi.spectrocloud.inputs.ClusterApacheCloudstackMachinePoolArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var account = SpectrocloudFunctions.getCloudaccountApacheCloudstack(GetCloudaccountApacheCloudstackArgs.builder()
.name("apache-cloudstack-account-1")
.build());
final var template = SpectrocloudFunctions.getClusterConfigTemplate(GetClusterConfigTemplateArgs.builder()
.name("apache-cloudstack-standard-template")
.build());
var clusterFromTemplate = new ClusterApacheCloudstack("clusterFromTemplate", ClusterApacheCloudstackArgs.builder()
.name("apache-cloudstack-template-cluster")
.tags(
"prod",
"template")
.cloudAccountId(account.id())
.cloudConfig(ClusterApacheCloudstackCloudConfigArgs.builder()
.sshKeyName("prod-ssh-key")
.zones(ClusterApacheCloudstackCloudConfigZoneArgs.builder()
.name("Zone1")
.network(ClusterApacheCloudstackCloudConfigZoneNetworkArgs.builder()
.id("network-id")
.name("ProductionNetwork")
.build())
.build())
.build())
.clusterTemplate(ClusterApacheCloudstackClusterTemplateArgs.builder()
.id(template.id())
.clusterProfiles(
ClusterApacheCloudstackClusterTemplateClusterProfileArgs.builder()
.id("profile-uid-1")
.variables(Map.ofEntries(
Map.entry("k8s_version", "1.28.0"),
Map.entry("replicas", "3")
))
.build(),
ClusterApacheCloudstackClusterTemplateClusterProfileArgs.builder()
.id("profile-uid-2")
.variables(Map.of("namespace", "production"))
.build())
.build())
.machinePools(
ClusterApacheCloudstackMachinePoolArgs.builder()
.controlPlane(true)
.controlPlaneAsWorker(true)
.name("cp-pool")
.count(3.0)
.offering("Large Instance")
.networks(ClusterApacheCloudstackMachinePoolNetworkArgs.builder()
.networkName("ProductionNetwork")
.build())
.build(),
ClusterApacheCloudstackMachinePoolArgs.builder()
.name("worker-pool")
.count(5.0)
.min(3.0)
.max(10.0)
.offering("XLarge Instance")
.networks(ClusterApacheCloudstackMachinePoolNetworkArgs.builder()
.networkName("ProductionNetwork")
.build())
.additionalLabels(Map.ofEntries(
Map.entry("workload", "production"),
Map.entry("tier", "backend")
))
.build())
.build());
}
}
resources:
clusterFromTemplate:
type: spectrocloud:ClusterApacheCloudstack
name: cluster_from_template
properties:
name: apache-cloudstack-template-cluster
tags:
- prod
- template
cloudAccountId: ${account.id}
cloudConfig:
sshKeyName: prod-ssh-key
zones:
- name: Zone1
network:
id: network-id
name: ProductionNetwork
clusterTemplate:
id: ${template.id}
clusterProfiles:
- id: profile-uid-1
variables:
k8s_version: 1.28.0
replicas: '3'
- id: profile-uid-2
variables:
namespace: production
machinePools:
- controlPlane: true
controlPlaneAsWorker: true
name: cp-pool
count: 3
offering: Large Instance
networks:
- networkName: ProductionNetwork
- name: worker-pool
count: 5
min: 3
max: 10
offering: XLarge Instance
networks:
- networkName: ProductionNetwork
additionalLabels:
workload: production
tier: backend
variables:
account:
fn::invoke:
function: spectrocloud:getCloudaccountApacheCloudstack
arguments:
name: apache-cloudstack-account-1
template:
fn::invoke:
function: spectrocloud:getClusterConfigTemplate
arguments:
name: apache-cloudstack-standard-template
Create ClusterApacheCloudstack Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ClusterApacheCloudstack(name: string, args: ClusterApacheCloudstackArgs, opts?: CustomResourceOptions);@overload
def ClusterApacheCloudstack(resource_name: str,
args: ClusterApacheCloudstackArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ClusterApacheCloudstack(resource_name: str,
opts: Optional[ResourceOptions] = None,
cloud_config: Optional[ClusterApacheCloudstackCloudConfigArgs] = None,
machine_pools: Optional[Sequence[ClusterApacheCloudstackMachinePoolArgs]] = None,
cloud_account_id: Optional[str] = None,
force_delete_delay: Optional[float] = None,
backup_policy: Optional[ClusterApacheCloudstackBackupPolicyArgs] = None,
cluster_meta_attribute: Optional[str] = None,
cluster_profiles: Optional[Sequence[ClusterApacheCloudstackClusterProfileArgs]] = None,
cluster_rbac_bindings: Optional[Sequence[ClusterApacheCloudstackClusterRbacBindingArgs]] = None,
cluster_template: Optional[ClusterApacheCloudstackClusterTemplateArgs] = None,
context: Optional[str] = None,
description: Optional[str] = None,
force_delete: Optional[bool] = None,
apply_setting: Optional[str] = None,
host_configs: Optional[Sequence[ClusterApacheCloudstackHostConfigArgs]] = None,
cluster_apache_cloudstack_id: Optional[str] = None,
name: Optional[str] = None,
namespaces: Optional[Sequence[ClusterApacheCloudstackNamespaceArgs]] = None,
os_patch_after: Optional[str] = None,
os_patch_on_boot: Optional[bool] = None,
os_patch_schedule: Optional[str] = None,
pause_agent_upgrades: Optional[str] = None,
review_repave_state: Optional[str] = None,
scan_policy: Optional[ClusterApacheCloudstackScanPolicyArgs] = None,
skip_completion: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[ClusterApacheCloudstackTimeoutsArgs] = None,
update_worker_pools_in_parallel: Optional[bool] = None)func NewClusterApacheCloudstack(ctx *Context, name string, args ClusterApacheCloudstackArgs, opts ...ResourceOption) (*ClusterApacheCloudstack, error)public ClusterApacheCloudstack(string name, ClusterApacheCloudstackArgs args, CustomResourceOptions? opts = null)
public ClusterApacheCloudstack(String name, ClusterApacheCloudstackArgs args)
public ClusterApacheCloudstack(String name, ClusterApacheCloudstackArgs args, CustomResourceOptions options)
type: spectrocloud:ClusterApacheCloudstack
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ClusterApacheCloudstackArgs
- 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 ClusterApacheCloudstackArgs
- 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 ClusterApacheCloudstackArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterApacheCloudstackArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterApacheCloudstackArgs
- 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 clusterApacheCloudstackResource = new Spectrocloud.ClusterApacheCloudstack("clusterApacheCloudstackResource", new()
{
CloudConfig = new Spectrocloud.Inputs.ClusterApacheCloudstackCloudConfigArgs
{
Zones = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackCloudConfigZoneArgs
{
Name = "string",
Id = "string",
Network = new Spectrocloud.Inputs.ClusterApacheCloudstackCloudConfigZoneNetworkArgs
{
Name = "string",
Gateway = "string",
Id = "string",
Netmask = "string",
Offering = "string",
RoutingMode = "string",
Type = "string",
Vpc = new Spectrocloud.Inputs.ClusterApacheCloudstackCloudConfigZoneNetworkVpcArgs
{
Name = "string",
Cidr = "string",
Id = "string",
Offering = "string",
},
},
},
},
ControlPlaneEndpoint = "string",
Project = new Spectrocloud.Inputs.ClusterApacheCloudstackCloudConfigProjectArgs
{
Id = "string",
Name = "string",
},
SshKeyName = "string",
SyncWithCks = false,
},
MachinePools = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackMachinePoolArgs
{
Count = 0,
Offering = "string",
Name = "string",
Min = 0,
InstanceConfigs = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackMachinePoolInstanceConfigArgs
{
Category = "string",
CpuSet = 0,
DiskGib = 0,
MemoryMib = 0,
Name = "string",
NumCpus = 0,
},
},
Max = 0,
AdditionalLabels =
{
{ "string", "string" },
},
ControlPlaneAsWorker = false,
Networks = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackMachinePoolNetworkArgs
{
NetworkName = "string",
},
},
NodeRepaveInterval = 0,
Nodes = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackMachinePoolNodeArgs
{
Action = "string",
NodeId = "string",
},
},
ControlPlane = false,
Taints = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackMachinePoolTaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
Template = new Spectrocloud.Inputs.ClusterApacheCloudstackMachinePoolTemplateArgs
{
Id = "string",
Name = "string",
},
UpdateStrategy = "string",
},
},
CloudAccountId = "string",
ForceDeleteDelay = 0,
BackupPolicy = new Spectrocloud.Inputs.ClusterApacheCloudstackBackupPolicyArgs
{
BackupLocationId = "string",
ExpiryInHour = 0,
Prefix = "string",
Schedule = "string",
ClusterUids = new[]
{
"string",
},
IncludeAllClusters = false,
IncludeClusterResources = false,
IncludeClusterResourcesMode = "string",
IncludeDisks = false,
Namespaces = new[]
{
"string",
},
},
ClusterMetaAttribute = "string",
ClusterProfiles = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackClusterProfileArgs
{
Id = "string",
Packs = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackClusterProfilePackArgs
{
Name = "string",
Manifests = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackClusterProfilePackManifestArgs
{
Content = "string",
Name = "string",
Uid = "string",
},
},
RegistryName = "string",
RegistryUid = "string",
Tag = "string",
Type = "string",
Uid = "string",
Values = "string",
},
},
Variables =
{
{ "string", "string" },
},
},
},
ClusterRbacBindings = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackClusterRbacBindingArgs
{
Type = "string",
Namespace = "string",
Role =
{
{ "string", "string" },
},
Subjects = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackClusterRbacBindingSubjectArgs
{
Name = "string",
Type = "string",
Namespace = "string",
},
},
},
},
ClusterTemplate = new Spectrocloud.Inputs.ClusterApacheCloudstackClusterTemplateArgs
{
Id = "string",
ClusterProfiles = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackClusterTemplateClusterProfileArgs
{
Id = "string",
Variables =
{
{ "string", "string" },
},
},
},
Name = "string",
},
Context = "string",
Description = "string",
ForceDelete = false,
ApplySetting = "string",
HostConfigs = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackHostConfigArgs
{
ExternalTrafficPolicy = "string",
HostEndpointType = "string",
IngressHost = "string",
LoadBalancerSourceRanges = "string",
},
},
ClusterApacheCloudstackId = "string",
Name = "string",
Namespaces = new[]
{
new Spectrocloud.Inputs.ClusterApacheCloudstackNamespaceArgs
{
Name = "string",
ResourceAllocation =
{
{ "string", "string" },
},
},
},
OsPatchAfter = "string",
OsPatchOnBoot = false,
OsPatchSchedule = "string",
PauseAgentUpgrades = "string",
ReviewRepaveState = "string",
ScanPolicy = new Spectrocloud.Inputs.ClusterApacheCloudstackScanPolicyArgs
{
ConfigurationScanSchedule = "string",
ConformanceScanSchedule = "string",
PenetrationScanSchedule = "string",
},
SkipCompletion = false,
Tags = new[]
{
"string",
},
Timeouts = new Spectrocloud.Inputs.ClusterApacheCloudstackTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
UpdateWorkerPoolsInParallel = false,
});
example, err := spectrocloud.NewClusterApacheCloudstack(ctx, "clusterApacheCloudstackResource", &spectrocloud.ClusterApacheCloudstackArgs{
CloudConfig: &spectrocloud.ClusterApacheCloudstackCloudConfigArgs{
Zones: spectrocloud.ClusterApacheCloudstackCloudConfigZoneArray{
&spectrocloud.ClusterApacheCloudstackCloudConfigZoneArgs{
Name: pulumi.String("string"),
Id: pulumi.String("string"),
Network: &spectrocloud.ClusterApacheCloudstackCloudConfigZoneNetworkArgs{
Name: pulumi.String("string"),
Gateway: pulumi.String("string"),
Id: pulumi.String("string"),
Netmask: pulumi.String("string"),
Offering: pulumi.String("string"),
RoutingMode: pulumi.String("string"),
Type: pulumi.String("string"),
Vpc: &spectrocloud.ClusterApacheCloudstackCloudConfigZoneNetworkVpcArgs{
Name: pulumi.String("string"),
Cidr: pulumi.String("string"),
Id: pulumi.String("string"),
Offering: pulumi.String("string"),
},
},
},
},
ControlPlaneEndpoint: pulumi.String("string"),
Project: &spectrocloud.ClusterApacheCloudstackCloudConfigProjectArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
},
SshKeyName: pulumi.String("string"),
SyncWithCks: pulumi.Bool(false),
},
MachinePools: spectrocloud.ClusterApacheCloudstackMachinePoolArray{
&spectrocloud.ClusterApacheCloudstackMachinePoolArgs{
Count: pulumi.Float64(0),
Offering: pulumi.String("string"),
Name: pulumi.String("string"),
Min: pulumi.Float64(0),
InstanceConfigs: spectrocloud.ClusterApacheCloudstackMachinePoolInstanceConfigArray{
&spectrocloud.ClusterApacheCloudstackMachinePoolInstanceConfigArgs{
Category: pulumi.String("string"),
CpuSet: pulumi.Float64(0),
DiskGib: pulumi.Float64(0),
MemoryMib: pulumi.Float64(0),
Name: pulumi.String("string"),
NumCpus: pulumi.Float64(0),
},
},
Max: pulumi.Float64(0),
AdditionalLabels: pulumi.StringMap{
"string": pulumi.String("string"),
},
ControlPlaneAsWorker: pulumi.Bool(false),
Networks: spectrocloud.ClusterApacheCloudstackMachinePoolNetworkArray{
&spectrocloud.ClusterApacheCloudstackMachinePoolNetworkArgs{
NetworkName: pulumi.String("string"),
},
},
NodeRepaveInterval: pulumi.Float64(0),
Nodes: spectrocloud.ClusterApacheCloudstackMachinePoolNodeArray{
&spectrocloud.ClusterApacheCloudstackMachinePoolNodeArgs{
Action: pulumi.String("string"),
NodeId: pulumi.String("string"),
},
},
ControlPlane: pulumi.Bool(false),
Taints: spectrocloud.ClusterApacheCloudstackMachinePoolTaintArray{
&spectrocloud.ClusterApacheCloudstackMachinePoolTaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Template: &spectrocloud.ClusterApacheCloudstackMachinePoolTemplateArgs{
Id: pulumi.String("string"),
Name: pulumi.String("string"),
},
UpdateStrategy: pulumi.String("string"),
},
},
CloudAccountId: pulumi.String("string"),
ForceDeleteDelay: pulumi.Float64(0),
BackupPolicy: &spectrocloud.ClusterApacheCloudstackBackupPolicyArgs{
BackupLocationId: pulumi.String("string"),
ExpiryInHour: pulumi.Float64(0),
Prefix: pulumi.String("string"),
Schedule: pulumi.String("string"),
ClusterUids: pulumi.StringArray{
pulumi.String("string"),
},
IncludeAllClusters: pulumi.Bool(false),
IncludeClusterResources: pulumi.Bool(false),
IncludeClusterResourcesMode: pulumi.String("string"),
IncludeDisks: pulumi.Bool(false),
Namespaces: pulumi.StringArray{
pulumi.String("string"),
},
},
ClusterMetaAttribute: pulumi.String("string"),
ClusterProfiles: spectrocloud.ClusterApacheCloudstackClusterProfileArray{
&spectrocloud.ClusterApacheCloudstackClusterProfileArgs{
Id: pulumi.String("string"),
Packs: spectrocloud.ClusterApacheCloudstackClusterProfilePackArray{
&spectrocloud.ClusterApacheCloudstackClusterProfilePackArgs{
Name: pulumi.String("string"),
Manifests: spectrocloud.ClusterApacheCloudstackClusterProfilePackManifestArray{
&spectrocloud.ClusterApacheCloudstackClusterProfilePackManifestArgs{
Content: pulumi.String("string"),
Name: pulumi.String("string"),
Uid: pulumi.String("string"),
},
},
RegistryName: pulumi.String("string"),
RegistryUid: pulumi.String("string"),
Tag: pulumi.String("string"),
Type: pulumi.String("string"),
Uid: pulumi.String("string"),
Values: pulumi.String("string"),
},
},
Variables: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
ClusterRbacBindings: spectrocloud.ClusterApacheCloudstackClusterRbacBindingArray{
&spectrocloud.ClusterApacheCloudstackClusterRbacBindingArgs{
Type: pulumi.String("string"),
Namespace: pulumi.String("string"),
Role: pulumi.StringMap{
"string": pulumi.String("string"),
},
Subjects: spectrocloud.ClusterApacheCloudstackClusterRbacBindingSubjectArray{
&spectrocloud.ClusterApacheCloudstackClusterRbacBindingSubjectArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Namespace: pulumi.String("string"),
},
},
},
},
ClusterTemplate: &spectrocloud.ClusterApacheCloudstackClusterTemplateArgs{
Id: pulumi.String("string"),
ClusterProfiles: spectrocloud.ClusterApacheCloudstackClusterTemplateClusterProfileArray{
&spectrocloud.ClusterApacheCloudstackClusterTemplateClusterProfileArgs{
Id: pulumi.String("string"),
Variables: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
},
Context: pulumi.String("string"),
Description: pulumi.String("string"),
ForceDelete: pulumi.Bool(false),
ApplySetting: pulumi.String("string"),
HostConfigs: spectrocloud.ClusterApacheCloudstackHostConfigArray{
&spectrocloud.ClusterApacheCloudstackHostConfigArgs{
ExternalTrafficPolicy: pulumi.String("string"),
HostEndpointType: pulumi.String("string"),
IngressHost: pulumi.String("string"),
LoadBalancerSourceRanges: pulumi.String("string"),
},
},
ClusterApacheCloudstackId: pulumi.String("string"),
Name: pulumi.String("string"),
Namespaces: spectrocloud.ClusterApacheCloudstackNamespaceArray{
&spectrocloud.ClusterApacheCloudstackNamespaceArgs{
Name: pulumi.String("string"),
ResourceAllocation: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
OsPatchAfter: pulumi.String("string"),
OsPatchOnBoot: pulumi.Bool(false),
OsPatchSchedule: pulumi.String("string"),
PauseAgentUpgrades: pulumi.String("string"),
ReviewRepaveState: pulumi.String("string"),
ScanPolicy: &spectrocloud.ClusterApacheCloudstackScanPolicyArgs{
ConfigurationScanSchedule: pulumi.String("string"),
ConformanceScanSchedule: pulumi.String("string"),
PenetrationScanSchedule: pulumi.String("string"),
},
SkipCompletion: pulumi.Bool(false),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &spectrocloud.ClusterApacheCloudstackTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
UpdateWorkerPoolsInParallel: pulumi.Bool(false),
})
var clusterApacheCloudstackResource = new ClusterApacheCloudstack("clusterApacheCloudstackResource", ClusterApacheCloudstackArgs.builder()
.cloudConfig(ClusterApacheCloudstackCloudConfigArgs.builder()
.zones(ClusterApacheCloudstackCloudConfigZoneArgs.builder()
.name("string")
.id("string")
.network(ClusterApacheCloudstackCloudConfigZoneNetworkArgs.builder()
.name("string")
.gateway("string")
.id("string")
.netmask("string")
.offering("string")
.routingMode("string")
.type("string")
.vpc(ClusterApacheCloudstackCloudConfigZoneNetworkVpcArgs.builder()
.name("string")
.cidr("string")
.id("string")
.offering("string")
.build())
.build())
.build())
.controlPlaneEndpoint("string")
.project(ClusterApacheCloudstackCloudConfigProjectArgs.builder()
.id("string")
.name("string")
.build())
.sshKeyName("string")
.syncWithCks(false)
.build())
.machinePools(ClusterApacheCloudstackMachinePoolArgs.builder()
.count(0.0)
.offering("string")
.name("string")
.min(0.0)
.instanceConfigs(ClusterApacheCloudstackMachinePoolInstanceConfigArgs.builder()
.category("string")
.cpuSet(0.0)
.diskGib(0.0)
.memoryMib(0.0)
.name("string")
.numCpus(0.0)
.build())
.max(0.0)
.additionalLabels(Map.of("string", "string"))
.controlPlaneAsWorker(false)
.networks(ClusterApacheCloudstackMachinePoolNetworkArgs.builder()
.networkName("string")
.build())
.nodeRepaveInterval(0.0)
.nodes(ClusterApacheCloudstackMachinePoolNodeArgs.builder()
.action("string")
.nodeId("string")
.build())
.controlPlane(false)
.taints(ClusterApacheCloudstackMachinePoolTaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.template(ClusterApacheCloudstackMachinePoolTemplateArgs.builder()
.id("string")
.name("string")
.build())
.updateStrategy("string")
.build())
.cloudAccountId("string")
.forceDeleteDelay(0.0)
.backupPolicy(ClusterApacheCloudstackBackupPolicyArgs.builder()
.backupLocationId("string")
.expiryInHour(0.0)
.prefix("string")
.schedule("string")
.clusterUids("string")
.includeAllClusters(false)
.includeClusterResources(false)
.includeClusterResourcesMode("string")
.includeDisks(false)
.namespaces("string")
.build())
.clusterMetaAttribute("string")
.clusterProfiles(ClusterApacheCloudstackClusterProfileArgs.builder()
.id("string")
.packs(ClusterApacheCloudstackClusterProfilePackArgs.builder()
.name("string")
.manifests(ClusterApacheCloudstackClusterProfilePackManifestArgs.builder()
.content("string")
.name("string")
.uid("string")
.build())
.registryName("string")
.registryUid("string")
.tag("string")
.type("string")
.uid("string")
.values("string")
.build())
.variables(Map.of("string", "string"))
.build())
.clusterRbacBindings(ClusterApacheCloudstackClusterRbacBindingArgs.builder()
.type("string")
.namespace("string")
.role(Map.of("string", "string"))
.subjects(ClusterApacheCloudstackClusterRbacBindingSubjectArgs.builder()
.name("string")
.type("string")
.namespace("string")
.build())
.build())
.clusterTemplate(ClusterApacheCloudstackClusterTemplateArgs.builder()
.id("string")
.clusterProfiles(ClusterApacheCloudstackClusterTemplateClusterProfileArgs.builder()
.id("string")
.variables(Map.of("string", "string"))
.build())
.name("string")
.build())
.context("string")
.description("string")
.forceDelete(false)
.applySetting("string")
.hostConfigs(ClusterApacheCloudstackHostConfigArgs.builder()
.externalTrafficPolicy("string")
.hostEndpointType("string")
.ingressHost("string")
.loadBalancerSourceRanges("string")
.build())
.clusterApacheCloudstackId("string")
.name("string")
.namespaces(ClusterApacheCloudstackNamespaceArgs.builder()
.name("string")
.resourceAllocation(Map.of("string", "string"))
.build())
.osPatchAfter("string")
.osPatchOnBoot(false)
.osPatchSchedule("string")
.pauseAgentUpgrades("string")
.reviewRepaveState("string")
.scanPolicy(ClusterApacheCloudstackScanPolicyArgs.builder()
.configurationScanSchedule("string")
.conformanceScanSchedule("string")
.penetrationScanSchedule("string")
.build())
.skipCompletion(false)
.tags("string")
.timeouts(ClusterApacheCloudstackTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.updateWorkerPoolsInParallel(false)
.build());
cluster_apache_cloudstack_resource = spectrocloud.ClusterApacheCloudstack("clusterApacheCloudstackResource",
cloud_config={
"zones": [{
"name": "string",
"id": "string",
"network": {
"name": "string",
"gateway": "string",
"id": "string",
"netmask": "string",
"offering": "string",
"routing_mode": "string",
"type": "string",
"vpc": {
"name": "string",
"cidr": "string",
"id": "string",
"offering": "string",
},
},
}],
"control_plane_endpoint": "string",
"project": {
"id": "string",
"name": "string",
},
"ssh_key_name": "string",
"sync_with_cks": False,
},
machine_pools=[{
"count": 0,
"offering": "string",
"name": "string",
"min": 0,
"instance_configs": [{
"category": "string",
"cpu_set": 0,
"disk_gib": 0,
"memory_mib": 0,
"name": "string",
"num_cpus": 0,
}],
"max": 0,
"additional_labels": {
"string": "string",
},
"control_plane_as_worker": False,
"networks": [{
"network_name": "string",
}],
"node_repave_interval": 0,
"nodes": [{
"action": "string",
"node_id": "string",
}],
"control_plane": False,
"taints": [{
"effect": "string",
"key": "string",
"value": "string",
}],
"template": {
"id": "string",
"name": "string",
},
"update_strategy": "string",
}],
cloud_account_id="string",
force_delete_delay=0,
backup_policy={
"backup_location_id": "string",
"expiry_in_hour": 0,
"prefix": "string",
"schedule": "string",
"cluster_uids": ["string"],
"include_all_clusters": False,
"include_cluster_resources": False,
"include_cluster_resources_mode": "string",
"include_disks": False,
"namespaces": ["string"],
},
cluster_meta_attribute="string",
cluster_profiles=[{
"id": "string",
"packs": [{
"name": "string",
"manifests": [{
"content": "string",
"name": "string",
"uid": "string",
}],
"registry_name": "string",
"registry_uid": "string",
"tag": "string",
"type": "string",
"uid": "string",
"values": "string",
}],
"variables": {
"string": "string",
},
}],
cluster_rbac_bindings=[{
"type": "string",
"namespace": "string",
"role": {
"string": "string",
},
"subjects": [{
"name": "string",
"type": "string",
"namespace": "string",
}],
}],
cluster_template={
"id": "string",
"cluster_profiles": [{
"id": "string",
"variables": {
"string": "string",
},
}],
"name": "string",
},
context="string",
description="string",
force_delete=False,
apply_setting="string",
host_configs=[{
"external_traffic_policy": "string",
"host_endpoint_type": "string",
"ingress_host": "string",
"load_balancer_source_ranges": "string",
}],
cluster_apache_cloudstack_id="string",
name="string",
namespaces=[{
"name": "string",
"resource_allocation": {
"string": "string",
},
}],
os_patch_after="string",
os_patch_on_boot=False,
os_patch_schedule="string",
pause_agent_upgrades="string",
review_repave_state="string",
scan_policy={
"configuration_scan_schedule": "string",
"conformance_scan_schedule": "string",
"penetration_scan_schedule": "string",
},
skip_completion=False,
tags=["string"],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
update_worker_pools_in_parallel=False)
const clusterApacheCloudstackResource = new spectrocloud.ClusterApacheCloudstack("clusterApacheCloudstackResource", {
cloudConfig: {
zones: [{
name: "string",
id: "string",
network: {
name: "string",
gateway: "string",
id: "string",
netmask: "string",
offering: "string",
routingMode: "string",
type: "string",
vpc: {
name: "string",
cidr: "string",
id: "string",
offering: "string",
},
},
}],
controlPlaneEndpoint: "string",
project: {
id: "string",
name: "string",
},
sshKeyName: "string",
syncWithCks: false,
},
machinePools: [{
count: 0,
offering: "string",
name: "string",
min: 0,
instanceConfigs: [{
category: "string",
cpuSet: 0,
diskGib: 0,
memoryMib: 0,
name: "string",
numCpus: 0,
}],
max: 0,
additionalLabels: {
string: "string",
},
controlPlaneAsWorker: false,
networks: [{
networkName: "string",
}],
nodeRepaveInterval: 0,
nodes: [{
action: "string",
nodeId: "string",
}],
controlPlane: false,
taints: [{
effect: "string",
key: "string",
value: "string",
}],
template: {
id: "string",
name: "string",
},
updateStrategy: "string",
}],
cloudAccountId: "string",
forceDeleteDelay: 0,
backupPolicy: {
backupLocationId: "string",
expiryInHour: 0,
prefix: "string",
schedule: "string",
clusterUids: ["string"],
includeAllClusters: false,
includeClusterResources: false,
includeClusterResourcesMode: "string",
includeDisks: false,
namespaces: ["string"],
},
clusterMetaAttribute: "string",
clusterProfiles: [{
id: "string",
packs: [{
name: "string",
manifests: [{
content: "string",
name: "string",
uid: "string",
}],
registryName: "string",
registryUid: "string",
tag: "string",
type: "string",
uid: "string",
values: "string",
}],
variables: {
string: "string",
},
}],
clusterRbacBindings: [{
type: "string",
namespace: "string",
role: {
string: "string",
},
subjects: [{
name: "string",
type: "string",
namespace: "string",
}],
}],
clusterTemplate: {
id: "string",
clusterProfiles: [{
id: "string",
variables: {
string: "string",
},
}],
name: "string",
},
context: "string",
description: "string",
forceDelete: false,
applySetting: "string",
hostConfigs: [{
externalTrafficPolicy: "string",
hostEndpointType: "string",
ingressHost: "string",
loadBalancerSourceRanges: "string",
}],
clusterApacheCloudstackId: "string",
name: "string",
namespaces: [{
name: "string",
resourceAllocation: {
string: "string",
},
}],
osPatchAfter: "string",
osPatchOnBoot: false,
osPatchSchedule: "string",
pauseAgentUpgrades: "string",
reviewRepaveState: "string",
scanPolicy: {
configurationScanSchedule: "string",
conformanceScanSchedule: "string",
penetrationScanSchedule: "string",
},
skipCompletion: false,
tags: ["string"],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
updateWorkerPoolsInParallel: false,
});
type: spectrocloud:ClusterApacheCloudstack
properties:
applySetting: string
backupPolicy:
backupLocationId: string
clusterUids:
- string
expiryInHour: 0
includeAllClusters: false
includeClusterResources: false
includeClusterResourcesMode: string
includeDisks: false
namespaces:
- string
prefix: string
schedule: string
cloudAccountId: string
cloudConfig:
controlPlaneEndpoint: string
project:
id: string
name: string
sshKeyName: string
syncWithCks: false
zones:
- id: string
name: string
network:
gateway: string
id: string
name: string
netmask: string
offering: string
routingMode: string
type: string
vpc:
cidr: string
id: string
name: string
offering: string
clusterApacheCloudstackId: string
clusterMetaAttribute: string
clusterProfiles:
- id: string
packs:
- manifests:
- content: string
name: string
uid: string
name: string
registryName: string
registryUid: string
tag: string
type: string
uid: string
values: string
variables:
string: string
clusterRbacBindings:
- namespace: string
role:
string: string
subjects:
- name: string
namespace: string
type: string
type: string
clusterTemplate:
clusterProfiles:
- id: string
variables:
string: string
id: string
name: string
context: string
description: string
forceDelete: false
forceDeleteDelay: 0
hostConfigs:
- externalTrafficPolicy: string
hostEndpointType: string
ingressHost: string
loadBalancerSourceRanges: string
machinePools:
- additionalLabels:
string: string
controlPlane: false
controlPlaneAsWorker: false
count: 0
instanceConfigs:
- category: string
cpuSet: 0
diskGib: 0
memoryMib: 0
name: string
numCpus: 0
max: 0
min: 0
name: string
networks:
- networkName: string
nodeRepaveInterval: 0
nodes:
- action: string
nodeId: string
offering: string
taints:
- effect: string
key: string
value: string
template:
id: string
name: string
updateStrategy: string
name: string
namespaces:
- name: string
resourceAllocation:
string: string
osPatchAfter: string
osPatchOnBoot: false
osPatchSchedule: string
pauseAgentUpgrades: string
reviewRepaveState: string
scanPolicy:
configurationScanSchedule: string
conformanceScanSchedule: string
penetrationScanSchedule: string
skipCompletion: false
tags:
- string
timeouts:
create: string
delete: string
update: string
updateWorkerPoolsInParallel: false
ClusterApacheCloudstack 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 ClusterApacheCloudstack resource accepts the following input properties:
- Cloud
Account stringId - ID of the CloudStack cloud account used for the cluster. This cloud account must be of type
cloudstack. - Cloud
Config ClusterApache Cloudstack Cloud Config - CloudStack cluster configuration.
- Machine
Pools List<ClusterApache Cloudstack Machine Pool> - Machine pool configuration for the cluster.
- Apply
Setting string - The setting to apply the cluster profile.
DownloadAndInstallwill download and install packs in one action.DownloadAndInstallLaterwill only download artifact and postpone install for later. Default value isDownloadAndInstall. - Backup
Policy ClusterApache Cloudstack Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- Cluster
Apache stringCloudstack Id - The ID of this resource.
- Cluster
Meta stringAttribute cluster_meta_attributecan be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}- Cluster
Profiles List<ClusterApache Cloudstack Cluster Profile> - Cluster
Rbac List<ClusterBindings Apache Cloudstack Cluster Rbac Binding> - The RBAC binding for the cluster.
- Cluster
Template ClusterApache Cloudstack Cluster Template - The cluster template of the cluster.
- Context string
- The context of the CloudStack configuration. Allowed values are
projectortenant. Default isproject. If theprojectcontext is specified, the project name will sourced from the provider configuration parameterproject_name. - Description string
- The description of the cluster. Default value is empty string.
- Force
Delete bool - If set to
true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - Force
Delete doubleDelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- Host
Configs List<ClusterApache Cloudstack Host Config> - The host configuration for the cluster.
- Name string
- The name of the cluster.
- Namespaces
List<Cluster
Apache Cloudstack Namespace> - The namespaces for the cluster.
- Os
Patch stringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00 - Os
Patch boolOn Boot - Whether to apply OS patch on boot. Default is
false. - Os
Patch stringSchedule - Cron schedule for OS patching. This must be in the form of
0 0 * * *. - Pause
Agent stringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock, meaning upgrades occur automatically. Setting it tolockpauses automatic agent upgrades for the cluster. - Review
Repave stringState - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - Scan
Policy ClusterApache Cloudstack Scan Policy - The scan policy for the cluster.
- Skip
Completion bool - If
true, the cluster will be created asynchronously. Default value isfalse. - List<string>
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value. - Timeouts
Cluster
Apache Cloudstack Timeouts - Update
Worker boolPools In Parallel - Controls whether worker pool updates occur in parallel or sequentially. When set to
true, all worker pools are updated simultaneously. Whenfalse(default), worker pools are updated one at a time, reducing cluster disruption but taking longer to complete updates.
- Cloud
Account stringId - ID of the CloudStack cloud account used for the cluster. This cloud account must be of type
cloudstack. - Cloud
Config ClusterApache Cloudstack Cloud Config Args - CloudStack cluster configuration.
- Machine
Pools []ClusterApache Cloudstack Machine Pool Args - Machine pool configuration for the cluster.
- Apply
Setting string - The setting to apply the cluster profile.
DownloadAndInstallwill download and install packs in one action.DownloadAndInstallLaterwill only download artifact and postpone install for later. Default value isDownloadAndInstall. - Backup
Policy ClusterApache Cloudstack Backup Policy Args - The backup policy for the cluster. If not specified, no backups will be taken.
- Cluster
Apache stringCloudstack Id - The ID of this resource.
- Cluster
Meta stringAttribute cluster_meta_attributecan be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}- Cluster
Profiles []ClusterApache Cloudstack Cluster Profile Args - Cluster
Rbac []ClusterBindings Apache Cloudstack Cluster Rbac Binding Args - The RBAC binding for the cluster.
- Cluster
Template ClusterApache Cloudstack Cluster Template Args - The cluster template of the cluster.
- Context string
- The context of the CloudStack configuration. Allowed values are
projectortenant. Default isproject. If theprojectcontext is specified, the project name will sourced from the provider configuration parameterproject_name. - Description string
- The description of the cluster. Default value is empty string.
- Force
Delete bool - If set to
true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - Force
Delete float64Delay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- Host
Configs []ClusterApache Cloudstack Host Config Args - The host configuration for the cluster.
- Name string
- The name of the cluster.
- Namespaces
[]Cluster
Apache Cloudstack Namespace Args - The namespaces for the cluster.
- Os
Patch stringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00 - Os
Patch boolOn Boot - Whether to apply OS patch on boot. Default is
false. - Os
Patch stringSchedule - Cron schedule for OS patching. This must be in the form of
0 0 * * *. - Pause
Agent stringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock, meaning upgrades occur automatically. Setting it tolockpauses automatic agent upgrades for the cluster. - Review
Repave stringState - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - Scan
Policy ClusterApache Cloudstack Scan Policy Args - The scan policy for the cluster.
- Skip
Completion bool - If
true, the cluster will be created asynchronously. Default value isfalse. - []string
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value. - Timeouts
Cluster
Apache Cloudstack Timeouts Args - Update
Worker boolPools In Parallel - Controls whether worker pool updates occur in parallel or sequentially. When set to
true, all worker pools are updated simultaneously. Whenfalse(default), worker pools are updated one at a time, reducing cluster disruption but taking longer to complete updates.
- cloud
Account StringId - ID of the CloudStack cloud account used for the cluster. This cloud account must be of type
cloudstack. - cloud
Config ClusterApache Cloudstack Cloud Config - CloudStack cluster configuration.
- machine
Pools List<ClusterApache Cloudstack Machine Pool> - Machine pool configuration for the cluster.
- apply
Setting String - The setting to apply the cluster profile.
DownloadAndInstallwill download and install packs in one action.DownloadAndInstallLaterwill only download artifact and postpone install for later. Default value isDownloadAndInstall. - backup
Policy ClusterApache Cloudstack Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- cluster
Apache StringCloudstack Id - The ID of this resource.
- cluster
Meta StringAttribute cluster_meta_attributecan be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}- cluster
Profiles List<ClusterApache Cloudstack Cluster Profile> - cluster
Rbac List<ClusterBindings Apache Cloudstack Cluster Rbac Binding> - The RBAC binding for the cluster.
- cluster
Template ClusterApache Cloudstack Cluster Template - The cluster template of the cluster.
- context String
- The context of the CloudStack configuration. Allowed values are
projectortenant. Default isproject. If theprojectcontext is specified, the project name will sourced from the provider configuration parameterproject_name. - description String
- The description of the cluster. Default value is empty string.
- force
Delete Boolean - If set to
true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - force
Delete DoubleDelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- host
Configs List<ClusterApache Cloudstack Host Config> - The host configuration for the cluster.
- name String
- The name of the cluster.
- namespaces
List<Cluster
Apache Cloudstack Namespace> - The namespaces for the cluster.
- os
Patch StringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00 - os
Patch BooleanOn Boot - Whether to apply OS patch on boot. Default is
false. - os
Patch StringSchedule - Cron schedule for OS patching. This must be in the form of
0 0 * * *. - pause
Agent StringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock, meaning upgrades occur automatically. Setting it tolockpauses automatic agent upgrades for the cluster. - review
Repave StringState - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - scan
Policy ClusterApache Cloudstack Scan Policy - The scan policy for the cluster.
- skip
Completion Boolean - If
true, the cluster will be created asynchronously. Default value isfalse. - List<String>
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value. - timeouts
Cluster
Apache Cloudstack Timeouts - update
Worker BooleanPools In Parallel - Controls whether worker pool updates occur in parallel or sequentially. When set to
true, all worker pools are updated simultaneously. Whenfalse(default), worker pools are updated one at a time, reducing cluster disruption but taking longer to complete updates.
- cloud
Account stringId - ID of the CloudStack cloud account used for the cluster. This cloud account must be of type
cloudstack. - cloud
Config ClusterApache Cloudstack Cloud Config - CloudStack cluster configuration.
- machine
Pools ClusterApache Cloudstack Machine Pool[] - Machine pool configuration for the cluster.
- apply
Setting string - The setting to apply the cluster profile.
DownloadAndInstallwill download and install packs in one action.DownloadAndInstallLaterwill only download artifact and postpone install for later. Default value isDownloadAndInstall. - backup
Policy ClusterApache Cloudstack Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- cluster
Apache stringCloudstack Id - The ID of this resource.
- cluster
Meta stringAttribute cluster_meta_attributecan be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}- cluster
Profiles ClusterApache Cloudstack Cluster Profile[] - cluster
Rbac ClusterBindings Apache Cloudstack Cluster Rbac Binding[] - The RBAC binding for the cluster.
- cluster
Template ClusterApache Cloudstack Cluster Template - The cluster template of the cluster.
- context string
- The context of the CloudStack configuration. Allowed values are
projectortenant. Default isproject. If theprojectcontext is specified, the project name will sourced from the provider configuration parameterproject_name. - description string
- The description of the cluster. Default value is empty string.
- force
Delete boolean - If set to
true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - force
Delete numberDelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- host
Configs ClusterApache Cloudstack Host Config[] - The host configuration for the cluster.
- name string
- The name of the cluster.
- namespaces
Cluster
Apache Cloudstack Namespace[] - The namespaces for the cluster.
- os
Patch stringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00 - os
Patch booleanOn Boot - Whether to apply OS patch on boot. Default is
false. - os
Patch stringSchedule - Cron schedule for OS patching. This must be in the form of
0 0 * * *. - pause
Agent stringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock, meaning upgrades occur automatically. Setting it tolockpauses automatic agent upgrades for the cluster. - review
Repave stringState - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - scan
Policy ClusterApache Cloudstack Scan Policy - The scan policy for the cluster.
- skip
Completion boolean - If
true, the cluster will be created asynchronously. Default value isfalse. - string[]
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value. - timeouts
Cluster
Apache Cloudstack Timeouts - update
Worker booleanPools In Parallel - Controls whether worker pool updates occur in parallel or sequentially. When set to
true, all worker pools are updated simultaneously. Whenfalse(default), worker pools are updated one at a time, reducing cluster disruption but taking longer to complete updates.
- cloud_
account_ strid - ID of the CloudStack cloud account used for the cluster. This cloud account must be of type
cloudstack. - cloud_
config ClusterApache Cloudstack Cloud Config Args - CloudStack cluster configuration.
- machine_
pools Sequence[ClusterApache Cloudstack Machine Pool Args] - Machine pool configuration for the cluster.
- apply_
setting str - The setting to apply the cluster profile.
DownloadAndInstallwill download and install packs in one action.DownloadAndInstallLaterwill only download artifact and postpone install for later. Default value isDownloadAndInstall. - backup_
policy ClusterApache Cloudstack Backup Policy Args - The backup policy for the cluster. If not specified, no backups will be taken.
- cluster_
apache_ strcloudstack_ id - The ID of this resource.
- cluster_
meta_ strattribute cluster_meta_attributecan be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}- cluster_
profiles Sequence[ClusterApache Cloudstack Cluster Profile Args] - cluster_
rbac_ Sequence[Clusterbindings Apache Cloudstack Cluster Rbac Binding Args] - The RBAC binding for the cluster.
- cluster_
template ClusterApache Cloudstack Cluster Template Args - The cluster template of the cluster.
- context str
- The context of the CloudStack configuration. Allowed values are
projectortenant. Default isproject. If theprojectcontext is specified, the project name will sourced from the provider configuration parameterproject_name. - description str
- The description of the cluster. Default value is empty string.
- force_
delete bool - If set to
true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - force_
delete_ floatdelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- host_
configs Sequence[ClusterApache Cloudstack Host Config Args] - The host configuration for the cluster.
- name str
- The name of the cluster.
- namespaces
Sequence[Cluster
Apache Cloudstack Namespace Args] - The namespaces for the cluster.
- os_
patch_ strafter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00 - os_
patch_ boolon_ boot - Whether to apply OS patch on boot. Default is
false. - os_
patch_ strschedule - Cron schedule for OS patching. This must be in the form of
0 0 * * *. - pause_
agent_ strupgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock, meaning upgrades occur automatically. Setting it tolockpauses automatic agent upgrades for the cluster. - review_
repave_ strstate - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - scan_
policy ClusterApache Cloudstack Scan Policy Args - The scan policy for the cluster.
- skip_
completion bool - If
true, the cluster will be created asynchronously. Default value isfalse. - Sequence[str]
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value. - timeouts
Cluster
Apache Cloudstack Timeouts Args - update_
worker_ boolpools_ in_ parallel - Controls whether worker pool updates occur in parallel or sequentially. When set to
true, all worker pools are updated simultaneously. Whenfalse(default), worker pools are updated one at a time, reducing cluster disruption but taking longer to complete updates.
- cloud
Account StringId - ID of the CloudStack cloud account used for the cluster. This cloud account must be of type
cloudstack. - cloud
Config Property Map - CloudStack cluster configuration.
- machine
Pools List<Property Map> - Machine pool configuration for the cluster.
- apply
Setting String - The setting to apply the cluster profile.
DownloadAndInstallwill download and install packs in one action.DownloadAndInstallLaterwill only download artifact and postpone install for later. Default value isDownloadAndInstall. - backup
Policy Property Map - The backup policy for the cluster. If not specified, no backups will be taken.
- cluster
Apache StringCloudstack Id - The ID of this resource.
- cluster
Meta StringAttribute cluster_meta_attributecan be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}- cluster
Profiles List<Property Map> - cluster
Rbac List<Property Map>Bindings - The RBAC binding for the cluster.
- cluster
Template Property Map - The cluster template of the cluster.
- context String
- The context of the CloudStack configuration. Allowed values are
projectortenant. Default isproject. If theprojectcontext is specified, the project name will sourced from the provider configuration parameterproject_name. - description String
- The description of the cluster. Default value is empty string.
- force
Delete Boolean - If set to
true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - force
Delete NumberDelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- host
Configs List<Property Map> - The host configuration for the cluster.
- name String
- The name of the cluster.
- namespaces List<Property Map>
- The namespaces for the cluster.
- os
Patch StringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00 - os
Patch BooleanOn Boot - Whether to apply OS patch on boot. Default is
false. - os
Patch StringSchedule - Cron schedule for OS patching. This must be in the form of
0 0 * * *. - pause
Agent StringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock, meaning upgrades occur automatically. Setting it tolockpauses automatic agent upgrades for the cluster. - review
Repave StringState - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - scan
Policy Property Map - The scan policy for the cluster.
- skip
Completion Boolean - If
true, the cluster will be created asynchronously. Default value isfalse. - List<String>
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value. - timeouts Property Map
- update
Worker BooleanPools In Parallel - Controls whether worker pool updates occur in parallel or sequentially. When set to
true, all worker pools are updated simultaneously. Whenfalse(default), worker pools are updated one at a time, reducing cluster disruption but taking longer to complete updates.
Outputs
All input properties are implicitly available as output properties. Additionally, the ClusterApacheCloudstack resource produces the following output properties:
- Admin
Kube stringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl, With admin privilege. - Cloud
Config stringId - ID of the cloud config used for the cluster. This cloud config must be of type
cloudstack. - Id string
- The provider-assigned unique ID for this managed resource.
- Kubeconfig string
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl. - Location
Configs List<ClusterApache Cloudstack Location Config> - The location of the cluster.
- Admin
Kube stringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl, With admin privilege. - Cloud
Config stringId - ID of the cloud config used for the cluster. This cloud config must be of type
cloudstack. - Id string
- The provider-assigned unique ID for this managed resource.
- Kubeconfig string
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl. - Location
Configs []ClusterApache Cloudstack Location Config - The location of the cluster.
- admin
Kube StringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl, With admin privilege. - cloud
Config StringId - ID of the cloud config used for the cluster. This cloud config must be of type
cloudstack. - id String
- The provider-assigned unique ID for this managed resource.
- kubeconfig String
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl. - location
Configs List<ClusterApache Cloudstack Location Config> - The location of the cluster.
- admin
Kube stringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl, With admin privilege. - cloud
Config stringId - ID of the cloud config used for the cluster. This cloud config must be of type
cloudstack. - id string
- The provider-assigned unique ID for this managed resource.
- kubeconfig string
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl. - location
Configs ClusterApache Cloudstack Location Config[] - The location of the cluster.
- admin_
kube_ strconfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl, With admin privilege. - cloud_
config_ strid - ID of the cloud config used for the cluster. This cloud config must be of type
cloudstack. - id str
- The provider-assigned unique ID for this managed resource.
- kubeconfig str
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl. - location_
configs Sequence[ClusterApache Cloudstack Location Config] - The location of the cluster.
- admin
Kube StringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl, With admin privilege. - cloud
Config StringId - ID of the cloud config used for the cluster. This cloud config must be of type
cloudstack. - id String
- The provider-assigned unique ID for this managed resource.
- kubeconfig String
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl. - location
Configs List<Property Map> - The location of the cluster.
Look up Existing ClusterApacheCloudstack Resource
Get an existing ClusterApacheCloudstack 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?: ClusterApacheCloudstackState, opts?: CustomResourceOptions): ClusterApacheCloudstack@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_kube_config: Optional[str] = None,
apply_setting: Optional[str] = None,
backup_policy: Optional[ClusterApacheCloudstackBackupPolicyArgs] = None,
cloud_account_id: Optional[str] = None,
cloud_config: Optional[ClusterApacheCloudstackCloudConfigArgs] = None,
cloud_config_id: Optional[str] = None,
cluster_apache_cloudstack_id: Optional[str] = None,
cluster_meta_attribute: Optional[str] = None,
cluster_profiles: Optional[Sequence[ClusterApacheCloudstackClusterProfileArgs]] = None,
cluster_rbac_bindings: Optional[Sequence[ClusterApacheCloudstackClusterRbacBindingArgs]] = None,
cluster_template: Optional[ClusterApacheCloudstackClusterTemplateArgs] = None,
context: Optional[str] = None,
description: Optional[str] = None,
force_delete: Optional[bool] = None,
force_delete_delay: Optional[float] = None,
host_configs: Optional[Sequence[ClusterApacheCloudstackHostConfigArgs]] = None,
kubeconfig: Optional[str] = None,
location_configs: Optional[Sequence[ClusterApacheCloudstackLocationConfigArgs]] = None,
machine_pools: Optional[Sequence[ClusterApacheCloudstackMachinePoolArgs]] = None,
name: Optional[str] = None,
namespaces: Optional[Sequence[ClusterApacheCloudstackNamespaceArgs]] = None,
os_patch_after: Optional[str] = None,
os_patch_on_boot: Optional[bool] = None,
os_patch_schedule: Optional[str] = None,
pause_agent_upgrades: Optional[str] = None,
review_repave_state: Optional[str] = None,
scan_policy: Optional[ClusterApacheCloudstackScanPolicyArgs] = None,
skip_completion: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[ClusterApacheCloudstackTimeoutsArgs] = None,
update_worker_pools_in_parallel: Optional[bool] = None) -> ClusterApacheCloudstackfunc GetClusterApacheCloudstack(ctx *Context, name string, id IDInput, state *ClusterApacheCloudstackState, opts ...ResourceOption) (*ClusterApacheCloudstack, error)public static ClusterApacheCloudstack Get(string name, Input<string> id, ClusterApacheCloudstackState? state, CustomResourceOptions? opts = null)public static ClusterApacheCloudstack get(String name, Output<String> id, ClusterApacheCloudstackState state, CustomResourceOptions options)resources: _: type: spectrocloud:ClusterApacheCloudstack get: 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.
- Admin
Kube stringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl, With admin privilege. - Apply
Setting string - The setting to apply the cluster profile.
DownloadAndInstallwill download and install packs in one action.DownloadAndInstallLaterwill only download artifact and postpone install for later. Default value isDownloadAndInstall. - Backup
Policy ClusterApache Cloudstack Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- Cloud
Account stringId - ID of the CloudStack cloud account used for the cluster. This cloud account must be of type
cloudstack. - Cloud
Config ClusterApache Cloudstack Cloud Config - CloudStack cluster configuration.
- Cloud
Config stringId - ID of the cloud config used for the cluster. This cloud config must be of type
cloudstack. - Cluster
Apache stringCloudstack Id - The ID of this resource.
- Cluster
Meta stringAttribute cluster_meta_attributecan be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}- Cluster
Profiles List<ClusterApache Cloudstack Cluster Profile> - Cluster
Rbac List<ClusterBindings Apache Cloudstack Cluster Rbac Binding> - The RBAC binding for the cluster.
- Cluster
Template ClusterApache Cloudstack Cluster Template - The cluster template of the cluster.
- Context string
- The context of the CloudStack configuration. Allowed values are
projectortenant. Default isproject. If theprojectcontext is specified, the project name will sourced from the provider configuration parameterproject_name. - Description string
- The description of the cluster. Default value is empty string.
- Force
Delete bool - If set to
true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - Force
Delete doubleDelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- Host
Configs List<ClusterApache Cloudstack Host Config> - The host configuration for the cluster.
- Kubeconfig string
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl. - Location
Configs List<ClusterApache Cloudstack Location Config> - The location of the cluster.
- Machine
Pools List<ClusterApache Cloudstack Machine Pool> - Machine pool configuration for the cluster.
- Name string
- The name of the cluster.
- Namespaces
List<Cluster
Apache Cloudstack Namespace> - The namespaces for the cluster.
- Os
Patch stringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00 - Os
Patch boolOn Boot - Whether to apply OS patch on boot. Default is
false. - Os
Patch stringSchedule - Cron schedule for OS patching. This must be in the form of
0 0 * * *. - Pause
Agent stringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock, meaning upgrades occur automatically. Setting it tolockpauses automatic agent upgrades for the cluster. - Review
Repave stringState - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - Scan
Policy ClusterApache Cloudstack Scan Policy - The scan policy for the cluster.
- Skip
Completion bool - If
true, the cluster will be created asynchronously. Default value isfalse. - List<string>
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value. - Timeouts
Cluster
Apache Cloudstack Timeouts - Update
Worker boolPools In Parallel - Controls whether worker pool updates occur in parallel or sequentially. When set to
true, all worker pools are updated simultaneously. Whenfalse(default), worker pools are updated one at a time, reducing cluster disruption but taking longer to complete updates.
- Admin
Kube stringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl, With admin privilege. - Apply
Setting string - The setting to apply the cluster profile.
DownloadAndInstallwill download and install packs in one action.DownloadAndInstallLaterwill only download artifact and postpone install for later. Default value isDownloadAndInstall. - Backup
Policy ClusterApache Cloudstack Backup Policy Args - The backup policy for the cluster. If not specified, no backups will be taken.
- Cloud
Account stringId - ID of the CloudStack cloud account used for the cluster. This cloud account must be of type
cloudstack. - Cloud
Config ClusterApache Cloudstack Cloud Config Args - CloudStack cluster configuration.
- Cloud
Config stringId - ID of the cloud config used for the cluster. This cloud config must be of type
cloudstack. - Cluster
Apache stringCloudstack Id - The ID of this resource.
- Cluster
Meta stringAttribute cluster_meta_attributecan be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}- Cluster
Profiles []ClusterApache Cloudstack Cluster Profile Args - Cluster
Rbac []ClusterBindings Apache Cloudstack Cluster Rbac Binding Args - The RBAC binding for the cluster.
- Cluster
Template ClusterApache Cloudstack Cluster Template Args - The cluster template of the cluster.
- Context string
- The context of the CloudStack configuration. Allowed values are
projectortenant. Default isproject. If theprojectcontext is specified, the project name will sourced from the provider configuration parameterproject_name. - Description string
- The description of the cluster. Default value is empty string.
- Force
Delete bool - If set to
true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - Force
Delete float64Delay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- Host
Configs []ClusterApache Cloudstack Host Config Args - The host configuration for the cluster.
- Kubeconfig string
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl. - Location
Configs []ClusterApache Cloudstack Location Config Args - The location of the cluster.
- Machine
Pools []ClusterApache Cloudstack Machine Pool Args - Machine pool configuration for the cluster.
- Name string
- The name of the cluster.
- Namespaces
[]Cluster
Apache Cloudstack Namespace Args - The namespaces for the cluster.
- Os
Patch stringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00 - Os
Patch boolOn Boot - Whether to apply OS patch on boot. Default is
false. - Os
Patch stringSchedule - Cron schedule for OS patching. This must be in the form of
0 0 * * *. - Pause
Agent stringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock, meaning upgrades occur automatically. Setting it tolockpauses automatic agent upgrades for the cluster. - Review
Repave stringState - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - Scan
Policy ClusterApache Cloudstack Scan Policy Args - The scan policy for the cluster.
- Skip
Completion bool - If
true, the cluster will be created asynchronously. Default value isfalse. - []string
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value. - Timeouts
Cluster
Apache Cloudstack Timeouts Args - Update
Worker boolPools In Parallel - Controls whether worker pool updates occur in parallel or sequentially. When set to
true, all worker pools are updated simultaneously. Whenfalse(default), worker pools are updated one at a time, reducing cluster disruption but taking longer to complete updates.
- admin
Kube StringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl, With admin privilege. - apply
Setting String - The setting to apply the cluster profile.
DownloadAndInstallwill download and install packs in one action.DownloadAndInstallLaterwill only download artifact and postpone install for later. Default value isDownloadAndInstall. - backup
Policy ClusterApache Cloudstack Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- cloud
Account StringId - ID of the CloudStack cloud account used for the cluster. This cloud account must be of type
cloudstack. - cloud
Config ClusterApache Cloudstack Cloud Config - CloudStack cluster configuration.
- cloud
Config StringId - ID of the cloud config used for the cluster. This cloud config must be of type
cloudstack. - cluster
Apache StringCloudstack Id - The ID of this resource.
- cluster
Meta StringAttribute cluster_meta_attributecan be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}- cluster
Profiles List<ClusterApache Cloudstack Cluster Profile> - cluster
Rbac List<ClusterBindings Apache Cloudstack Cluster Rbac Binding> - The RBAC binding for the cluster.
- cluster
Template ClusterApache Cloudstack Cluster Template - The cluster template of the cluster.
- context String
- The context of the CloudStack configuration. Allowed values are
projectortenant. Default isproject. If theprojectcontext is specified, the project name will sourced from the provider configuration parameterproject_name. - description String
- The description of the cluster. Default value is empty string.
- force
Delete Boolean - If set to
true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - force
Delete DoubleDelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- host
Configs List<ClusterApache Cloudstack Host Config> - The host configuration for the cluster.
- kubeconfig String
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl. - location
Configs List<ClusterApache Cloudstack Location Config> - The location of the cluster.
- machine
Pools List<ClusterApache Cloudstack Machine Pool> - Machine pool configuration for the cluster.
- name String
- The name of the cluster.
- namespaces
List<Cluster
Apache Cloudstack Namespace> - The namespaces for the cluster.
- os
Patch StringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00 - os
Patch BooleanOn Boot - Whether to apply OS patch on boot. Default is
false. - os
Patch StringSchedule - Cron schedule for OS patching. This must be in the form of
0 0 * * *. - pause
Agent StringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock, meaning upgrades occur automatically. Setting it tolockpauses automatic agent upgrades for the cluster. - review
Repave StringState - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - scan
Policy ClusterApache Cloudstack Scan Policy - The scan policy for the cluster.
- skip
Completion Boolean - If
true, the cluster will be created asynchronously. Default value isfalse. - List<String>
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value. - timeouts
Cluster
Apache Cloudstack Timeouts - update
Worker BooleanPools In Parallel - Controls whether worker pool updates occur in parallel or sequentially. When set to
true, all worker pools are updated simultaneously. Whenfalse(default), worker pools are updated one at a time, reducing cluster disruption but taking longer to complete updates.
- admin
Kube stringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl, With admin privilege. - apply
Setting string - The setting to apply the cluster profile.
DownloadAndInstallwill download and install packs in one action.DownloadAndInstallLaterwill only download artifact and postpone install for later. Default value isDownloadAndInstall. - backup
Policy ClusterApache Cloudstack Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- cloud
Account stringId - ID of the CloudStack cloud account used for the cluster. This cloud account must be of type
cloudstack. - cloud
Config ClusterApache Cloudstack Cloud Config - CloudStack cluster configuration.
- cloud
Config stringId - ID of the cloud config used for the cluster. This cloud config must be of type
cloudstack. - cluster
Apache stringCloudstack Id - The ID of this resource.
- cluster
Meta stringAttribute cluster_meta_attributecan be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}- cluster
Profiles ClusterApache Cloudstack Cluster Profile[] - cluster
Rbac ClusterBindings Apache Cloudstack Cluster Rbac Binding[] - The RBAC binding for the cluster.
- cluster
Template ClusterApache Cloudstack Cluster Template - The cluster template of the cluster.
- context string
- The context of the CloudStack configuration. Allowed values are
projectortenant. Default isproject. If theprojectcontext is specified, the project name will sourced from the provider configuration parameterproject_name. - description string
- The description of the cluster. Default value is empty string.
- force
Delete boolean - If set to
true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - force
Delete numberDelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- host
Configs ClusterApache Cloudstack Host Config[] - The host configuration for the cluster.
- kubeconfig string
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl. - location
Configs ClusterApache Cloudstack Location Config[] - The location of the cluster.
- machine
Pools ClusterApache Cloudstack Machine Pool[] - Machine pool configuration for the cluster.
- name string
- The name of the cluster.
- namespaces
Cluster
Apache Cloudstack Namespace[] - The namespaces for the cluster.
- os
Patch stringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00 - os
Patch booleanOn Boot - Whether to apply OS patch on boot. Default is
false. - os
Patch stringSchedule - Cron schedule for OS patching. This must be in the form of
0 0 * * *. - pause
Agent stringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock, meaning upgrades occur automatically. Setting it tolockpauses automatic agent upgrades for the cluster. - review
Repave stringState - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - scan
Policy ClusterApache Cloudstack Scan Policy - The scan policy for the cluster.
- skip
Completion boolean - If
true, the cluster will be created asynchronously. Default value isfalse. - string[]
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value. - timeouts
Cluster
Apache Cloudstack Timeouts - update
Worker booleanPools In Parallel - Controls whether worker pool updates occur in parallel or sequentially. When set to
true, all worker pools are updated simultaneously. Whenfalse(default), worker pools are updated one at a time, reducing cluster disruption but taking longer to complete updates.
- admin_
kube_ strconfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl, With admin privilege. - apply_
setting str - The setting to apply the cluster profile.
DownloadAndInstallwill download and install packs in one action.DownloadAndInstallLaterwill only download artifact and postpone install for later. Default value isDownloadAndInstall. - backup_
policy ClusterApache Cloudstack Backup Policy Args - The backup policy for the cluster. If not specified, no backups will be taken.
- cloud_
account_ strid - ID of the CloudStack cloud account used for the cluster. This cloud account must be of type
cloudstack. - cloud_
config ClusterApache Cloudstack Cloud Config Args - CloudStack cluster configuration.
- cloud_
config_ strid - ID of the cloud config used for the cluster. This cloud config must be of type
cloudstack. - cluster_
apache_ strcloudstack_ id - The ID of this resource.
- cluster_
meta_ strattribute cluster_meta_attributecan be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}- cluster_
profiles Sequence[ClusterApache Cloudstack Cluster Profile Args] - cluster_
rbac_ Sequence[Clusterbindings Apache Cloudstack Cluster Rbac Binding Args] - The RBAC binding for the cluster.
- cluster_
template ClusterApache Cloudstack Cluster Template Args - The cluster template of the cluster.
- context str
- The context of the CloudStack configuration. Allowed values are
projectortenant. Default isproject. If theprojectcontext is specified, the project name will sourced from the provider configuration parameterproject_name. - description str
- The description of the cluster. Default value is empty string.
- force_
delete bool - If set to
true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - force_
delete_ floatdelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- host_
configs Sequence[ClusterApache Cloudstack Host Config Args] - The host configuration for the cluster.
- kubeconfig str
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl. - location_
configs Sequence[ClusterApache Cloudstack Location Config Args] - The location of the cluster.
- machine_
pools Sequence[ClusterApache Cloudstack Machine Pool Args] - Machine pool configuration for the cluster.
- name str
- The name of the cluster.
- namespaces
Sequence[Cluster
Apache Cloudstack Namespace Args] - The namespaces for the cluster.
- os_
patch_ strafter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00 - os_
patch_ boolon_ boot - Whether to apply OS patch on boot. Default is
false. - os_
patch_ strschedule - Cron schedule for OS patching. This must be in the form of
0 0 * * *. - pause_
agent_ strupgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock, meaning upgrades occur automatically. Setting it tolockpauses automatic agent upgrades for the cluster. - review_
repave_ strstate - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - scan_
policy ClusterApache Cloudstack Scan Policy Args - The scan policy for the cluster.
- skip_
completion bool - If
true, the cluster will be created asynchronously. Default value isfalse. - Sequence[str]
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value. - timeouts
Cluster
Apache Cloudstack Timeouts Args - update_
worker_ boolpools_ in_ parallel - Controls whether worker pool updates occur in parallel or sequentially. When set to
true, all worker pools are updated simultaneously. Whenfalse(default), worker pools are updated one at a time, reducing cluster disruption but taking longer to complete updates.
- admin
Kube StringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl, With admin privilege. - apply
Setting String - The setting to apply the cluster profile.
DownloadAndInstallwill download and install packs in one action.DownloadAndInstallLaterwill only download artifact and postpone install for later. Default value isDownloadAndInstall. - backup
Policy Property Map - The backup policy for the cluster. If not specified, no backups will be taken.
- cloud
Account StringId - ID of the CloudStack cloud account used for the cluster. This cloud account must be of type
cloudstack. - cloud
Config Property Map - CloudStack cluster configuration.
- cloud
Config StringId - ID of the cloud config used for the cluster. This cloud config must be of type
cloudstack. - cluster
Apache StringCloudstack Id - The ID of this resource.
- cluster
Meta StringAttribute cluster_meta_attributecan be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}- cluster
Profiles List<Property Map> - cluster
Rbac List<Property Map>Bindings - The RBAC binding for the cluster.
- cluster
Template Property Map - The cluster template of the cluster.
- context String
- The context of the CloudStack configuration. Allowed values are
projectortenant. Default isproject. If theprojectcontext is specified, the project name will sourced from the provider configuration parameterproject_name. - description String
- The description of the cluster. Default value is empty string.
- force
Delete Boolean - If set to
true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - force
Delete NumberDelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- host
Configs List<Property Map> - The host configuration for the cluster.
- kubeconfig String
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl. - location
Configs List<Property Map> - The location of the cluster.
- machine
Pools List<Property Map> - Machine pool configuration for the cluster.
- name String
- The name of the cluster.
- namespaces List<Property Map>
- The namespaces for the cluster.
- os
Patch StringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00 - os
Patch BooleanOn Boot - Whether to apply OS patch on boot. Default is
false. - os
Patch StringSchedule - Cron schedule for OS patching. This must be in the form of
0 0 * * *. - pause
Agent StringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock, meaning upgrades occur automatically. Setting it tolockpauses automatic agent upgrades for the cluster. - review
Repave StringState - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - scan
Policy Property Map - The scan policy for the cluster.
- skip
Completion Boolean - If
true, the cluster will be created asynchronously. Default value isfalse. - List<String>
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value. - timeouts Property Map
- update
Worker BooleanPools In Parallel - Controls whether worker pool updates occur in parallel or sequentially. When set to
true, all worker pools are updated simultaneously. Whenfalse(default), worker pools are updated one at a time, reducing cluster disruption but taking longer to complete updates.
Supporting Types
ClusterApacheCloudstackBackupPolicy, ClusterApacheCloudstackBackupPolicyArgs
- Backup
Location stringId - The ID of the backup location to use for the backup.
- Expiry
In doubleHour - The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
- Prefix string
- Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
- Schedule string
- The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to
0 1 * * *. - Cluster
Uids List<string> - The list of cluster UIDs to include in the backup. If
include_all_clustersis set totrue, then all clusters will be included. - Include
All boolClusters - Whether to include all clusters in the backup. If set to false, only the clusters specified in
cluster_uidswill be included. - Include
Cluster boolResources - Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
- Include
Cluster stringResources Mode - Specifies whether to include the cluster resources in the backup. Supported values are
always,never, andauto. - Include
Disks bool - Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
- Namespaces List<string>
- The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
- Backup
Location stringId - The ID of the backup location to use for the backup.
- Expiry
In float64Hour - The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
- Prefix string
- Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
- Schedule string
- The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to
0 1 * * *. - Cluster
Uids []string - The list of cluster UIDs to include in the backup. If
include_all_clustersis set totrue, then all clusters will be included. - Include
All boolClusters - Whether to include all clusters in the backup. If set to false, only the clusters specified in
cluster_uidswill be included. - Include
Cluster boolResources - Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
- Include
Cluster stringResources Mode - Specifies whether to include the cluster resources in the backup. Supported values are
always,never, andauto. - Include
Disks bool - Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
- Namespaces []string
- The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
- backup
Location StringId - The ID of the backup location to use for the backup.
- expiry
In DoubleHour - The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
- prefix String
- Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
- schedule String
- The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to
0 1 * * *. - cluster
Uids List<String> - The list of cluster UIDs to include in the backup. If
include_all_clustersis set totrue, then all clusters will be included. - include
All BooleanClusters - Whether to include all clusters in the backup. If set to false, only the clusters specified in
cluster_uidswill be included. - include
Cluster BooleanResources - Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
- include
Cluster StringResources Mode - Specifies whether to include the cluster resources in the backup. Supported values are
always,never, andauto. - include
Disks Boolean - Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
- namespaces List<String>
- The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
- backup
Location stringId - The ID of the backup location to use for the backup.
- expiry
In numberHour - The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
- prefix string
- Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
- schedule string
- The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to
0 1 * * *. - cluster
Uids string[] - The list of cluster UIDs to include in the backup. If
include_all_clustersis set totrue, then all clusters will be included. - include
All booleanClusters - Whether to include all clusters in the backup. If set to false, only the clusters specified in
cluster_uidswill be included. - include
Cluster booleanResources - Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
- include
Cluster stringResources Mode - Specifies whether to include the cluster resources in the backup. Supported values are
always,never, andauto. - include
Disks boolean - Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
- namespaces string[]
- The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
- backup_
location_ strid - The ID of the backup location to use for the backup.
- expiry_
in_ floathour - The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
- prefix str
- Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
- schedule str
- The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to
0 1 * * *. - cluster_
uids Sequence[str] - The list of cluster UIDs to include in the backup. If
include_all_clustersis set totrue, then all clusters will be included. - include_
all_ boolclusters - Whether to include all clusters in the backup. If set to false, only the clusters specified in
cluster_uidswill be included. - include_
cluster_ boolresources - Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
- include_
cluster_ strresources_ mode - Specifies whether to include the cluster resources in the backup. Supported values are
always,never, andauto. - include_
disks bool - Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
- namespaces Sequence[str]
- The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
- backup
Location StringId - The ID of the backup location to use for the backup.
- expiry
In NumberHour - The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
- prefix String
- Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
- schedule String
- The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to
0 1 * * *. - cluster
Uids List<String> - The list of cluster UIDs to include in the backup. If
include_all_clustersis set totrue, then all clusters will be included. - include
All BooleanClusters - Whether to include all clusters in the backup. If set to false, only the clusters specified in
cluster_uidswill be included. - include
Cluster BooleanResources - Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
- include
Cluster StringResources Mode - Specifies whether to include the cluster resources in the backup. Supported values are
always,never, andauto. - include
Disks Boolean - Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
- namespaces List<String>
- The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
ClusterApacheCloudstackCloudConfig, ClusterApacheCloudstackCloudConfigArgs
- Zones
List<Cluster
Apache Cloudstack Cloud Config Zone> - List of CloudStack zones for multi-AZ deployments. If only one zone is specified, it will be treated as single-zone deployment.
- Control
Plane stringEndpoint - Endpoint IP to be used for the API server. Should only be set for static CloudStack networks.
- Project
Cluster
Apache Cloudstack Cloud Config Project - CloudStack project configuration (optional). If not specified, the cluster will be created in the domain's default project.
- Ssh
Key stringName - SSH key name for accessing cluster nodes.
- Sync
With boolCks - Determines if an external managed CKS (CloudStack Kubernetes Service) cluster should be created. Default is
false.
- Zones
[]Cluster
Apache Cloudstack Cloud Config Zone - List of CloudStack zones for multi-AZ deployments. If only one zone is specified, it will be treated as single-zone deployment.
- Control
Plane stringEndpoint - Endpoint IP to be used for the API server. Should only be set for static CloudStack networks.
- Project
Cluster
Apache Cloudstack Cloud Config Project - CloudStack project configuration (optional). If not specified, the cluster will be created in the domain's default project.
- Ssh
Key stringName - SSH key name for accessing cluster nodes.
- Sync
With boolCks - Determines if an external managed CKS (CloudStack Kubernetes Service) cluster should be created. Default is
false.
- zones
List<Cluster
Apache Cloudstack Cloud Config Zone> - List of CloudStack zones for multi-AZ deployments. If only one zone is specified, it will be treated as single-zone deployment.
- control
Plane StringEndpoint - Endpoint IP to be used for the API server. Should only be set for static CloudStack networks.
- project
Cluster
Apache Cloudstack Cloud Config Project - CloudStack project configuration (optional). If not specified, the cluster will be created in the domain's default project.
- ssh
Key StringName - SSH key name for accessing cluster nodes.
- sync
With BooleanCks - Determines if an external managed CKS (CloudStack Kubernetes Service) cluster should be created. Default is
false.
- zones
Cluster
Apache Cloudstack Cloud Config Zone[] - List of CloudStack zones for multi-AZ deployments. If only one zone is specified, it will be treated as single-zone deployment.
- control
Plane stringEndpoint - Endpoint IP to be used for the API server. Should only be set for static CloudStack networks.
- project
Cluster
Apache Cloudstack Cloud Config Project - CloudStack project configuration (optional). If not specified, the cluster will be created in the domain's default project.
- ssh
Key stringName - SSH key name for accessing cluster nodes.
- sync
With booleanCks - Determines if an external managed CKS (CloudStack Kubernetes Service) cluster should be created. Default is
false.
- zones
Sequence[Cluster
Apache Cloudstack Cloud Config Zone] - List of CloudStack zones for multi-AZ deployments. If only one zone is specified, it will be treated as single-zone deployment.
- control_
plane_ strendpoint - Endpoint IP to be used for the API server. Should only be set for static CloudStack networks.
- project
Cluster
Apache Cloudstack Cloud Config Project - CloudStack project configuration (optional). If not specified, the cluster will be created in the domain's default project.
- ssh_
key_ strname - SSH key name for accessing cluster nodes.
- sync_
with_ boolcks - Determines if an external managed CKS (CloudStack Kubernetes Service) cluster should be created. Default is
false.
- zones List<Property Map>
- List of CloudStack zones for multi-AZ deployments. If only one zone is specified, it will be treated as single-zone deployment.
- control
Plane StringEndpoint - Endpoint IP to be used for the API server. Should only be set for static CloudStack networks.
- project Property Map
- CloudStack project configuration (optional). If not specified, the cluster will be created in the domain's default project.
- ssh
Key StringName - SSH key name for accessing cluster nodes.
- sync
With BooleanCks - Determines if an external managed CKS (CloudStack Kubernetes Service) cluster should be created. Default is
false.
ClusterApacheCloudstackCloudConfigProject, ClusterApacheCloudstackCloudConfigProjectArgs
ClusterApacheCloudstackCloudConfigZone, ClusterApacheCloudstackCloudConfigZoneArgs
- Name string
- CloudStack zone name where the cluster will be deployed.
- Id string
- CloudStack zone ID. Either
idornamecan be used to identify the zone. If both are specified,idtakes precedence. - Network
Cluster
Apache Cloudstack Cloud Config Zone Network - Network configuration for this zone.
- Name string
- CloudStack zone name where the cluster will be deployed.
- Id string
- CloudStack zone ID. Either
idornamecan be used to identify the zone. If both are specified,idtakes precedence. - Network
Cluster
Apache Cloudstack Cloud Config Zone Network - Network configuration for this zone.
- name String
- CloudStack zone name where the cluster will be deployed.
- id String
- CloudStack zone ID. Either
idornamecan be used to identify the zone. If both are specified,idtakes precedence. - network
Cluster
Apache Cloudstack Cloud Config Zone Network - Network configuration for this zone.
- name string
- CloudStack zone name where the cluster will be deployed.
- id string
- CloudStack zone ID. Either
idornamecan be used to identify the zone. If both are specified,idtakes precedence. - network
Cluster
Apache Cloudstack Cloud Config Zone Network - Network configuration for this zone.
- name str
- CloudStack zone name where the cluster will be deployed.
- id str
- CloudStack zone ID. Either
idornamecan be used to identify the zone. If both are specified,idtakes precedence. - network
Cluster
Apache Cloudstack Cloud Config Zone Network - Network configuration for this zone.
- name String
- CloudStack zone name where the cluster will be deployed.
- id String
- CloudStack zone ID. Either
idornamecan be used to identify the zone. If both are specified,idtakes precedence. - network Property Map
- Network configuration for this zone.
ClusterApacheCloudstackCloudConfigZoneNetwork, ClusterApacheCloudstackCloudConfigZoneNetworkArgs
- Name string
- Network name in this zone.
- Gateway string
- Gateway IP address for the network.
- Id string
- Network ID in CloudStack. Either
idornamecan be used to identify the network. If both are specified,idtakes precedence. - Netmask string
- Network mask for the network.
- Offering string
- Network offering name to use when creating the network. Optional for advanced network configurations.
- Routing
Mode string - Routing mode for the network (e.g., Static, Dynamic). Optional, defaults to CloudStack's default routing mode.
- Type string
- Network type: Isolated, Shared, etc.
- Vpc
Cluster
Apache Cloudstack Cloud Config Zone Network Vpc - VPC configuration for VPC-based network deployments. Optional, only needed when deploying in a VPC.
- Name string
- Network name in this zone.
- Gateway string
- Gateway IP address for the network.
- Id string
- Network ID in CloudStack. Either
idornamecan be used to identify the network. If both are specified,idtakes precedence. - Netmask string
- Network mask for the network.
- Offering string
- Network offering name to use when creating the network. Optional for advanced network configurations.
- Routing
Mode string - Routing mode for the network (e.g., Static, Dynamic). Optional, defaults to CloudStack's default routing mode.
- Type string
- Network type: Isolated, Shared, etc.
- Vpc
Cluster
Apache Cloudstack Cloud Config Zone Network Vpc - VPC configuration for VPC-based network deployments. Optional, only needed when deploying in a VPC.
- name String
- Network name in this zone.
- gateway String
- Gateway IP address for the network.
- id String
- Network ID in CloudStack. Either
idornamecan be used to identify the network. If both are specified,idtakes precedence. - netmask String
- Network mask for the network.
- offering String
- Network offering name to use when creating the network. Optional for advanced network configurations.
- routing
Mode String - Routing mode for the network (e.g., Static, Dynamic). Optional, defaults to CloudStack's default routing mode.
- type String
- Network type: Isolated, Shared, etc.
- vpc
Cluster
Apache Cloudstack Cloud Config Zone Network Vpc - VPC configuration for VPC-based network deployments. Optional, only needed when deploying in a VPC.
- name string
- Network name in this zone.
- gateway string
- Gateway IP address for the network.
- id string
- Network ID in CloudStack. Either
idornamecan be used to identify the network. If both are specified,idtakes precedence. - netmask string
- Network mask for the network.
- offering string
- Network offering name to use when creating the network. Optional for advanced network configurations.
- routing
Mode string - Routing mode for the network (e.g., Static, Dynamic). Optional, defaults to CloudStack's default routing mode.
- type string
- Network type: Isolated, Shared, etc.
- vpc
Cluster
Apache Cloudstack Cloud Config Zone Network Vpc - VPC configuration for VPC-based network deployments. Optional, only needed when deploying in a VPC.
- name str
- Network name in this zone.
- gateway str
- Gateway IP address for the network.
- id str
- Network ID in CloudStack. Either
idornamecan be used to identify the network. If both are specified,idtakes precedence. - netmask str
- Network mask for the network.
- offering str
- Network offering name to use when creating the network. Optional for advanced network configurations.
- routing_
mode str - Routing mode for the network (e.g., Static, Dynamic). Optional, defaults to CloudStack's default routing mode.
- type str
- Network type: Isolated, Shared, etc.
- vpc
Cluster
Apache Cloudstack Cloud Config Zone Network Vpc - VPC configuration for VPC-based network deployments. Optional, only needed when deploying in a VPC.
- name String
- Network name in this zone.
- gateway String
- Gateway IP address for the network.
- id String
- Network ID in CloudStack. Either
idornamecan be used to identify the network. If both are specified,idtakes precedence. - netmask String
- Network mask for the network.
- offering String
- Network offering name to use when creating the network. Optional for advanced network configurations.
- routing
Mode String - Routing mode for the network (e.g., Static, Dynamic). Optional, defaults to CloudStack's default routing mode.
- type String
- Network type: Isolated, Shared, etc.
- vpc Property Map
- VPC configuration for VPC-based network deployments. Optional, only needed when deploying in a VPC.
ClusterApacheCloudstackCloudConfigZoneNetworkVpc, ClusterApacheCloudstackCloudConfigZoneNetworkVpcArgs
ClusterApacheCloudstackClusterProfile, ClusterApacheCloudstackClusterProfileArgs
- Id string
- The ID of the cluster profile.
- Packs
List<Cluster
Apache Cloudstack Cluster Profile Pack> - For packs of type
spectro,helm, andmanifest, at least one pack must be specified. - Variables Dictionary<string, string>
- A map of cluster profile variables, specified as key-value pairs. For example:
priority = "5".
- Id string
- The ID of the cluster profile.
- Packs
[]Cluster
Apache Cloudstack Cluster Profile Pack - For packs of type
spectro,helm, andmanifest, at least one pack must be specified. - Variables map[string]string
- A map of cluster profile variables, specified as key-value pairs. For example:
priority = "5".
- id String
- The ID of the cluster profile.
- packs
List<Cluster
Apache Cloudstack Cluster Profile Pack> - For packs of type
spectro,helm, andmanifest, at least one pack must be specified. - variables Map<String,String>
- A map of cluster profile variables, specified as key-value pairs. For example:
priority = "5".
- id string
- The ID of the cluster profile.
- packs
Cluster
Apache Cloudstack Cluster Profile Pack[] - For packs of type
spectro,helm, andmanifest, at least one pack must be specified. - variables {[key: string]: string}
- A map of cluster profile variables, specified as key-value pairs. For example:
priority = "5".
- id str
- The ID of the cluster profile.
- packs
Sequence[Cluster
Apache Cloudstack Cluster Profile Pack] - For packs of type
spectro,helm, andmanifest, at least one pack must be specified. - variables Mapping[str, str]
- A map of cluster profile variables, specified as key-value pairs. For example:
priority = "5".
- id String
- The ID of the cluster profile.
- packs List<Property Map>
- For packs of type
spectro,helm, andmanifest, at least one pack must be specified. - variables Map<String>
- A map of cluster profile variables, specified as key-value pairs. For example:
priority = "5".
ClusterApacheCloudstackClusterProfilePack, ClusterApacheCloudstackClusterProfilePackArgs
- Name string
- The name of the pack. The name must be unique within the cluster profile.
- Manifests
List<Cluster
Apache Cloudstack Cluster Profile Pack Manifest> - Registry
Name string - The registry name of the pack. The registry name is the human-readable name of the registry. This attribute can be used instead of
registry_uidfor better readability. Ifuidis not provided, this field can be used along withnameandtagto resolve the pack UID internally. Eitherregistry_uidorregistry_namecan be specified, but not both. - Registry
Uid string - The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name. If
uidis not provided, this field is required along withnameandtagto resolve the pack UID internally. Eitherregistry_uidorregistry_namecan be specified, but not both. - Tag string
- The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is
spectroorhelm. Ifuidis not provided, this field is required along withnameandregistry_uid(orregistry_name) to resolve the pack UID internally. - Type string
- The type of the pack. Allowed values are
spectro,manifest,helm, oroci. The default value is spectro. If using an OCI registry for pack, set the type tooci. - Uid string
- The unique identifier of the pack. The value can be looked up using the
spectrocloud.getPackdata source. This value is required if the pack type isspectroand forhelmif the chart is from a public helm registry. If not provided, all ofname,tag, andregistry_uidmust be specified to resolve the pack UID internally. - Values string
- The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
- Name string
- The name of the pack. The name must be unique within the cluster profile.
- Manifests
[]Cluster
Apache Cloudstack Cluster Profile Pack Manifest - Registry
Name string - The registry name of the pack. The registry name is the human-readable name of the registry. This attribute can be used instead of
registry_uidfor better readability. Ifuidis not provided, this field can be used along withnameandtagto resolve the pack UID internally. Eitherregistry_uidorregistry_namecan be specified, but not both. - Registry
Uid string - The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name. If
uidis not provided, this field is required along withnameandtagto resolve the pack UID internally. Eitherregistry_uidorregistry_namecan be specified, but not both. - Tag string
- The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is
spectroorhelm. Ifuidis not provided, this field is required along withnameandregistry_uid(orregistry_name) to resolve the pack UID internally. - Type string
- The type of the pack. Allowed values are
spectro,manifest,helm, oroci. The default value is spectro. If using an OCI registry for pack, set the type tooci. - Uid string
- The unique identifier of the pack. The value can be looked up using the
spectrocloud.getPackdata source. This value is required if the pack type isspectroand forhelmif the chart is from a public helm registry. If not provided, all ofname,tag, andregistry_uidmust be specified to resolve the pack UID internally. - Values string
- The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
- name String
- The name of the pack. The name must be unique within the cluster profile.
- manifests
List<Cluster
Apache Cloudstack Cluster Profile Pack Manifest> - registry
Name String - The registry name of the pack. The registry name is the human-readable name of the registry. This attribute can be used instead of
registry_uidfor better readability. Ifuidis not provided, this field can be used along withnameandtagto resolve the pack UID internally. Eitherregistry_uidorregistry_namecan be specified, but not both. - registry
Uid String - The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name. If
uidis not provided, this field is required along withnameandtagto resolve the pack UID internally. Eitherregistry_uidorregistry_namecan be specified, but not both. - tag String
- The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is
spectroorhelm. Ifuidis not provided, this field is required along withnameandregistry_uid(orregistry_name) to resolve the pack UID internally. - type String
- The type of the pack. Allowed values are
spectro,manifest,helm, oroci. The default value is spectro. If using an OCI registry for pack, set the type tooci. - uid String
- The unique identifier of the pack. The value can be looked up using the
spectrocloud.getPackdata source. This value is required if the pack type isspectroand forhelmif the chart is from a public helm registry. If not provided, all ofname,tag, andregistry_uidmust be specified to resolve the pack UID internally. - values String
- The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
- name string
- The name of the pack. The name must be unique within the cluster profile.
- manifests
Cluster
Apache Cloudstack Cluster Profile Pack Manifest[] - registry
Name string - The registry name of the pack. The registry name is the human-readable name of the registry. This attribute can be used instead of
registry_uidfor better readability. Ifuidis not provided, this field can be used along withnameandtagto resolve the pack UID internally. Eitherregistry_uidorregistry_namecan be specified, but not both. - registry
Uid string - The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name. If
uidis not provided, this field is required along withnameandtagto resolve the pack UID internally. Eitherregistry_uidorregistry_namecan be specified, but not both. - tag string
- The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is
spectroorhelm. Ifuidis not provided, this field is required along withnameandregistry_uid(orregistry_name) to resolve the pack UID internally. - type string
- The type of the pack. Allowed values are
spectro,manifest,helm, oroci. The default value is spectro. If using an OCI registry for pack, set the type tooci. - uid string
- The unique identifier of the pack. The value can be looked up using the
spectrocloud.getPackdata source. This value is required if the pack type isspectroand forhelmif the chart is from a public helm registry. If not provided, all ofname,tag, andregistry_uidmust be specified to resolve the pack UID internally. - values string
- The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
- name str
- The name of the pack. The name must be unique within the cluster profile.
- manifests
Sequence[Cluster
Apache Cloudstack Cluster Profile Pack Manifest] - registry_
name str - The registry name of the pack. The registry name is the human-readable name of the registry. This attribute can be used instead of
registry_uidfor better readability. Ifuidis not provided, this field can be used along withnameandtagto resolve the pack UID internally. Eitherregistry_uidorregistry_namecan be specified, but not both. - registry_
uid str - The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name. If
uidis not provided, this field is required along withnameandtagto resolve the pack UID internally. Eitherregistry_uidorregistry_namecan be specified, but not both. - tag str
- The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is
spectroorhelm. Ifuidis not provided, this field is required along withnameandregistry_uid(orregistry_name) to resolve the pack UID internally. - type str
- The type of the pack. Allowed values are
spectro,manifest,helm, oroci. The default value is spectro. If using an OCI registry for pack, set the type tooci. - uid str
- The unique identifier of the pack. The value can be looked up using the
spectrocloud.getPackdata source. This value is required if the pack type isspectroand forhelmif the chart is from a public helm registry. If not provided, all ofname,tag, andregistry_uidmust be specified to resolve the pack UID internally. - values str
- The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
- name String
- The name of the pack. The name must be unique within the cluster profile.
- manifests List<Property Map>
- registry
Name String - The registry name of the pack. The registry name is the human-readable name of the registry. This attribute can be used instead of
registry_uidfor better readability. Ifuidis not provided, this field can be used along withnameandtagto resolve the pack UID internally. Eitherregistry_uidorregistry_namecan be specified, but not both. - registry
Uid String - The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name. If
uidis not provided, this field is required along withnameandtagto resolve the pack UID internally. Eitherregistry_uidorregistry_namecan be specified, but not both. - tag String
- The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is
spectroorhelm. Ifuidis not provided, this field is required along withnameandregistry_uid(orregistry_name) to resolve the pack UID internally. - type String
- The type of the pack. Allowed values are
spectro,manifest,helm, oroci. The default value is spectro. If using an OCI registry for pack, set the type tooci. - uid String
- The unique identifier of the pack. The value can be looked up using the
spectrocloud.getPackdata source. This value is required if the pack type isspectroand forhelmif the chart is from a public helm registry. If not provided, all ofname,tag, andregistry_uidmust be specified to resolve the pack UID internally. - values String
- The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
ClusterApacheCloudstackClusterProfilePackManifest, ClusterApacheCloudstackClusterProfilePackManifestArgs
ClusterApacheCloudstackClusterRbacBinding, ClusterApacheCloudstackClusterRbacBindingArgs
- Type string
- The type of the RBAC binding. Can be one of the following values:
RoleBinding, orClusterRoleBinding. - Namespace string
- The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
- Role Dictionary<string, string>
- The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'. Must include 'name' and 'kind' fields.
- Subjects
List<Cluster
Apache Cloudstack Cluster Rbac Binding Subject>
- Type string
- The type of the RBAC binding. Can be one of the following values:
RoleBinding, orClusterRoleBinding. - Namespace string
- The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
- Role map[string]string
- The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'. Must include 'name' and 'kind' fields.
- Subjects
[]Cluster
Apache Cloudstack Cluster Rbac Binding Subject
- type String
- The type of the RBAC binding. Can be one of the following values:
RoleBinding, orClusterRoleBinding. - namespace String
- The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
- role Map<String,String>
- The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'. Must include 'name' and 'kind' fields.
- subjects
List<Cluster
Apache Cloudstack Cluster Rbac Binding Subject>
- type string
- The type of the RBAC binding. Can be one of the following values:
RoleBinding, orClusterRoleBinding. - namespace string
- The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
- role {[key: string]: string}
- The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'. Must include 'name' and 'kind' fields.
- subjects
Cluster
Apache Cloudstack Cluster Rbac Binding Subject[]
- type str
- The type of the RBAC binding. Can be one of the following values:
RoleBinding, orClusterRoleBinding. - namespace str
- The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
- role Mapping[str, str]
- The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'. Must include 'name' and 'kind' fields.
- subjects
Sequence[Cluster
Apache Cloudstack Cluster Rbac Binding Subject]
- type String
- The type of the RBAC binding. Can be one of the following values:
RoleBinding, orClusterRoleBinding. - namespace String
- The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
- role Map<String>
- The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'. Must include 'name' and 'kind' fields.
- subjects List<Property Map>
ClusterApacheCloudstackClusterRbacBindingSubject, ClusterApacheCloudstackClusterRbacBindingSubjectArgs
ClusterApacheCloudstackClusterTemplate, ClusterApacheCloudstackClusterTemplateArgs
- Id string
- The ID of the cluster template.
- Cluster
Profiles List<ClusterApache Cloudstack Cluster Template Cluster Profile> - The cluster profile of the cluster template.
- Name string
- The name of the cluster template.
- Id string
- The ID of the cluster template.
- Cluster
Profiles []ClusterApache Cloudstack Cluster Template Cluster Profile - The cluster profile of the cluster template.
- Name string
- The name of the cluster template.
- id String
- The ID of the cluster template.
- cluster
Profiles List<ClusterApache Cloudstack Cluster Template Cluster Profile> - The cluster profile of the cluster template.
- name String
- The name of the cluster template.
- id string
- The ID of the cluster template.
- cluster
Profiles ClusterApache Cloudstack Cluster Template Cluster Profile[] - The cluster profile of the cluster template.
- name string
- The name of the cluster template.
- id str
- The ID of the cluster template.
- cluster_
profiles Sequence[ClusterApache Cloudstack Cluster Template Cluster Profile] - The cluster profile of the cluster template.
- name str
- The name of the cluster template.
- id String
- The ID of the cluster template.
- cluster
Profiles List<Property Map> - The cluster profile of the cluster template.
- name String
- The name of the cluster template.
ClusterApacheCloudstackClusterTemplateClusterProfile, ClusterApacheCloudstackClusterTemplateClusterProfileArgs
ClusterApacheCloudstackHostConfig, ClusterApacheCloudstackHostConfigArgs
- External
Traffic stringPolicy - The external traffic policy for the cluster.
- Host
Endpoint stringType - The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
- Ingress
Host string - The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
- Load
Balancer stringSource Ranges - The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
- External
Traffic stringPolicy - The external traffic policy for the cluster.
- Host
Endpoint stringType - The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
- Ingress
Host string - The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
- Load
Balancer stringSource Ranges - The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
- external
Traffic StringPolicy - The external traffic policy for the cluster.
- host
Endpoint StringType - The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
- ingress
Host String - The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
- load
Balancer StringSource Ranges - The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
- external
Traffic stringPolicy - The external traffic policy for the cluster.
- host
Endpoint stringType - The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
- ingress
Host string - The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
- load
Balancer stringSource Ranges - The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
- external_
traffic_ strpolicy - The external traffic policy for the cluster.
- host_
endpoint_ strtype - The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
- ingress_
host str - The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
- load_
balancer_ strsource_ ranges - The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
- external
Traffic StringPolicy - The external traffic policy for the cluster.
- host
Endpoint StringType - The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
- ingress
Host String - The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
- load
Balancer StringSource Ranges - The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
ClusterApacheCloudstackLocationConfig, ClusterApacheCloudstackLocationConfigArgs
- Country
Code string - Country
Name string - Latitude double
- Longitude double
- Region
Code string - Region
Name string
- Country
Code string - Country
Name string - Latitude float64
- Longitude float64
- Region
Code string - Region
Name string
- country
Code String - country
Name String - latitude Double
- longitude Double
- region
Code String - region
Name String
- country
Code string - country
Name string - latitude number
- longitude number
- region
Code string - region
Name string
- country_
code str - country_
name str - latitude float
- longitude float
- region_
code str - region_
name str
- country
Code String - country
Name String - latitude Number
- longitude Number
- region
Code String - region
Name String
ClusterApacheCloudstackMachinePool, ClusterApacheCloudstackMachinePoolArgs
- Count double
- Number of nodes in the machine pool.
- Name string
- Name of the machine pool.
- Offering string
- Apache CloudStack compute offering (instance type/size) name.
- Additional
Labels Dictionary<string, string> - Additional labels to be applied to the machine pool. Labels must be in the form of
key:value. - Control
Plane bool - Whether this machine pool is a control plane. Defaults to
false. - Control
Plane boolAs Worker - Whether this machine pool is a control plane and a worker. Defaults to
false. - Instance
Configs List<ClusterApache Cloudstack Machine Pool Instance Config> - Instance configuration details returned by the CloudStack API. This is a computed field based on the selected offering.
- Max double
- Maximum number of nodes in the machine pool. This is used for autoscaling.
- Min double
- Minimum number of nodes in the machine pool. This is used for autoscaling.
- Networks
List<Cluster
Apache Cloudstack Machine Pool Network> - Network configuration for the machine pool instances.
- Node
Repave doubleInterval - Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is
0, Applicable only for worker pools. - Nodes
List<Cluster
Apache Cloudstack Machine Pool Node> - Taints
List<Cluster
Apache Cloudstack Machine Pool Taint> - Template
Cluster
Apache Cloudstack Machine Pool Template - Apache CloudStack template override for this machine pool. If not specified, inherits cluster default from profile.
- Update
Strategy string - Update strategy for the machine pool. Valid values are
RollingUpdateScaleOutandRollingUpdateScaleIn.
- Count float64
- Number of nodes in the machine pool.
- Name string
- Name of the machine pool.
- Offering string
- Apache CloudStack compute offering (instance type/size) name.
- Additional
Labels map[string]string - Additional labels to be applied to the machine pool. Labels must be in the form of
key:value. - Control
Plane bool - Whether this machine pool is a control plane. Defaults to
false. - Control
Plane boolAs Worker - Whether this machine pool is a control plane and a worker. Defaults to
false. - Instance
Configs []ClusterApache Cloudstack Machine Pool Instance Config - Instance configuration details returned by the CloudStack API. This is a computed field based on the selected offering.
- Max float64
- Maximum number of nodes in the machine pool. This is used for autoscaling.
- Min float64
- Minimum number of nodes in the machine pool. This is used for autoscaling.
- Networks
[]Cluster
Apache Cloudstack Machine Pool Network - Network configuration for the machine pool instances.
- Node
Repave float64Interval - Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is
0, Applicable only for worker pools. - Nodes
[]Cluster
Apache Cloudstack Machine Pool Node - Taints
[]Cluster
Apache Cloudstack Machine Pool Taint - Template
Cluster
Apache Cloudstack Machine Pool Template - Apache CloudStack template override for this machine pool. If not specified, inherits cluster default from profile.
- Update
Strategy string - Update strategy for the machine pool. Valid values are
RollingUpdateScaleOutandRollingUpdateScaleIn.
- count Double
- Number of nodes in the machine pool.
- name String
- Name of the machine pool.
- offering String
- Apache CloudStack compute offering (instance type/size) name.
- additional
Labels Map<String,String> - Additional labels to be applied to the machine pool. Labels must be in the form of
key:value. - control
Plane Boolean - Whether this machine pool is a control plane. Defaults to
false. - control
Plane BooleanAs Worker - Whether this machine pool is a control plane and a worker. Defaults to
false. - instance
Configs List<ClusterApache Cloudstack Machine Pool Instance Config> - Instance configuration details returned by the CloudStack API. This is a computed field based on the selected offering.
- max Double
- Maximum number of nodes in the machine pool. This is used for autoscaling.
- min Double
- Minimum number of nodes in the machine pool. This is used for autoscaling.
- networks
List<Cluster
Apache Cloudstack Machine Pool Network> - Network configuration for the machine pool instances.
- node
Repave DoubleInterval - Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is
0, Applicable only for worker pools. - nodes
List<Cluster
Apache Cloudstack Machine Pool Node> - taints
List<Cluster
Apache Cloudstack Machine Pool Taint> - template
Cluster
Apache Cloudstack Machine Pool Template - Apache CloudStack template override for this machine pool. If not specified, inherits cluster default from profile.
- update
Strategy String - Update strategy for the machine pool. Valid values are
RollingUpdateScaleOutandRollingUpdateScaleIn.
- count number
- Number of nodes in the machine pool.
- name string
- Name of the machine pool.
- offering string
- Apache CloudStack compute offering (instance type/size) name.
- additional
Labels {[key: string]: string} - Additional labels to be applied to the machine pool. Labels must be in the form of
key:value. - control
Plane boolean - Whether this machine pool is a control plane. Defaults to
false. - control
Plane booleanAs Worker - Whether this machine pool is a control plane and a worker. Defaults to
false. - instance
Configs ClusterApache Cloudstack Machine Pool Instance Config[] - Instance configuration details returned by the CloudStack API. This is a computed field based on the selected offering.
- max number
- Maximum number of nodes in the machine pool. This is used for autoscaling.
- min number
- Minimum number of nodes in the machine pool. This is used for autoscaling.
- networks
Cluster
Apache Cloudstack Machine Pool Network[] - Network configuration for the machine pool instances.
- node
Repave numberInterval - Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is
0, Applicable only for worker pools. - nodes
Cluster
Apache Cloudstack Machine Pool Node[] - taints
Cluster
Apache Cloudstack Machine Pool Taint[] - template
Cluster
Apache Cloudstack Machine Pool Template - Apache CloudStack template override for this machine pool. If not specified, inherits cluster default from profile.
- update
Strategy string - Update strategy for the machine pool. Valid values are
RollingUpdateScaleOutandRollingUpdateScaleIn.
- count float
- Number of nodes in the machine pool.
- name str
- Name of the machine pool.
- offering str
- Apache CloudStack compute offering (instance type/size) name.
- additional_
labels Mapping[str, str] - Additional labels to be applied to the machine pool. Labels must be in the form of
key:value. - control_
plane bool - Whether this machine pool is a control plane. Defaults to
false. - control_
plane_ boolas_ worker - Whether this machine pool is a control plane and a worker. Defaults to
false. - instance_
configs Sequence[ClusterApache Cloudstack Machine Pool Instance Config] - Instance configuration details returned by the CloudStack API. This is a computed field based on the selected offering.
- max float
- Maximum number of nodes in the machine pool. This is used for autoscaling.
- min float
- Minimum number of nodes in the machine pool. This is used for autoscaling.
- networks
Sequence[Cluster
Apache Cloudstack Machine Pool Network] - Network configuration for the machine pool instances.
- node_
repave_ floatinterval - Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is
0, Applicable only for worker pools. - nodes
Sequence[Cluster
Apache Cloudstack Machine Pool Node] - taints
Sequence[Cluster
Apache Cloudstack Machine Pool Taint] - template
Cluster
Apache Cloudstack Machine Pool Template - Apache CloudStack template override for this machine pool. If not specified, inherits cluster default from profile.
- update_
strategy str - Update strategy for the machine pool. Valid values are
RollingUpdateScaleOutandRollingUpdateScaleIn.
- count Number
- Number of nodes in the machine pool.
- name String
- Name of the machine pool.
- offering String
- Apache CloudStack compute offering (instance type/size) name.
- additional
Labels Map<String> - Additional labels to be applied to the machine pool. Labels must be in the form of
key:value. - control
Plane Boolean - Whether this machine pool is a control plane. Defaults to
false. - control
Plane BooleanAs Worker - Whether this machine pool is a control plane and a worker. Defaults to
false. - instance
Configs List<Property Map> - Instance configuration details returned by the CloudStack API. This is a computed field based on the selected offering.
- max Number
- Maximum number of nodes in the machine pool. This is used for autoscaling.
- min Number
- Minimum number of nodes in the machine pool. This is used for autoscaling.
- networks List<Property Map>
- Network configuration for the machine pool instances.
- node
Repave NumberInterval - Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is
0, Applicable only for worker pools. - nodes List<Property Map>
- taints List<Property Map>
- template Property Map
- Apache CloudStack template override for this machine pool. If not specified, inherits cluster default from profile.
- update
Strategy String - Update strategy for the machine pool. Valid values are
RollingUpdateScaleOutandRollingUpdateScaleIn.
ClusterApacheCloudstackMachinePoolInstanceConfig, ClusterApacheCloudstackMachinePoolInstanceConfigArgs
ClusterApacheCloudstackMachinePoolNetwork, ClusterApacheCloudstackMachinePoolNetworkArgs
- Network
Name string - Network name to attach to the machine pool.
- Ip
Address string - Static IP address to assign. DEPRECATED: This field is no longer supported by CloudStack and will be ignored.
- Network
Name string - Network name to attach to the machine pool.
- Ip
Address string - Static IP address to assign. DEPRECATED: This field is no longer supported by CloudStack and will be ignored.
- network
Name String - Network name to attach to the machine pool.
- ip
Address String - Static IP address to assign. DEPRECATED: This field is no longer supported by CloudStack and will be ignored.
- network
Name string - Network name to attach to the machine pool.
- ip
Address string - Static IP address to assign. DEPRECATED: This field is no longer supported by CloudStack and will be ignored.
- network_
name str - Network name to attach to the machine pool.
- ip_
address str - Static IP address to assign. DEPRECATED: This field is no longer supported by CloudStack and will be ignored.
- network
Name String - Network name to attach to the machine pool.
- ip
Address String - Static IP address to assign. DEPRECATED: This field is no longer supported by CloudStack and will be ignored.
ClusterApacheCloudstackMachinePoolNode, ClusterApacheCloudstackMachinePoolNodeArgs
ClusterApacheCloudstackMachinePoolTaint, ClusterApacheCloudstackMachinePoolTaintArgs
ClusterApacheCloudstackMachinePoolTemplate, ClusterApacheCloudstackMachinePoolTemplateArgs
ClusterApacheCloudstackNamespace, ClusterApacheCloudstackNamespaceArgs
- Name string
- Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
- Resource
Allocation Dictionary<string, string> - Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example,
{cpu_cores: '2', memory_MiB: '2048', gpu_limit: '1', gpu_provider: 'nvidia'}
- Name string
- Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
- Resource
Allocation map[string]string - Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example,
{cpu_cores: '2', memory_MiB: '2048', gpu_limit: '1', gpu_provider: 'nvidia'}
- name String
- Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
- resource
Allocation Map<String,String> - Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example,
{cpu_cores: '2', memory_MiB: '2048', gpu_limit: '1', gpu_provider: 'nvidia'}
- name string
- Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
- resource
Allocation {[key: string]: string} - Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example,
{cpu_cores: '2', memory_MiB: '2048', gpu_limit: '1', gpu_provider: 'nvidia'}
- name str
- Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
- resource_
allocation Mapping[str, str] - Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example,
{cpu_cores: '2', memory_MiB: '2048', gpu_limit: '1', gpu_provider: 'nvidia'}
- name String
- Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
- resource
Allocation Map<String> - Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example,
{cpu_cores: '2', memory_MiB: '2048', gpu_limit: '1', gpu_provider: 'nvidia'}
ClusterApacheCloudstackScanPolicy, ClusterApacheCloudstackScanPolicyArgs
- Configuration
Scan stringSchedule - The schedule for configuration scan.
- Conformance
Scan stringSchedule - The schedule for conformance scan.
- Penetration
Scan stringSchedule - The schedule for penetration scan.
- Configuration
Scan stringSchedule - The schedule for configuration scan.
- Conformance
Scan stringSchedule - The schedule for conformance scan.
- Penetration
Scan stringSchedule - The schedule for penetration scan.
- configuration
Scan StringSchedule - The schedule for configuration scan.
- conformance
Scan StringSchedule - The schedule for conformance scan.
- penetration
Scan StringSchedule - The schedule for penetration scan.
- configuration
Scan stringSchedule - The schedule for configuration scan.
- conformance
Scan stringSchedule - The schedule for conformance scan.
- penetration
Scan stringSchedule - The schedule for penetration scan.
- configuration_
scan_ strschedule - The schedule for configuration scan.
- conformance_
scan_ strschedule - The schedule for conformance scan.
- penetration_
scan_ strschedule - The schedule for penetration scan.
- configuration
Scan StringSchedule - The schedule for configuration scan.
- conformance
Scan StringSchedule - The schedule for conformance scan.
- penetration
Scan StringSchedule - The schedule for penetration scan.
ClusterApacheCloudstackTimeouts, ClusterApacheCloudstackTimeoutsArgs
Package Details
- Repository
- spectrocloud spectrocloud/terraform-provider-spectrocloud
- License
- Notes
- This Pulumi package is based on the
spectrocloudTerraform Provider.
