Register an existing Kubernetes cluster (brownfield) with Palette. This resource allows you to import and manage existing Kubernetes clusters. Supported cloud platforms: (AWS, Azure, GCP, vSphere, OpenShift, Generic, Apache CloudStack, Edge Native, MAAS, and OpenStack). This feature is currently in preview.
Preview Release: The
spectrocloud.ClusterBrownfieldresource provides the ability to import and register existing Kubernetes clusters across different cloud platforms (AWS, Azure, GCP, vSphere, OpenShift, Generic, Apache CloudStack, Edge Native, MAAS, and OpenStack) with Palette. This feature is currently in preview, and we are actively working on enhancements that will be released in future versions.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as spectrocloud from "@pulumi/spectrocloud";
const profile = spectrocloud.getClusterProfile({
name: clusterClusterProfileName,
});
const bsl = spectrocloud.getBackupStorageLocation({
name: backupStorageLocationName,
});
const cluster = new spectrocloud.ClusterBrownfield("cluster", {
name: clusterName,
cloudType: "generic",
context: "project",
importMode: "full",
description: "My existing Kubernetes cluster",
clusterTimezone: "America/New_York",
tags: [
"environment:production",
"team:platform",
"managed-by:terraform",
],
clusterProfiles: [{
id: profile.then(profile => profile.id),
}],
scanPolicy: {
configurationScanSchedule: "0 0 * * SUN",
penetrationScanSchedule: "0 0 * * SUN",
conformanceScanSchedule: "0 0 1 * *",
},
backupPolicy: {
schedule: "0 0 * * SUN",
backupLocationId: bsl.then(bsl => bsl.id),
prefix: "cluster-backup",
expiryInHour: 7200,
includeDisks: true,
includeClusterResources: true,
},
clusterRbacBindings: [{
type: "ClusterRoleBinding",
role: {
kind: "ClusterRole",
name: "cluster-admin",
},
subjects: [
{
type: "User",
name: "admin-user@example.com",
},
{
type: "Group",
name: "platform-admins",
},
{
type: "ServiceAccount",
name: "cluster-admin-sa",
namespace: "kube-system",
},
],
}],
namespaces: [{
name: "production",
resourceAllocation: {
cpu_cores: "4",
memory_MiB: "8192",
},
}],
machinePools: [{
name: "worker-pool",
nodes: [{
nodeName: "worker-node-1",
action: "uncordon",
}],
}],
});
export const manifestUrl = cluster.manifestUrl;
export const kubectlCommand = cluster.kubectlCommand;
import pulumi
import pulumi_spectrocloud as spectrocloud
profile = spectrocloud.get_cluster_profile(name=cluster_cluster_profile_name)
bsl = spectrocloud.get_backup_storage_location(name=backup_storage_location_name)
cluster = spectrocloud.ClusterBrownfield("cluster",
name=cluster_name,
cloud_type="generic",
context="project",
import_mode="full",
description="My existing Kubernetes cluster",
cluster_timezone="America/New_York",
tags=[
"environment:production",
"team:platform",
"managed-by:terraform",
],
cluster_profiles=[{
"id": profile.id,
}],
scan_policy={
"configuration_scan_schedule": "0 0 * * SUN",
"penetration_scan_schedule": "0 0 * * SUN",
"conformance_scan_schedule": "0 0 1 * *",
},
backup_policy={
"schedule": "0 0 * * SUN",
"backup_location_id": bsl.id,
"prefix": "cluster-backup",
"expiry_in_hour": 7200,
"include_disks": True,
"include_cluster_resources": True,
},
cluster_rbac_bindings=[{
"type": "ClusterRoleBinding",
"role": {
"kind": "ClusterRole",
"name": "cluster-admin",
},
"subjects": [
{
"type": "User",
"name": "admin-user@example.com",
},
{
"type": "Group",
"name": "platform-admins",
},
{
"type": "ServiceAccount",
"name": "cluster-admin-sa",
"namespace": "kube-system",
},
],
}],
namespaces=[{
"name": "production",
"resource_allocation": {
"cpu_cores": "4",
"memory_MiB": "8192",
},
}],
machine_pools=[{
"name": "worker-pool",
"nodes": [{
"node_name": "worker-node-1",
"action": "uncordon",
}],
}])
pulumi.export("manifestUrl", cluster.manifest_url)
pulumi.export("kubectlCommand", cluster.kubectl_command)
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 {
profile, err := spectrocloud.LookupClusterProfile(ctx, &spectrocloud.LookupClusterProfileArgs{
Name: pulumi.StringRef(clusterClusterProfileName),
}, nil)
if err != nil {
return err
}
bsl, err := spectrocloud.LookupBackupStorageLocation(ctx, &spectrocloud.LookupBackupStorageLocationArgs{
Name: pulumi.StringRef(backupStorageLocationName),
}, nil)
if err != nil {
return err
}
cluster, err := spectrocloud.NewClusterBrownfield(ctx, "cluster", &spectrocloud.ClusterBrownfieldArgs{
Name: pulumi.Any(clusterName),
CloudType: pulumi.String("generic"),
Context: pulumi.String("project"),
ImportMode: pulumi.String("full"),
Description: pulumi.String("My existing Kubernetes cluster"),
ClusterTimezone: pulumi.String("America/New_York"),
Tags: pulumi.StringArray{
pulumi.String("environment:production"),
pulumi.String("team:platform"),
pulumi.String("managed-by:terraform"),
},
ClusterProfiles: spectrocloud.ClusterBrownfieldClusterProfileArray{
&spectrocloud.ClusterBrownfieldClusterProfileArgs{
Id: pulumi.String(profile.Id),
},
},
ScanPolicy: &spectrocloud.ClusterBrownfieldScanPolicyArgs{
ConfigurationScanSchedule: pulumi.String("0 0 * * SUN"),
PenetrationScanSchedule: pulumi.String("0 0 * * SUN"),
ConformanceScanSchedule: pulumi.String("0 0 1 * *"),
},
BackupPolicy: &spectrocloud.ClusterBrownfieldBackupPolicyArgs{
Schedule: pulumi.String("0 0 * * SUN"),
BackupLocationId: pulumi.String(bsl.Id),
Prefix: pulumi.String("cluster-backup"),
ExpiryInHour: pulumi.Float64(7200),
IncludeDisks: pulumi.Bool(true),
IncludeClusterResources: pulumi.Bool(true),
},
ClusterRbacBindings: spectrocloud.ClusterBrownfieldClusterRbacBindingArray{
&spectrocloud.ClusterBrownfieldClusterRbacBindingArgs{
Type: pulumi.String("ClusterRoleBinding"),
Role: pulumi.StringMap{
"kind": pulumi.String("ClusterRole"),
"name": pulumi.String("cluster-admin"),
},
Subjects: spectrocloud.ClusterBrownfieldClusterRbacBindingSubjectArray{
&spectrocloud.ClusterBrownfieldClusterRbacBindingSubjectArgs{
Type: pulumi.String("User"),
Name: pulumi.String("admin-user@example.com"),
},
&spectrocloud.ClusterBrownfieldClusterRbacBindingSubjectArgs{
Type: pulumi.String("Group"),
Name: pulumi.String("platform-admins"),
},
&spectrocloud.ClusterBrownfieldClusterRbacBindingSubjectArgs{
Type: pulumi.String("ServiceAccount"),
Name: pulumi.String("cluster-admin-sa"),
Namespace: pulumi.String("kube-system"),
},
},
},
},
Namespaces: spectrocloud.ClusterBrownfieldNamespaceArray{
&spectrocloud.ClusterBrownfieldNamespaceArgs{
Name: pulumi.String("production"),
ResourceAllocation: pulumi.StringMap{
"cpu_cores": pulumi.String("4"),
"memory_MiB": pulumi.String("8192"),
},
},
},
MachinePools: spectrocloud.ClusterBrownfieldMachinePoolArray{
&spectrocloud.ClusterBrownfieldMachinePoolArgs{
Name: pulumi.String("worker-pool"),
Nodes: spectrocloud.ClusterBrownfieldMachinePoolNodeArray{
&spectrocloud.ClusterBrownfieldMachinePoolNodeArgs{
NodeName: pulumi.String("worker-node-1"),
Action: pulumi.String("uncordon"),
},
},
},
},
})
if err != nil {
return err
}
ctx.Export("manifestUrl", cluster.ManifestUrl)
ctx.Export("kubectlCommand", cluster.KubectlCommand)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Spectrocloud = Pulumi.Spectrocloud;
return await Deployment.RunAsync(() =>
{
var profile = Spectrocloud.GetClusterProfile.Invoke(new()
{
Name = clusterClusterProfileName,
});
var bsl = Spectrocloud.GetBackupStorageLocation.Invoke(new()
{
Name = backupStorageLocationName,
});
var cluster = new Spectrocloud.ClusterBrownfield("cluster", new()
{
Name = clusterName,
CloudType = "generic",
Context = "project",
ImportMode = "full",
Description = "My existing Kubernetes cluster",
ClusterTimezone = "America/New_York",
Tags = new[]
{
"environment:production",
"team:platform",
"managed-by:terraform",
},
ClusterProfiles = new[]
{
new Spectrocloud.Inputs.ClusterBrownfieldClusterProfileArgs
{
Id = profile.Apply(getClusterProfileResult => getClusterProfileResult.Id),
},
},
ScanPolicy = new Spectrocloud.Inputs.ClusterBrownfieldScanPolicyArgs
{
ConfigurationScanSchedule = "0 0 * * SUN",
PenetrationScanSchedule = "0 0 * * SUN",
ConformanceScanSchedule = "0 0 1 * *",
},
BackupPolicy = new Spectrocloud.Inputs.ClusterBrownfieldBackupPolicyArgs
{
Schedule = "0 0 * * SUN",
BackupLocationId = bsl.Apply(getBackupStorageLocationResult => getBackupStorageLocationResult.Id),
Prefix = "cluster-backup",
ExpiryInHour = 7200,
IncludeDisks = true,
IncludeClusterResources = true,
},
ClusterRbacBindings = new[]
{
new Spectrocloud.Inputs.ClusterBrownfieldClusterRbacBindingArgs
{
Type = "ClusterRoleBinding",
Role =
{
{ "kind", "ClusterRole" },
{ "name", "cluster-admin" },
},
Subjects = new[]
{
new Spectrocloud.Inputs.ClusterBrownfieldClusterRbacBindingSubjectArgs
{
Type = "User",
Name = "admin-user@example.com",
},
new Spectrocloud.Inputs.ClusterBrownfieldClusterRbacBindingSubjectArgs
{
Type = "Group",
Name = "platform-admins",
},
new Spectrocloud.Inputs.ClusterBrownfieldClusterRbacBindingSubjectArgs
{
Type = "ServiceAccount",
Name = "cluster-admin-sa",
Namespace = "kube-system",
},
},
},
},
Namespaces = new[]
{
new Spectrocloud.Inputs.ClusterBrownfieldNamespaceArgs
{
Name = "production",
ResourceAllocation =
{
{ "cpu_cores", "4" },
{ "memory_MiB", "8192" },
},
},
},
MachinePools = new[]
{
new Spectrocloud.Inputs.ClusterBrownfieldMachinePoolArgs
{
Name = "worker-pool",
Nodes = new[]
{
new Spectrocloud.Inputs.ClusterBrownfieldMachinePoolNodeArgs
{
NodeName = "worker-node-1",
Action = "uncordon",
},
},
},
},
});
return new Dictionary<string, object?>
{
["manifestUrl"] = cluster.ManifestUrl,
["kubectlCommand"] = cluster.KubectlCommand,
};
});
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.GetClusterProfileArgs;
import com.pulumi.spectrocloud.inputs.GetBackupStorageLocationArgs;
import com.pulumi.spectrocloud.ClusterBrownfield;
import com.pulumi.spectrocloud.ClusterBrownfieldArgs;
import com.pulumi.spectrocloud.inputs.ClusterBrownfieldClusterProfileArgs;
import com.pulumi.spectrocloud.inputs.ClusterBrownfieldScanPolicyArgs;
import com.pulumi.spectrocloud.inputs.ClusterBrownfieldBackupPolicyArgs;
import com.pulumi.spectrocloud.inputs.ClusterBrownfieldClusterRbacBindingArgs;
import com.pulumi.spectrocloud.inputs.ClusterBrownfieldNamespaceArgs;
import com.pulumi.spectrocloud.inputs.ClusterBrownfieldMachinePoolArgs;
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 profile = SpectrocloudFunctions.getClusterProfile(GetClusterProfileArgs.builder()
.name(clusterClusterProfileName)
.build());
final var bsl = SpectrocloudFunctions.getBackupStorageLocation(GetBackupStorageLocationArgs.builder()
.name(backupStorageLocationName)
.build());
var cluster = new ClusterBrownfield("cluster", ClusterBrownfieldArgs.builder()
.name(clusterName)
.cloudType("generic")
.context("project")
.importMode("full")
.description("My existing Kubernetes cluster")
.clusterTimezone("America/New_York")
.tags(
"environment:production",
"team:platform",
"managed-by:terraform")
.clusterProfiles(ClusterBrownfieldClusterProfileArgs.builder()
.id(profile.id())
.build())
.scanPolicy(ClusterBrownfieldScanPolicyArgs.builder()
.configurationScanSchedule("0 0 * * SUN")
.penetrationScanSchedule("0 0 * * SUN")
.conformanceScanSchedule("0 0 1 * *")
.build())
.backupPolicy(ClusterBrownfieldBackupPolicyArgs.builder()
.schedule("0 0 * * SUN")
.backupLocationId(bsl.id())
.prefix("cluster-backup")
.expiryInHour(7200.0)
.includeDisks(true)
.includeClusterResources(true)
.build())
.clusterRbacBindings(ClusterBrownfieldClusterRbacBindingArgs.builder()
.type("ClusterRoleBinding")
.role(Map.ofEntries(
Map.entry("kind", "ClusterRole"),
Map.entry("name", "cluster-admin")
))
.subjects(
ClusterBrownfieldClusterRbacBindingSubjectArgs.builder()
.type("User")
.name("admin-user@example.com")
.build(),
ClusterBrownfieldClusterRbacBindingSubjectArgs.builder()
.type("Group")
.name("platform-admins")
.build(),
ClusterBrownfieldClusterRbacBindingSubjectArgs.builder()
.type("ServiceAccount")
.name("cluster-admin-sa")
.namespace("kube-system")
.build())
.build())
.namespaces(ClusterBrownfieldNamespaceArgs.builder()
.name("production")
.resourceAllocation(Map.ofEntries(
Map.entry("cpu_cores", "4"),
Map.entry("memory_MiB", "8192")
))
.build())
.machinePools(ClusterBrownfieldMachinePoolArgs.builder()
.name("worker-pool")
.nodes(ClusterBrownfieldMachinePoolNodeArgs.builder()
.nodeName("worker-node-1")
.action("uncordon")
.build())
.build())
.build());
ctx.export("manifestUrl", cluster.manifestUrl());
ctx.export("kubectlCommand", cluster.kubectlCommand());
}
}
resources:
cluster:
type: spectrocloud:ClusterBrownfield
properties:
name: ${clusterName}
cloudType: generic
context: project
importMode: full
description: My existing Kubernetes cluster
clusterTimezone: America/New_York
tags:
- environment:production
- team:platform
- managed-by:terraform
clusterProfiles:
- id: ${profile.id}
scanPolicy:
configurationScanSchedule: 0 0 * * SUN
penetrationScanSchedule: 0 0 * * SUN
conformanceScanSchedule: 0 0 1 * *
backupPolicy:
schedule: 0 0 * * SUN
backupLocationId: ${bsl.id}
prefix: cluster-backup
expiryInHour: 7200
includeDisks: true
includeClusterResources: true
clusterRbacBindings:
- type: ClusterRoleBinding
role:
kind: ClusterRole
name: cluster-admin
subjects:
- type: User
name: admin-user@example.com
- type: Group
name: platform-admins
- type: ServiceAccount
name: cluster-admin-sa
namespace: kube-system
namespaces:
- name: production
resourceAllocation:
cpu_cores: '4'
memory_MiB: '8192'
machinePools:
- name: worker-pool
nodes:
- nodeName: worker-node-1
action: uncordon
variables:
profile:
fn::invoke:
function: spectrocloud:getClusterProfile
arguments:
name: ${clusterClusterProfileName}
bsl:
fn::invoke:
function: spectrocloud:getBackupStorageLocation
arguments:
name: ${backupStorageLocationName}
outputs:
# Output the manifest URL and kubectl command for easy access
manifestUrl: ${cluster.manifestUrl}
kubectlCommand: ${cluster.kubectlCommand}
Create ClusterBrownfield Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ClusterBrownfield(name: string, args: ClusterBrownfieldArgs, opts?: CustomResourceOptions);@overload
def ClusterBrownfield(resource_name: str,
args: ClusterBrownfieldArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ClusterBrownfield(resource_name: str,
opts: Optional[ResourceOptions] = None,
cloud_type: Optional[str] = None,
host_configs: Optional[Sequence[ClusterBrownfieldHostConfigArgs]] = None,
scan_policy: Optional[ClusterBrownfieldScanPolicyArgs] = None,
cluster_brownfield_id: Optional[str] = None,
cluster_profiles: Optional[Sequence[ClusterBrownfieldClusterProfileArgs]] = None,
cluster_rbac_bindings: Optional[Sequence[ClusterBrownfieldClusterRbacBindingArgs]] = None,
cluster_timezone: Optional[str] = None,
container_mount_path: Optional[str] = None,
context: Optional[str] = None,
description: Optional[str] = None,
force_delete: Optional[bool] = None,
force_delete_delay: Optional[float] = None,
apply_setting: Optional[str] = None,
backup_policy: Optional[ClusterBrownfieldBackupPolicyArgs] = None,
machine_pools: Optional[Sequence[ClusterBrownfieldMachinePoolArgs]] = None,
host_path: Optional[str] = None,
name: Optional[str] = None,
namespaces: Optional[Sequence[ClusterBrownfieldNamespaceArgs]] = None,
no_proxy: Optional[str] = None,
pause_agent_upgrades: Optional[str] = None,
proxy: Optional[str] = None,
review_repave_state: Optional[str] = None,
import_mode: Optional[str] = None,
skip_completion: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[ClusterBrownfieldTimeoutsArgs] = None)func NewClusterBrownfield(ctx *Context, name string, args ClusterBrownfieldArgs, opts ...ResourceOption) (*ClusterBrownfield, error)public ClusterBrownfield(string name, ClusterBrownfieldArgs args, CustomResourceOptions? opts = null)
public ClusterBrownfield(String name, ClusterBrownfieldArgs args)
public ClusterBrownfield(String name, ClusterBrownfieldArgs args, CustomResourceOptions options)
type: spectrocloud:ClusterBrownfield
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 ClusterBrownfieldArgs
- 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 ClusterBrownfieldArgs
- 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 ClusterBrownfieldArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterBrownfieldArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterBrownfieldArgs
- 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 clusterBrownfieldResource = new Spectrocloud.ClusterBrownfield("clusterBrownfieldResource", new()
{
CloudType = "string",
HostConfigs = new[]
{
new Spectrocloud.Inputs.ClusterBrownfieldHostConfigArgs
{
ExternalTrafficPolicy = "string",
HostEndpointType = "string",
IngressHost = "string",
LoadBalancerSourceRanges = "string",
},
},
ScanPolicy = new Spectrocloud.Inputs.ClusterBrownfieldScanPolicyArgs
{
ConfigurationScanSchedule = "string",
ConformanceScanSchedule = "string",
PenetrationScanSchedule = "string",
},
ClusterBrownfieldId = "string",
ClusterProfiles = new[]
{
new Spectrocloud.Inputs.ClusterBrownfieldClusterProfileArgs
{
Id = "string",
Packs = new[]
{
new Spectrocloud.Inputs.ClusterBrownfieldClusterProfilePackArgs
{
Name = "string",
Manifests = new[]
{
new Spectrocloud.Inputs.ClusterBrownfieldClusterProfilePackManifestArgs
{
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.ClusterBrownfieldClusterRbacBindingArgs
{
Type = "string",
Namespace = "string",
Role =
{
{ "string", "string" },
},
Subjects = new[]
{
new Spectrocloud.Inputs.ClusterBrownfieldClusterRbacBindingSubjectArgs
{
Name = "string",
Type = "string",
Namespace = "string",
},
},
},
},
ClusterTimezone = "string",
ContainerMountPath = "string",
Context = "string",
Description = "string",
ForceDelete = false,
ForceDeleteDelay = 0,
ApplySetting = "string",
BackupPolicy = new Spectrocloud.Inputs.ClusterBrownfieldBackupPolicyArgs
{
BackupLocationId = "string",
ExpiryInHour = 0,
Prefix = "string",
Schedule = "string",
ClusterUids = new[]
{
"string",
},
IncludeAllClusters = false,
IncludeClusterResources = false,
IncludeClusterResourcesMode = "string",
IncludeDisks = false,
Namespaces = new[]
{
"string",
},
},
MachinePools = new[]
{
new Spectrocloud.Inputs.ClusterBrownfieldMachinePoolArgs
{
Name = "string",
Nodes = new[]
{
new Spectrocloud.Inputs.ClusterBrownfieldMachinePoolNodeArgs
{
Action = "string",
NodeId = "string",
NodeName = "string",
},
},
},
},
HostPath = "string",
Name = "string",
Namespaces = new[]
{
new Spectrocloud.Inputs.ClusterBrownfieldNamespaceArgs
{
Name = "string",
ResourceAllocation =
{
{ "string", "string" },
},
},
},
NoProxy = "string",
PauseAgentUpgrades = "string",
Proxy = "string",
ReviewRepaveState = "string",
ImportMode = "string",
SkipCompletion = false,
Tags = new[]
{
"string",
},
Timeouts = new Spectrocloud.Inputs.ClusterBrownfieldTimeoutsArgs
{
Create = "string",
Delete = "string",
Read = "string",
Update = "string",
},
});
example, err := spectrocloud.NewClusterBrownfield(ctx, "clusterBrownfieldResource", &spectrocloud.ClusterBrownfieldArgs{
CloudType: pulumi.String("string"),
HostConfigs: spectrocloud.ClusterBrownfieldHostConfigArray{
&spectrocloud.ClusterBrownfieldHostConfigArgs{
ExternalTrafficPolicy: pulumi.String("string"),
HostEndpointType: pulumi.String("string"),
IngressHost: pulumi.String("string"),
LoadBalancerSourceRanges: pulumi.String("string"),
},
},
ScanPolicy: &spectrocloud.ClusterBrownfieldScanPolicyArgs{
ConfigurationScanSchedule: pulumi.String("string"),
ConformanceScanSchedule: pulumi.String("string"),
PenetrationScanSchedule: pulumi.String("string"),
},
ClusterBrownfieldId: pulumi.String("string"),
ClusterProfiles: spectrocloud.ClusterBrownfieldClusterProfileArray{
&spectrocloud.ClusterBrownfieldClusterProfileArgs{
Id: pulumi.String("string"),
Packs: spectrocloud.ClusterBrownfieldClusterProfilePackArray{
&spectrocloud.ClusterBrownfieldClusterProfilePackArgs{
Name: pulumi.String("string"),
Manifests: spectrocloud.ClusterBrownfieldClusterProfilePackManifestArray{
&spectrocloud.ClusterBrownfieldClusterProfilePackManifestArgs{
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.ClusterBrownfieldClusterRbacBindingArray{
&spectrocloud.ClusterBrownfieldClusterRbacBindingArgs{
Type: pulumi.String("string"),
Namespace: pulumi.String("string"),
Role: pulumi.StringMap{
"string": pulumi.String("string"),
},
Subjects: spectrocloud.ClusterBrownfieldClusterRbacBindingSubjectArray{
&spectrocloud.ClusterBrownfieldClusterRbacBindingSubjectArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Namespace: pulumi.String("string"),
},
},
},
},
ClusterTimezone: pulumi.String("string"),
ContainerMountPath: pulumi.String("string"),
Context: pulumi.String("string"),
Description: pulumi.String("string"),
ForceDelete: pulumi.Bool(false),
ForceDeleteDelay: pulumi.Float64(0),
ApplySetting: pulumi.String("string"),
BackupPolicy: &spectrocloud.ClusterBrownfieldBackupPolicyArgs{
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"),
},
},
MachinePools: spectrocloud.ClusterBrownfieldMachinePoolArray{
&spectrocloud.ClusterBrownfieldMachinePoolArgs{
Name: pulumi.String("string"),
Nodes: spectrocloud.ClusterBrownfieldMachinePoolNodeArray{
&spectrocloud.ClusterBrownfieldMachinePoolNodeArgs{
Action: pulumi.String("string"),
NodeId: pulumi.String("string"),
NodeName: pulumi.String("string"),
},
},
},
},
HostPath: pulumi.String("string"),
Name: pulumi.String("string"),
Namespaces: spectrocloud.ClusterBrownfieldNamespaceArray{
&spectrocloud.ClusterBrownfieldNamespaceArgs{
Name: pulumi.String("string"),
ResourceAllocation: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
NoProxy: pulumi.String("string"),
PauseAgentUpgrades: pulumi.String("string"),
Proxy: pulumi.String("string"),
ReviewRepaveState: pulumi.String("string"),
ImportMode: pulumi.String("string"),
SkipCompletion: pulumi.Bool(false),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &spectrocloud.ClusterBrownfieldTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var clusterBrownfieldResource = new ClusterBrownfield("clusterBrownfieldResource", ClusterBrownfieldArgs.builder()
.cloudType("string")
.hostConfigs(ClusterBrownfieldHostConfigArgs.builder()
.externalTrafficPolicy("string")
.hostEndpointType("string")
.ingressHost("string")
.loadBalancerSourceRanges("string")
.build())
.scanPolicy(ClusterBrownfieldScanPolicyArgs.builder()
.configurationScanSchedule("string")
.conformanceScanSchedule("string")
.penetrationScanSchedule("string")
.build())
.clusterBrownfieldId("string")
.clusterProfiles(ClusterBrownfieldClusterProfileArgs.builder()
.id("string")
.packs(ClusterBrownfieldClusterProfilePackArgs.builder()
.name("string")
.manifests(ClusterBrownfieldClusterProfilePackManifestArgs.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(ClusterBrownfieldClusterRbacBindingArgs.builder()
.type("string")
.namespace("string")
.role(Map.of("string", "string"))
.subjects(ClusterBrownfieldClusterRbacBindingSubjectArgs.builder()
.name("string")
.type("string")
.namespace("string")
.build())
.build())
.clusterTimezone("string")
.containerMountPath("string")
.context("string")
.description("string")
.forceDelete(false)
.forceDeleteDelay(0.0)
.applySetting("string")
.backupPolicy(ClusterBrownfieldBackupPolicyArgs.builder()
.backupLocationId("string")
.expiryInHour(0.0)
.prefix("string")
.schedule("string")
.clusterUids("string")
.includeAllClusters(false)
.includeClusterResources(false)
.includeClusterResourcesMode("string")
.includeDisks(false)
.namespaces("string")
.build())
.machinePools(ClusterBrownfieldMachinePoolArgs.builder()
.name("string")
.nodes(ClusterBrownfieldMachinePoolNodeArgs.builder()
.action("string")
.nodeId("string")
.nodeName("string")
.build())
.build())
.hostPath("string")
.name("string")
.namespaces(ClusterBrownfieldNamespaceArgs.builder()
.name("string")
.resourceAllocation(Map.of("string", "string"))
.build())
.noProxy("string")
.pauseAgentUpgrades("string")
.proxy("string")
.reviewRepaveState("string")
.importMode("string")
.skipCompletion(false)
.tags("string")
.timeouts(ClusterBrownfieldTimeoutsArgs.builder()
.create("string")
.delete("string")
.read("string")
.update("string")
.build())
.build());
cluster_brownfield_resource = spectrocloud.ClusterBrownfield("clusterBrownfieldResource",
cloud_type="string",
host_configs=[{
"external_traffic_policy": "string",
"host_endpoint_type": "string",
"ingress_host": "string",
"load_balancer_source_ranges": "string",
}],
scan_policy={
"configuration_scan_schedule": "string",
"conformance_scan_schedule": "string",
"penetration_scan_schedule": "string",
},
cluster_brownfield_id="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_timezone="string",
container_mount_path="string",
context="string",
description="string",
force_delete=False,
force_delete_delay=0,
apply_setting="string",
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"],
},
machine_pools=[{
"name": "string",
"nodes": [{
"action": "string",
"node_id": "string",
"node_name": "string",
}],
}],
host_path="string",
name="string",
namespaces=[{
"name": "string",
"resource_allocation": {
"string": "string",
},
}],
no_proxy="string",
pause_agent_upgrades="string",
proxy="string",
review_repave_state="string",
import_mode="string",
skip_completion=False,
tags=["string"],
timeouts={
"create": "string",
"delete": "string",
"read": "string",
"update": "string",
})
const clusterBrownfieldResource = new spectrocloud.ClusterBrownfield("clusterBrownfieldResource", {
cloudType: "string",
hostConfigs: [{
externalTrafficPolicy: "string",
hostEndpointType: "string",
ingressHost: "string",
loadBalancerSourceRanges: "string",
}],
scanPolicy: {
configurationScanSchedule: "string",
conformanceScanSchedule: "string",
penetrationScanSchedule: "string",
},
clusterBrownfieldId: "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",
}],
}],
clusterTimezone: "string",
containerMountPath: "string",
context: "string",
description: "string",
forceDelete: false,
forceDeleteDelay: 0,
applySetting: "string",
backupPolicy: {
backupLocationId: "string",
expiryInHour: 0,
prefix: "string",
schedule: "string",
clusterUids: ["string"],
includeAllClusters: false,
includeClusterResources: false,
includeClusterResourcesMode: "string",
includeDisks: false,
namespaces: ["string"],
},
machinePools: [{
name: "string",
nodes: [{
action: "string",
nodeId: "string",
nodeName: "string",
}],
}],
hostPath: "string",
name: "string",
namespaces: [{
name: "string",
resourceAllocation: {
string: "string",
},
}],
noProxy: "string",
pauseAgentUpgrades: "string",
proxy: "string",
reviewRepaveState: "string",
importMode: "string",
skipCompletion: false,
tags: ["string"],
timeouts: {
create: "string",
"delete": "string",
read: "string",
update: "string",
},
});
type: spectrocloud:ClusterBrownfield
properties:
applySetting: string
backupPolicy:
backupLocationId: string
clusterUids:
- string
expiryInHour: 0
includeAllClusters: false
includeClusterResources: false
includeClusterResourcesMode: string
includeDisks: false
namespaces:
- string
prefix: string
schedule: string
cloudType: string
clusterBrownfieldId: 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
clusterTimezone: string
containerMountPath: string
context: string
description: string
forceDelete: false
forceDeleteDelay: 0
hostConfigs:
- externalTrafficPolicy: string
hostEndpointType: string
ingressHost: string
loadBalancerSourceRanges: string
hostPath: string
importMode: string
machinePools:
- name: string
nodes:
- action: string
nodeId: string
nodeName: string
name: string
namespaces:
- name: string
resourceAllocation:
string: string
noProxy: string
pauseAgentUpgrades: string
proxy: string
reviewRepaveState: string
scanPolicy:
configurationScanSchedule: string
conformanceScanSchedule: string
penetrationScanSchedule: string
skipCompletion: false
tags:
- string
timeouts:
create: string
delete: string
read: string
update: string
ClusterBrownfield 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 ClusterBrownfield resource accepts the following input properties:
- Cloud
Type string - The cloud type of the cluster. Supported values:
aws,eks-anywhere,azure,gcp,vsphere,openshift,generic,apache-cloudstack,edge-native,maas,openstack. This field cannot be updated after creation. - 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 ClusterBrownfield Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- Cluster
Brownfield stringId - The ID of this resource.
- Cluster
Profiles List<ClusterBrownfield Cluster Profile> - Cluster
Rbac List<ClusterBindings Brownfield Cluster Rbac Binding> - The RBAC binding for the cluster.
- Cluster
Timezone string - Defines the time zone used by this cluster to interpret scheduled operations. Maintenance tasks like upgrades will follow this time zone to ensure they run at the appropriate local time for the cluster. Must be in IANA timezone format (e.g., 'America/New_York', 'Asia/Kolkata', 'Europe/London').
- Container
Mount stringPath - Location to mount Proxy CA cert inside container. This is the file path inside the container where the Proxy CA certificate will be mounted. This field cannot be updated after creation.
- Context string
- The context for the cluster registration. Allowed values are
projectortenant. Defaults toproject. This field cannot be updated after creation.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<ClusterBrownfield Host Config> - The host configuration for the cluster.
- Host
Path string - Location for Proxy CA cert on host nodes. This is the file path on the host where the Proxy CA certificate is stored. This field cannot be updated after creation.
- Import
Mode string - The import mode for the cluster. Allowed values are
read_only(imports cluster with read-only permissions) orfull(imports cluster with full permissions). Defaults tofull. This field cannot be updated after creation. - Machine
Pools List<ClusterBrownfield Machine Pool> - Machine pool configuration for Day-2 node maintenance operations. Used to perform node actions like cordon/uncordon on specific nodes.
- Name string
- The name of the cluster to be registered. This field cannot be updated after creation.
- Namespaces
List<Cluster
Brownfield Namespace> - The namespaces for the cluster.
- No
Proxy string - Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- 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. - Proxy string
- Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- Review
Repave stringState - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - Scan
Policy ClusterBrownfield 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. Thetagsattribute will soon be deprecated. It is recommended to usetags_mapinstead. - Timeouts
Cluster
Brownfield Timeouts
- Cloud
Type string - The cloud type of the cluster. Supported values:
aws,eks-anywhere,azure,gcp,vsphere,openshift,generic,apache-cloudstack,edge-native,maas,openstack. This field cannot be updated after creation. - 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 ClusterBrownfield Backup Policy Args - The backup policy for the cluster. If not specified, no backups will be taken.
- Cluster
Brownfield stringId - The ID of this resource.
- Cluster
Profiles []ClusterBrownfield Cluster Profile Args - Cluster
Rbac []ClusterBindings Brownfield Cluster Rbac Binding Args - The RBAC binding for the cluster.
- Cluster
Timezone string - Defines the time zone used by this cluster to interpret scheduled operations. Maintenance tasks like upgrades will follow this time zone to ensure they run at the appropriate local time for the cluster. Must be in IANA timezone format (e.g., 'America/New_York', 'Asia/Kolkata', 'Europe/London').
- Container
Mount stringPath - Location to mount Proxy CA cert inside container. This is the file path inside the container where the Proxy CA certificate will be mounted. This field cannot be updated after creation.
- Context string
- The context for the cluster registration. Allowed values are
projectortenant. Defaults toproject. This field cannot be updated after creation.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 []ClusterBrownfield Host Config Args - The host configuration for the cluster.
- Host
Path string - Location for Proxy CA cert on host nodes. This is the file path on the host where the Proxy CA certificate is stored. This field cannot be updated after creation.
- Import
Mode string - The import mode for the cluster. Allowed values are
read_only(imports cluster with read-only permissions) orfull(imports cluster with full permissions). Defaults tofull. This field cannot be updated after creation. - Machine
Pools []ClusterBrownfield Machine Pool Args - Machine pool configuration for Day-2 node maintenance operations. Used to perform node actions like cordon/uncordon on specific nodes.
- Name string
- The name of the cluster to be registered. This field cannot be updated after creation.
- Namespaces
[]Cluster
Brownfield Namespace Args - The namespaces for the cluster.
- No
Proxy string - Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- 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. - Proxy string
- Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- Review
Repave stringState - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - Scan
Policy ClusterBrownfield 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. Thetagsattribute will soon be deprecated. It is recommended to usetags_mapinstead. - Timeouts
Cluster
Brownfield Timeouts Args
- cloud
Type String - The cloud type of the cluster. Supported values:
aws,eks-anywhere,azure,gcp,vsphere,openshift,generic,apache-cloudstack,edge-native,maas,openstack. This field cannot be updated after creation. - 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 ClusterBrownfield Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- cluster
Brownfield StringId - The ID of this resource.
- cluster
Profiles List<ClusterBrownfield Cluster Profile> - cluster
Rbac List<ClusterBindings Brownfield Cluster Rbac Binding> - The RBAC binding for the cluster.
- cluster
Timezone String - Defines the time zone used by this cluster to interpret scheduled operations. Maintenance tasks like upgrades will follow this time zone to ensure they run at the appropriate local time for the cluster. Must be in IANA timezone format (e.g., 'America/New_York', 'Asia/Kolkata', 'Europe/London').
- container
Mount StringPath - Location to mount Proxy CA cert inside container. This is the file path inside the container where the Proxy CA certificate will be mounted. This field cannot be updated after creation.
- context String
- The context for the cluster registration. Allowed values are
projectortenant. Defaults toproject. This field cannot be updated after creation.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<ClusterBrownfield Host Config> - The host configuration for the cluster.
- host
Path String - Location for Proxy CA cert on host nodes. This is the file path on the host where the Proxy CA certificate is stored. This field cannot be updated after creation.
- import
Mode String - The import mode for the cluster. Allowed values are
read_only(imports cluster with read-only permissions) orfull(imports cluster with full permissions). Defaults tofull. This field cannot be updated after creation. - machine
Pools List<ClusterBrownfield Machine Pool> - Machine pool configuration for Day-2 node maintenance operations. Used to perform node actions like cordon/uncordon on specific nodes.
- name String
- The name of the cluster to be registered. This field cannot be updated after creation.
- namespaces
List<Cluster
Brownfield Namespace> - The namespaces for the cluster.
- no
Proxy String - Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- 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. - proxy String
- Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- review
Repave StringState - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - scan
Policy ClusterBrownfield 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. Thetagsattribute will soon be deprecated. It is recommended to usetags_mapinstead. - timeouts
Cluster
Brownfield Timeouts
- cloud
Type string - The cloud type of the cluster. Supported values:
aws,eks-anywhere,azure,gcp,vsphere,openshift,generic,apache-cloudstack,edge-native,maas,openstack. This field cannot be updated after creation. - 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 ClusterBrownfield Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- cluster
Brownfield stringId - The ID of this resource.
- cluster
Profiles ClusterBrownfield Cluster Profile[] - cluster
Rbac ClusterBindings Brownfield Cluster Rbac Binding[] - The RBAC binding for the cluster.
- cluster
Timezone string - Defines the time zone used by this cluster to interpret scheduled operations. Maintenance tasks like upgrades will follow this time zone to ensure they run at the appropriate local time for the cluster. Must be in IANA timezone format (e.g., 'America/New_York', 'Asia/Kolkata', 'Europe/London').
- container
Mount stringPath - Location to mount Proxy CA cert inside container. This is the file path inside the container where the Proxy CA certificate will be mounted. This field cannot be updated after creation.
- context string
- The context for the cluster registration. Allowed values are
projectortenant. Defaults toproject. This field cannot be updated after creation.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 ClusterBrownfield Host Config[] - The host configuration for the cluster.
- host
Path string - Location for Proxy CA cert on host nodes. This is the file path on the host where the Proxy CA certificate is stored. This field cannot be updated after creation.
- import
Mode string - The import mode for the cluster. Allowed values are
read_only(imports cluster with read-only permissions) orfull(imports cluster with full permissions). Defaults tofull. This field cannot be updated after creation. - machine
Pools ClusterBrownfield Machine Pool[] - Machine pool configuration for Day-2 node maintenance operations. Used to perform node actions like cordon/uncordon on specific nodes.
- name string
- The name of the cluster to be registered. This field cannot be updated after creation.
- namespaces
Cluster
Brownfield Namespace[] - The namespaces for the cluster.
- no
Proxy string - Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- 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. - proxy string
- Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- review
Repave stringState - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - scan
Policy ClusterBrownfield 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. Thetagsattribute will soon be deprecated. It is recommended to usetags_mapinstead. - timeouts
Cluster
Brownfield Timeouts
- cloud_
type str - The cloud type of the cluster. Supported values:
aws,eks-anywhere,azure,gcp,vsphere,openshift,generic,apache-cloudstack,edge-native,maas,openstack. This field cannot be updated after creation. - 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 ClusterBrownfield Backup Policy Args - The backup policy for the cluster. If not specified, no backups will be taken.
- cluster_
brownfield_ strid - The ID of this resource.
- cluster_
profiles Sequence[ClusterBrownfield Cluster Profile Args] - cluster_
rbac_ Sequence[Clusterbindings Brownfield Cluster Rbac Binding Args] - The RBAC binding for the cluster.
- cluster_
timezone str - Defines the time zone used by this cluster to interpret scheduled operations. Maintenance tasks like upgrades will follow this time zone to ensure they run at the appropriate local time for the cluster. Must be in IANA timezone format (e.g., 'America/New_York', 'Asia/Kolkata', 'Europe/London').
- container_
mount_ strpath - Location to mount Proxy CA cert inside container. This is the file path inside the container where the Proxy CA certificate will be mounted. This field cannot be updated after creation.
- context str
- The context for the cluster registration. Allowed values are
projectortenant. Defaults toproject. This field cannot be updated after creation.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[ClusterBrownfield Host Config Args] - The host configuration for the cluster.
- host_
path str - Location for Proxy CA cert on host nodes. This is the file path on the host where the Proxy CA certificate is stored. This field cannot be updated after creation.
- import_
mode str - The import mode for the cluster. Allowed values are
read_only(imports cluster with read-only permissions) orfull(imports cluster with full permissions). Defaults tofull. This field cannot be updated after creation. - machine_
pools Sequence[ClusterBrownfield Machine Pool Args] - Machine pool configuration for Day-2 node maintenance operations. Used to perform node actions like cordon/uncordon on specific nodes.
- name str
- The name of the cluster to be registered. This field cannot be updated after creation.
- namespaces
Sequence[Cluster
Brownfield Namespace Args] - The namespaces for the cluster.
- no_
proxy str - Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- 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. - proxy str
- Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- review_
repave_ strstate - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - scan_
policy ClusterBrownfield 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. Thetagsattribute will soon be deprecated. It is recommended to usetags_mapinstead. - timeouts
Cluster
Brownfield Timeouts Args
- cloud
Type String - The cloud type of the cluster. Supported values:
aws,eks-anywhere,azure,gcp,vsphere,openshift,generic,apache-cloudstack,edge-native,maas,openstack. This field cannot be updated after creation. - 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
Brownfield StringId - The ID of this resource.
- cluster
Profiles List<Property Map> - cluster
Rbac List<Property Map>Bindings - The RBAC binding for the cluster.
- cluster
Timezone String - Defines the time zone used by this cluster to interpret scheduled operations. Maintenance tasks like upgrades will follow this time zone to ensure they run at the appropriate local time for the cluster. Must be in IANA timezone format (e.g., 'America/New_York', 'Asia/Kolkata', 'Europe/London').
- container
Mount StringPath - Location to mount Proxy CA cert inside container. This is the file path inside the container where the Proxy CA certificate will be mounted. This field cannot be updated after creation.
- context String
- The context for the cluster registration. Allowed values are
projectortenant. Defaults toproject. This field cannot be updated after creation.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.
- host
Path String - Location for Proxy CA cert on host nodes. This is the file path on the host where the Proxy CA certificate is stored. This field cannot be updated after creation.
- import
Mode String - The import mode for the cluster. Allowed values are
read_only(imports cluster with read-only permissions) orfull(imports cluster with full permissions). Defaults tofull. This field cannot be updated after creation. - machine
Pools List<Property Map> - Machine pool configuration for Day-2 node maintenance operations. Used to perform node actions like cordon/uncordon on specific nodes.
- name String
- The name of the cluster to be registered. This field cannot be updated after creation.
- namespaces List<Property Map>
- The namespaces for the cluster.
- no
Proxy String - Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- 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. - proxy String
- Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- 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. Thetagsattribute will soon be deprecated. It is recommended to usetags_mapinstead. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the ClusterBrownfield resource produces the following output properties:
- Cloud
Config stringId - ID of the cloud config used for the cluster. This is automatically set from the cluster's cloud config reference.
- Health
Status string - The current health status of the cluster. Possible values include:
Healthy,UnHealthy,Unknown. - Id string
- The provider-assigned unique ID for this managed resource.
- Kubectl
Command string - The kubectl command that must be executed on your Kubernetes cluster to complete the import process into Palette.
- Location
Configs List<ClusterBrownfield Location Config> - The location of the cluster.
- Manifest
Url string - The URL of the import manifest that must be applied to your Kubernetes cluster to complete the import into Palette.
- Status string
- The current operational state of the cluster. Possible values include:
Pending,Provisioning,Running,Deleting,Deleted,Error,Importing.
- Cloud
Config stringId - ID of the cloud config used for the cluster. This is automatically set from the cluster's cloud config reference.
- Health
Status string - The current health status of the cluster. Possible values include:
Healthy,UnHealthy,Unknown. - Id string
- The provider-assigned unique ID for this managed resource.
- Kubectl
Command string - The kubectl command that must be executed on your Kubernetes cluster to complete the import process into Palette.
- Location
Configs []ClusterBrownfield Location Config - The location of the cluster.
- Manifest
Url string - The URL of the import manifest that must be applied to your Kubernetes cluster to complete the import into Palette.
- Status string
- The current operational state of the cluster. Possible values include:
Pending,Provisioning,Running,Deleting,Deleted,Error,Importing.
- cloud
Config StringId - ID of the cloud config used for the cluster. This is automatically set from the cluster's cloud config reference.
- health
Status String - The current health status of the cluster. Possible values include:
Healthy,UnHealthy,Unknown. - id String
- The provider-assigned unique ID for this managed resource.
- kubectl
Command String - The kubectl command that must be executed on your Kubernetes cluster to complete the import process into Palette.
- location
Configs List<ClusterBrownfield Location Config> - The location of the cluster.
- manifest
Url String - The URL of the import manifest that must be applied to your Kubernetes cluster to complete the import into Palette.
- status String
- The current operational state of the cluster. Possible values include:
Pending,Provisioning,Running,Deleting,Deleted,Error,Importing.
- cloud
Config stringId - ID of the cloud config used for the cluster. This is automatically set from the cluster's cloud config reference.
- health
Status string - The current health status of the cluster. Possible values include:
Healthy,UnHealthy,Unknown. - id string
- The provider-assigned unique ID for this managed resource.
- kubectl
Command string - The kubectl command that must be executed on your Kubernetes cluster to complete the import process into Palette.
- location
Configs ClusterBrownfield Location Config[] - The location of the cluster.
- manifest
Url string - The URL of the import manifest that must be applied to your Kubernetes cluster to complete the import into Palette.
- status string
- The current operational state of the cluster. Possible values include:
Pending,Provisioning,Running,Deleting,Deleted,Error,Importing.
- cloud_
config_ strid - ID of the cloud config used for the cluster. This is automatically set from the cluster's cloud config reference.
- health_
status str - The current health status of the cluster. Possible values include:
Healthy,UnHealthy,Unknown. - id str
- The provider-assigned unique ID for this managed resource.
- kubectl_
command str - The kubectl command that must be executed on your Kubernetes cluster to complete the import process into Palette.
- location_
configs Sequence[ClusterBrownfield Location Config] - The location of the cluster.
- manifest_
url str - The URL of the import manifest that must be applied to your Kubernetes cluster to complete the import into Palette.
- status str
- The current operational state of the cluster. Possible values include:
Pending,Provisioning,Running,Deleting,Deleted,Error,Importing.
- cloud
Config StringId - ID of the cloud config used for the cluster. This is automatically set from the cluster's cloud config reference.
- health
Status String - The current health status of the cluster. Possible values include:
Healthy,UnHealthy,Unknown. - id String
- The provider-assigned unique ID for this managed resource.
- kubectl
Command String - The kubectl command that must be executed on your Kubernetes cluster to complete the import process into Palette.
- location
Configs List<Property Map> - The location of the cluster.
- manifest
Url String - The URL of the import manifest that must be applied to your Kubernetes cluster to complete the import into Palette.
- status String
- The current operational state of the cluster. Possible values include:
Pending,Provisioning,Running,Deleting,Deleted,Error,Importing.
Look up Existing ClusterBrownfield Resource
Get an existing ClusterBrownfield 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?: ClusterBrownfieldState, opts?: CustomResourceOptions): ClusterBrownfield@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
apply_setting: Optional[str] = None,
backup_policy: Optional[ClusterBrownfieldBackupPolicyArgs] = None,
cloud_config_id: Optional[str] = None,
cloud_type: Optional[str] = None,
cluster_brownfield_id: Optional[str] = None,
cluster_profiles: Optional[Sequence[ClusterBrownfieldClusterProfileArgs]] = None,
cluster_rbac_bindings: Optional[Sequence[ClusterBrownfieldClusterRbacBindingArgs]] = None,
cluster_timezone: Optional[str] = None,
container_mount_path: Optional[str] = None,
context: Optional[str] = None,
description: Optional[str] = None,
force_delete: Optional[bool] = None,
force_delete_delay: Optional[float] = None,
health_status: Optional[str] = None,
host_configs: Optional[Sequence[ClusterBrownfieldHostConfigArgs]] = None,
host_path: Optional[str] = None,
import_mode: Optional[str] = None,
kubectl_command: Optional[str] = None,
location_configs: Optional[Sequence[ClusterBrownfieldLocationConfigArgs]] = None,
machine_pools: Optional[Sequence[ClusterBrownfieldMachinePoolArgs]] = None,
manifest_url: Optional[str] = None,
name: Optional[str] = None,
namespaces: Optional[Sequence[ClusterBrownfieldNamespaceArgs]] = None,
no_proxy: Optional[str] = None,
pause_agent_upgrades: Optional[str] = None,
proxy: Optional[str] = None,
review_repave_state: Optional[str] = None,
scan_policy: Optional[ClusterBrownfieldScanPolicyArgs] = None,
skip_completion: Optional[bool] = None,
status: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[ClusterBrownfieldTimeoutsArgs] = None) -> ClusterBrownfieldfunc GetClusterBrownfield(ctx *Context, name string, id IDInput, state *ClusterBrownfieldState, opts ...ResourceOption) (*ClusterBrownfield, error)public static ClusterBrownfield Get(string name, Input<string> id, ClusterBrownfieldState? state, CustomResourceOptions? opts = null)public static ClusterBrownfield get(String name, Output<String> id, ClusterBrownfieldState state, CustomResourceOptions options)resources: _: type: spectrocloud:ClusterBrownfield 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.
- 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 ClusterBrownfield Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- Cloud
Config stringId - ID of the cloud config used for the cluster. This is automatically set from the cluster's cloud config reference.
- Cloud
Type string - The cloud type of the cluster. Supported values:
aws,eks-anywhere,azure,gcp,vsphere,openshift,generic,apache-cloudstack,edge-native,maas,openstack. This field cannot be updated after creation. - Cluster
Brownfield stringId - The ID of this resource.
- Cluster
Profiles List<ClusterBrownfield Cluster Profile> - Cluster
Rbac List<ClusterBindings Brownfield Cluster Rbac Binding> - The RBAC binding for the cluster.
- Cluster
Timezone string - Defines the time zone used by this cluster to interpret scheduled operations. Maintenance tasks like upgrades will follow this time zone to ensure they run at the appropriate local time for the cluster. Must be in IANA timezone format (e.g., 'America/New_York', 'Asia/Kolkata', 'Europe/London').
- Container
Mount stringPath - Location to mount Proxy CA cert inside container. This is the file path inside the container where the Proxy CA certificate will be mounted. This field cannot be updated after creation.
- Context string
- The context for the cluster registration. Allowed values are
projectortenant. Defaults toproject. This field cannot be updated after creation.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.
- Health
Status string - The current health status of the cluster. Possible values include:
Healthy,UnHealthy,Unknown. - Host
Configs List<ClusterBrownfield Host Config> - The host configuration for the cluster.
- Host
Path string - Location for Proxy CA cert on host nodes. This is the file path on the host where the Proxy CA certificate is stored. This field cannot be updated after creation.
- Import
Mode string - The import mode for the cluster. Allowed values are
read_only(imports cluster with read-only permissions) orfull(imports cluster with full permissions). Defaults tofull. This field cannot be updated after creation. - Kubectl
Command string - The kubectl command that must be executed on your Kubernetes cluster to complete the import process into Palette.
- Location
Configs List<ClusterBrownfield Location Config> - The location of the cluster.
- Machine
Pools List<ClusterBrownfield Machine Pool> - Machine pool configuration for Day-2 node maintenance operations. Used to perform node actions like cordon/uncordon on specific nodes.
- Manifest
Url string - The URL of the import manifest that must be applied to your Kubernetes cluster to complete the import into Palette.
- Name string
- The name of the cluster to be registered. This field cannot be updated after creation.
- Namespaces
List<Cluster
Brownfield Namespace> - The namespaces for the cluster.
- No
Proxy string - Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- 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. - Proxy string
- Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- Review
Repave stringState - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - Scan
Policy ClusterBrownfield Scan Policy - The scan policy for the cluster.
- Skip
Completion bool - If
true, the cluster will be created asynchronously. Default value isfalse. - Status string
- The current operational state of the cluster. Possible values include:
Pending,Provisioning,Running,Deleting,Deleted,Error,Importing. - List<string>
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value. Thetagsattribute will soon be deprecated. It is recommended to usetags_mapinstead. - Timeouts
Cluster
Brownfield Timeouts
- 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 ClusterBrownfield Backup Policy Args - The backup policy for the cluster. If not specified, no backups will be taken.
- Cloud
Config stringId - ID of the cloud config used for the cluster. This is automatically set from the cluster's cloud config reference.
- Cloud
Type string - The cloud type of the cluster. Supported values:
aws,eks-anywhere,azure,gcp,vsphere,openshift,generic,apache-cloudstack,edge-native,maas,openstack. This field cannot be updated after creation. - Cluster
Brownfield stringId - The ID of this resource.
- Cluster
Profiles []ClusterBrownfield Cluster Profile Args - Cluster
Rbac []ClusterBindings Brownfield Cluster Rbac Binding Args - The RBAC binding for the cluster.
- Cluster
Timezone string - Defines the time zone used by this cluster to interpret scheduled operations. Maintenance tasks like upgrades will follow this time zone to ensure they run at the appropriate local time for the cluster. Must be in IANA timezone format (e.g., 'America/New_York', 'Asia/Kolkata', 'Europe/London').
- Container
Mount stringPath - Location to mount Proxy CA cert inside container. This is the file path inside the container where the Proxy CA certificate will be mounted. This field cannot be updated after creation.
- Context string
- The context for the cluster registration. Allowed values are
projectortenant. Defaults toproject. This field cannot be updated after creation.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.
- Health
Status string - The current health status of the cluster. Possible values include:
Healthy,UnHealthy,Unknown. - Host
Configs []ClusterBrownfield Host Config Args - The host configuration for the cluster.
- Host
Path string - Location for Proxy CA cert on host nodes. This is the file path on the host where the Proxy CA certificate is stored. This field cannot be updated after creation.
- Import
Mode string - The import mode for the cluster. Allowed values are
read_only(imports cluster with read-only permissions) orfull(imports cluster with full permissions). Defaults tofull. This field cannot be updated after creation. - Kubectl
Command string - The kubectl command that must be executed on your Kubernetes cluster to complete the import process into Palette.
- Location
Configs []ClusterBrownfield Location Config Args - The location of the cluster.
- Machine
Pools []ClusterBrownfield Machine Pool Args - Machine pool configuration for Day-2 node maintenance operations. Used to perform node actions like cordon/uncordon on specific nodes.
- Manifest
Url string - The URL of the import manifest that must be applied to your Kubernetes cluster to complete the import into Palette.
- Name string
- The name of the cluster to be registered. This field cannot be updated after creation.
- Namespaces
[]Cluster
Brownfield Namespace Args - The namespaces for the cluster.
- No
Proxy string - Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- 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. - Proxy string
- Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- Review
Repave stringState - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - Scan
Policy ClusterBrownfield Scan Policy Args - The scan policy for the cluster.
- Skip
Completion bool - If
true, the cluster will be created asynchronously. Default value isfalse. - Status string
- The current operational state of the cluster. Possible values include:
Pending,Provisioning,Running,Deleting,Deleted,Error,Importing. - []string
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value. Thetagsattribute will soon be deprecated. It is recommended to usetags_mapinstead. - Timeouts
Cluster
Brownfield Timeouts Args
- 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 ClusterBrownfield Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- cloud
Config StringId - ID of the cloud config used for the cluster. This is automatically set from the cluster's cloud config reference.
- cloud
Type String - The cloud type of the cluster. Supported values:
aws,eks-anywhere,azure,gcp,vsphere,openshift,generic,apache-cloudstack,edge-native,maas,openstack. This field cannot be updated after creation. - cluster
Brownfield StringId - The ID of this resource.
- cluster
Profiles List<ClusterBrownfield Cluster Profile> - cluster
Rbac List<ClusterBindings Brownfield Cluster Rbac Binding> - The RBAC binding for the cluster.
- cluster
Timezone String - Defines the time zone used by this cluster to interpret scheduled operations. Maintenance tasks like upgrades will follow this time zone to ensure they run at the appropriate local time for the cluster. Must be in IANA timezone format (e.g., 'America/New_York', 'Asia/Kolkata', 'Europe/London').
- container
Mount StringPath - Location to mount Proxy CA cert inside container. This is the file path inside the container where the Proxy CA certificate will be mounted. This field cannot be updated after creation.
- context String
- The context for the cluster registration. Allowed values are
projectortenant. Defaults toproject. This field cannot be updated after creation.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.
- health
Status String - The current health status of the cluster. Possible values include:
Healthy,UnHealthy,Unknown. - host
Configs List<ClusterBrownfield Host Config> - The host configuration for the cluster.
- host
Path String - Location for Proxy CA cert on host nodes. This is the file path on the host where the Proxy CA certificate is stored. This field cannot be updated after creation.
- import
Mode String - The import mode for the cluster. Allowed values are
read_only(imports cluster with read-only permissions) orfull(imports cluster with full permissions). Defaults tofull. This field cannot be updated after creation. - kubectl
Command String - The kubectl command that must be executed on your Kubernetes cluster to complete the import process into Palette.
- location
Configs List<ClusterBrownfield Location Config> - The location of the cluster.
- machine
Pools List<ClusterBrownfield Machine Pool> - Machine pool configuration for Day-2 node maintenance operations. Used to perform node actions like cordon/uncordon on specific nodes.
- manifest
Url String - The URL of the import manifest that must be applied to your Kubernetes cluster to complete the import into Palette.
- name String
- The name of the cluster to be registered. This field cannot be updated after creation.
- namespaces
List<Cluster
Brownfield Namespace> - The namespaces for the cluster.
- no
Proxy String - Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- 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. - proxy String
- Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- review
Repave StringState - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - scan
Policy ClusterBrownfield Scan Policy - The scan policy for the cluster.
- skip
Completion Boolean - If
true, the cluster will be created asynchronously. Default value isfalse. - status String
- The current operational state of the cluster. Possible values include:
Pending,Provisioning,Running,Deleting,Deleted,Error,Importing. - List<String>
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value. Thetagsattribute will soon be deprecated. It is recommended to usetags_mapinstead. - timeouts
Cluster
Brownfield Timeouts
- 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 ClusterBrownfield Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- cloud
Config stringId - ID of the cloud config used for the cluster. This is automatically set from the cluster's cloud config reference.
- cloud
Type string - The cloud type of the cluster. Supported values:
aws,eks-anywhere,azure,gcp,vsphere,openshift,generic,apache-cloudstack,edge-native,maas,openstack. This field cannot be updated after creation. - cluster
Brownfield stringId - The ID of this resource.
- cluster
Profiles ClusterBrownfield Cluster Profile[] - cluster
Rbac ClusterBindings Brownfield Cluster Rbac Binding[] - The RBAC binding for the cluster.
- cluster
Timezone string - Defines the time zone used by this cluster to interpret scheduled operations. Maintenance tasks like upgrades will follow this time zone to ensure they run at the appropriate local time for the cluster. Must be in IANA timezone format (e.g., 'America/New_York', 'Asia/Kolkata', 'Europe/London').
- container
Mount stringPath - Location to mount Proxy CA cert inside container. This is the file path inside the container where the Proxy CA certificate will be mounted. This field cannot be updated after creation.
- context string
- The context for the cluster registration. Allowed values are
projectortenant. Defaults toproject. This field cannot be updated after creation.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.
- health
Status string - The current health status of the cluster. Possible values include:
Healthy,UnHealthy,Unknown. - host
Configs ClusterBrownfield Host Config[] - The host configuration for the cluster.
- host
Path string - Location for Proxy CA cert on host nodes. This is the file path on the host where the Proxy CA certificate is stored. This field cannot be updated after creation.
- import
Mode string - The import mode for the cluster. Allowed values are
read_only(imports cluster with read-only permissions) orfull(imports cluster with full permissions). Defaults tofull. This field cannot be updated after creation. - kubectl
Command string - The kubectl command that must be executed on your Kubernetes cluster to complete the import process into Palette.
- location
Configs ClusterBrownfield Location Config[] - The location of the cluster.
- machine
Pools ClusterBrownfield Machine Pool[] - Machine pool configuration for Day-2 node maintenance operations. Used to perform node actions like cordon/uncordon on specific nodes.
- manifest
Url string - The URL of the import manifest that must be applied to your Kubernetes cluster to complete the import into Palette.
- name string
- The name of the cluster to be registered. This field cannot be updated after creation.
- namespaces
Cluster
Brownfield Namespace[] - The namespaces for the cluster.
- no
Proxy string - Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- 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. - proxy string
- Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- review
Repave stringState - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - scan
Policy ClusterBrownfield Scan Policy - The scan policy for the cluster.
- skip
Completion boolean - If
true, the cluster will be created asynchronously. Default value isfalse. - status string
- The current operational state of the cluster. Possible values include:
Pending,Provisioning,Running,Deleting,Deleted,Error,Importing. - string[]
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value. Thetagsattribute will soon be deprecated. It is recommended to usetags_mapinstead. - timeouts
Cluster
Brownfield Timeouts
- 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 ClusterBrownfield Backup Policy Args - The backup policy for the cluster. If not specified, no backups will be taken.
- cloud_
config_ strid - ID of the cloud config used for the cluster. This is automatically set from the cluster's cloud config reference.
- cloud_
type str - The cloud type of the cluster. Supported values:
aws,eks-anywhere,azure,gcp,vsphere,openshift,generic,apache-cloudstack,edge-native,maas,openstack. This field cannot be updated after creation. - cluster_
brownfield_ strid - The ID of this resource.
- cluster_
profiles Sequence[ClusterBrownfield Cluster Profile Args] - cluster_
rbac_ Sequence[Clusterbindings Brownfield Cluster Rbac Binding Args] - The RBAC binding for the cluster.
- cluster_
timezone str - Defines the time zone used by this cluster to interpret scheduled operations. Maintenance tasks like upgrades will follow this time zone to ensure they run at the appropriate local time for the cluster. Must be in IANA timezone format (e.g., 'America/New_York', 'Asia/Kolkata', 'Europe/London').
- container_
mount_ strpath - Location to mount Proxy CA cert inside container. This is the file path inside the container where the Proxy CA certificate will be mounted. This field cannot be updated after creation.
- context str
- The context for the cluster registration. Allowed values are
projectortenant. Defaults toproject. This field cannot be updated after creation.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.
- health_
status str - The current health status of the cluster. Possible values include:
Healthy,UnHealthy,Unknown. - host_
configs Sequence[ClusterBrownfield Host Config Args] - The host configuration for the cluster.
- host_
path str - Location for Proxy CA cert on host nodes. This is the file path on the host where the Proxy CA certificate is stored. This field cannot be updated after creation.
- import_
mode str - The import mode for the cluster. Allowed values are
read_only(imports cluster with read-only permissions) orfull(imports cluster with full permissions). Defaults tofull. This field cannot be updated after creation. - kubectl_
command str - The kubectl command that must be executed on your Kubernetes cluster to complete the import process into Palette.
- location_
configs Sequence[ClusterBrownfield Location Config Args] - The location of the cluster.
- machine_
pools Sequence[ClusterBrownfield Machine Pool Args] - Machine pool configuration for Day-2 node maintenance operations. Used to perform node actions like cordon/uncordon on specific nodes.
- manifest_
url str - The URL of the import manifest that must be applied to your Kubernetes cluster to complete the import into Palette.
- name str
- The name of the cluster to be registered. This field cannot be updated after creation.
- namespaces
Sequence[Cluster
Brownfield Namespace Args] - The namespaces for the cluster.
- no_
proxy str - Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- 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. - proxy str
- Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- review_
repave_ strstate - To authorize the cluster repave, set the value to
Approvedfor approval and""to decline. Default value is"". - scan_
policy ClusterBrownfield Scan Policy Args - The scan policy for the cluster.
- skip_
completion bool - If
true, the cluster will be created asynchronously. Default value isfalse. - status str
- The current operational state of the cluster. Possible values include:
Pending,Provisioning,Running,Deleting,Deleted,Error,Importing. - Sequence[str]
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value. Thetagsattribute will soon be deprecated. It is recommended to usetags_mapinstead. - timeouts
Cluster
Brownfield Timeouts Args
- 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
Config StringId - ID of the cloud config used for the cluster. This is automatically set from the cluster's cloud config reference.
- cloud
Type String - The cloud type of the cluster. Supported values:
aws,eks-anywhere,azure,gcp,vsphere,openshift,generic,apache-cloudstack,edge-native,maas,openstack. This field cannot be updated after creation. - cluster
Brownfield StringId - The ID of this resource.
- cluster
Profiles List<Property Map> - cluster
Rbac List<Property Map>Bindings - The RBAC binding for the cluster.
- cluster
Timezone String - Defines the time zone used by this cluster to interpret scheduled operations. Maintenance tasks like upgrades will follow this time zone to ensure they run at the appropriate local time for the cluster. Must be in IANA timezone format (e.g., 'America/New_York', 'Asia/Kolkata', 'Europe/London').
- container
Mount StringPath - Location to mount Proxy CA cert inside container. This is the file path inside the container where the Proxy CA certificate will be mounted. This field cannot be updated after creation.
- context String
- The context for the cluster registration. Allowed values are
projectortenant. Defaults toproject. This field cannot be updated after creation.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.
- health
Status String - The current health status of the cluster. Possible values include:
Healthy,UnHealthy,Unknown. - host
Configs List<Property Map> - The host configuration for the cluster.
- host
Path String - Location for Proxy CA cert on host nodes. This is the file path on the host where the Proxy CA certificate is stored. This field cannot be updated after creation.
- import
Mode String - The import mode for the cluster. Allowed values are
read_only(imports cluster with read-only permissions) orfull(imports cluster with full permissions). Defaults tofull. This field cannot be updated after creation. - kubectl
Command String - The kubectl command that must be executed on your Kubernetes cluster to complete the import process into Palette.
- location
Configs List<Property Map> - The location of the cluster.
- machine
Pools List<Property Map> - Machine pool configuration for Day-2 node maintenance operations. Used to perform node actions like cordon/uncordon on specific nodes.
- manifest
Url String - The URL of the import manifest that must be applied to your Kubernetes cluster to complete the import into Palette.
- name String
- The name of the cluster to be registered. This field cannot be updated after creation.
- namespaces List<Property Map>
- The namespaces for the cluster.
- no
Proxy String - Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- 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. - proxy String
- Location to mount Proxy CA cert inside container. This field supports vsphere and openshift clusters. This field cannot be updated after creation.
- 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. - status String
- The current operational state of the cluster. Possible values include:
Pending,Provisioning,Running,Deleting,Deleted,Error,Importing. - List<String>
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value. Thetagsattribute will soon be deprecated. It is recommended to usetags_mapinstead. - timeouts Property Map
Supporting Types
ClusterBrownfieldBackupPolicy, ClusterBrownfieldBackupPolicyArgs
- 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.
ClusterBrownfieldClusterProfile, ClusterBrownfieldClusterProfileArgs
- Id string
- The ID of the cluster profile.
- Packs
List<Cluster
Brownfield 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
Brownfield 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
Brownfield 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
Brownfield 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
Brownfield 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".
ClusterBrownfieldClusterProfilePack, ClusterBrownfieldClusterProfilePackArgs
- Name string
- The name of the pack. The name must be unique within the cluster profile.
- Manifests
List<Cluster
Brownfield 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
Brownfield 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
Brownfield 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
Brownfield 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
Brownfield 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.
ClusterBrownfieldClusterProfilePackManifest, ClusterBrownfieldClusterProfilePackManifestArgs
ClusterBrownfieldClusterRbacBinding, ClusterBrownfieldClusterRbacBindingArgs
- 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
Brownfield 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
Brownfield 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
Brownfield 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
Brownfield 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
Brownfield 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>
ClusterBrownfieldClusterRbacBindingSubject, ClusterBrownfieldClusterRbacBindingSubjectArgs
ClusterBrownfieldHostConfig, ClusterBrownfieldHostConfigArgs
- 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'.
ClusterBrownfieldLocationConfig, ClusterBrownfieldLocationConfigArgs
- 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
ClusterBrownfieldMachinePool, ClusterBrownfieldMachinePoolArgs
- Name string
- The name of the machine pool.
- Nodes
List<Cluster
Brownfield Machine Pool Node>
- Name string
- The name of the machine pool.
- Nodes
[]Cluster
Brownfield Machine Pool Node
- name String
- The name of the machine pool.
- nodes
List<Cluster
Brownfield Machine Pool Node>
- name string
- The name of the machine pool.
- nodes
Cluster
Brownfield Machine Pool Node[]
- name str
- The name of the machine pool.
- nodes
Sequence[Cluster
Brownfield Machine Pool Node]
- name String
- The name of the machine pool.
- nodes List<Property Map>
ClusterBrownfieldMachinePoolNode, ClusterBrownfieldMachinePoolNodeArgs
ClusterBrownfieldNamespace, ClusterBrownfieldNamespaceArgs
- 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'}
ClusterBrownfieldScanPolicy, ClusterBrownfieldScanPolicyArgs
- 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.
ClusterBrownfieldTimeouts, ClusterBrownfieldTimeoutsArgs
Import
Refer to the Import section to learn more.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- spectrocloud spectrocloud/terraform-provider-spectrocloud
- License
- Notes
- This Pulumi package is based on the
spectrocloudTerraform Provider.
