OpenStack

Pulumi Official
Package maintained by Pulumi
v3.9.0 published on Thursday, Aug 4, 2022 by Pulumi

Cluster

Attributes reference

The following attributes are exported:

  • region - See Argument Reference above.
  • name - See Argument Reference above.
  • project_id - See Argument Reference above.
  • created_at - The time at which cluster was created.
  • updated_at - The time at which cluster was created.
  • api_address - COE API address.
  • coe_version - COE software version.
  • cluster_template_id - See Argument Reference above.
  • container_version - Container software version.
  • create_timeout - See Argument Reference above.
  • discovery_url - See Argument Reference above.
  • docker_volume_size - See Argument Reference above.
  • flavor - See Argument Reference above.
  • master_flavor - See Argument Reference above.
  • keypair - See Argument Reference above.
  • labels - See Argument Reference above.
  • merge_labels - See Argument Reference above.
  • master_count - See Argument Reference above.
  • node_count - See Argument Reference above.
  • fixed_network - See Argument Reference above.
  • fixed_subnet - See Argument Reference above.
  • floating_ip_enabled - See Argument Reference above.
  • master_addresses - IP addresses of the master node of the cluster.
  • node_addresses - IP addresses of the node of the cluster.
  • stack_id - UUID of the Orchestration service stack.
  • kubeconfig - The Kubernetes cluster’s credentials
    • raw_config - The raw kubeconfig file
    • host - The cluster’s API server URL
    • cluster_ca_certificate - The cluster’s CA certificate
    • client_key - The client’s RSA key
    • client_certificate - The client’s certificate

Example Usage

Create a Cluster

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
    public MyStack()
    {
        var cluster1 = new OpenStack.ContainerInfra.Cluster("cluster1", new OpenStack.ContainerInfra.ClusterArgs
        {
            ClusterTemplateId = "b9a45c5c-cd03-4958-82aa-b80bf93cb922",
            Keypair = "ssh_keypair",
            MasterCount = 3,
            NodeCount = 5,
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-openstack/sdk/v3/go/openstack/containerinfra"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containerinfra.NewCluster(ctx, "cluster1", &containerinfra.ClusterArgs{
			ClusterTemplateId: pulumi.String("b9a45c5c-cd03-4958-82aa-b80bf93cb922"),
			Keypair:           pulumi.String("ssh_keypair"),
			MasterCount:       pulumi.Int(3),
			NodeCount:         pulumi.Int(5),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.openstack.containerinfra.Cluster;
import com.pulumi.openstack.containerinfra.ClusterArgs;
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) {
        var cluster1 = new Cluster("cluster1", ClusterArgs.builder()        
            .clusterTemplateId("b9a45c5c-cd03-4958-82aa-b80bf93cb922")
            .keypair("ssh_keypair")
            .masterCount(3)
            .nodeCount(5)
            .build());

    }
}
import pulumi
import pulumi_openstack as openstack

cluster1 = openstack.containerinfra.Cluster("cluster1",
    cluster_template_id="b9a45c5c-cd03-4958-82aa-b80bf93cb922",
    keypair="ssh_keypair",
    master_count=3,
    node_count=5)
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";

const cluster1 = new openstack.containerinfra.Cluster("cluster_1", {
    clusterTemplateId: "b9a45c5c-cd03-4958-82aa-b80bf93cb922",
    keypair: "ssh_keypair",
    masterCount: 3,
    nodeCount: 5,
});
resources:
  cluster1:
    type: openstack:containerinfra:Cluster
    properties:
      clusterTemplateId: b9a45c5c-cd03-4958-82aa-b80bf93cb922
      keypair: ssh_keypair
      masterCount: 3
      nodeCount: 5

Create a Cluster Resource

new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);
@overload
def Cluster(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            cluster_template_id: Optional[str] = None,
            create_timeout: Optional[int] = None,
            discovery_url: Optional[str] = None,
            docker_volume_size: Optional[int] = None,
            fixed_network: Optional[str] = None,
            fixed_subnet: Optional[str] = None,
            flavor: Optional[str] = None,
            floating_ip_enabled: Optional[bool] = None,
            keypair: Optional[str] = None,
            labels: Optional[Mapping[str, Any]] = None,
            master_count: Optional[int] = None,
            master_flavor: Optional[str] = None,
            merge_labels: Optional[bool] = None,
            name: Optional[str] = None,
            node_count: Optional[int] = None,
            region: Optional[str] = None)
@overload
def Cluster(resource_name: str,
            args: ClusterArgs,
            opts: Optional[ResourceOptions] = None)
func NewCluster(ctx *Context, name string, args ClusterArgs, opts ...ResourceOption) (*Cluster, error)
public Cluster(string name, ClusterArgs args, CustomResourceOptions? opts = null)
public Cluster(String name, ClusterArgs args)
public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
type: openstack:containerinfra:Cluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

Cluster Resource Properties

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

Inputs

The Cluster resource accepts the following input properties:

ClusterTemplateId string

The UUID of the V1 Container Infra cluster template. Changing this creates a new cluster.

CreateTimeout int

The timeout (in minutes) for creating the cluster. Changing this creates a new cluster.

DiscoveryUrl string

The URL used for cluster node discovery. Changing this creates a new cluster.

DockerVolumeSize int

The size (in GB) of the Docker volume. Changing this creates a new cluster.

FixedNetwork string

The fixed network that will be attached to the cluster. Changing this creates a new cluster.

FixedSubnet string

The fixed subnet that will be attached to the cluster. Changing this creates a new cluster.

Flavor string

The flavor for the nodes of the cluster. Can be set via the OS_MAGNUM_FLAVOR environment variable. Changing this creates a new cluster.

FloatingIpEnabled bool

Indicates whether floating IP should be created for every cluster node. Changing this creates a new cluster.

Keypair string

The name of the Compute service SSH keypair. Changing this creates a new cluster.

Labels Dictionary<string, object>

The list of key value pairs representing additional properties of the cluster. Changing this creates a new cluster.

MasterCount int

The number of master nodes for the cluster. Changing this creates a new cluster.

MasterFlavor string

The flavor for the master nodes. Can be set via the OS_MAGNUM_MASTER_FLAVOR environment variable. Changing this creates a new cluster.

MergeLabels bool

Indicates whether the provided labels should be merged with cluster template labels. Changing this creates a new cluster.

Name string

The name of the cluster. Changing this updates the name of the existing cluster template.

NodeCount int

The number of nodes for the cluster. Changing this creates a new cluster.

Region string

The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster. If omitted, the region argument of the provider is used. Changing this creates a new cluster.

ClusterTemplateId string

The UUID of the V1 Container Infra cluster template. Changing this creates a new cluster.

CreateTimeout int

The timeout (in minutes) for creating the cluster. Changing this creates a new cluster.

DiscoveryUrl string

The URL used for cluster node discovery. Changing this creates a new cluster.

DockerVolumeSize int

The size (in GB) of the Docker volume. Changing this creates a new cluster.

FixedNetwork string

The fixed network that will be attached to the cluster. Changing this creates a new cluster.

FixedSubnet string

The fixed subnet that will be attached to the cluster. Changing this creates a new cluster.

Flavor string

The flavor for the nodes of the cluster. Can be set via the OS_MAGNUM_FLAVOR environment variable. Changing this creates a new cluster.

FloatingIpEnabled bool

Indicates whether floating IP should be created for every cluster node. Changing this creates a new cluster.

Keypair string

The name of the Compute service SSH keypair. Changing this creates a new cluster.

Labels map[string]interface{}

The list of key value pairs representing additional properties of the cluster. Changing this creates a new cluster.

MasterCount int

The number of master nodes for the cluster. Changing this creates a new cluster.

MasterFlavor string

The flavor for the master nodes. Can be set via the OS_MAGNUM_MASTER_FLAVOR environment variable. Changing this creates a new cluster.

MergeLabels bool

Indicates whether the provided labels should be merged with cluster template labels. Changing this creates a new cluster.

Name string

The name of the cluster. Changing this updates the name of the existing cluster template.

NodeCount int

The number of nodes for the cluster. Changing this creates a new cluster.

Region string

The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster. If omitted, the region argument of the provider is used. Changing this creates a new cluster.

clusterTemplateId String

The UUID of the V1 Container Infra cluster template. Changing this creates a new cluster.

createTimeout Integer

The timeout (in minutes) for creating the cluster. Changing this creates a new cluster.

discoveryUrl String

The URL used for cluster node discovery. Changing this creates a new cluster.

dockerVolumeSize Integer

The size (in GB) of the Docker volume. Changing this creates a new cluster.

fixedNetwork String

The fixed network that will be attached to the cluster. Changing this creates a new cluster.

fixedSubnet String

The fixed subnet that will be attached to the cluster. Changing this creates a new cluster.

flavor String

The flavor for the nodes of the cluster. Can be set via the OS_MAGNUM_FLAVOR environment variable. Changing this creates a new cluster.

floatingIpEnabled Boolean

Indicates whether floating IP should be created for every cluster node. Changing this creates a new cluster.

keypair String

The name of the Compute service SSH keypair. Changing this creates a new cluster.

labels Map<String,Object>

The list of key value pairs representing additional properties of the cluster. Changing this creates a new cluster.

masterCount Integer

The number of master nodes for the cluster. Changing this creates a new cluster.

masterFlavor String

The flavor for the master nodes. Can be set via the OS_MAGNUM_MASTER_FLAVOR environment variable. Changing this creates a new cluster.

mergeLabels Boolean

Indicates whether the provided labels should be merged with cluster template labels. Changing this creates a new cluster.

name String

The name of the cluster. Changing this updates the name of the existing cluster template.

nodeCount Integer

The number of nodes for the cluster. Changing this creates a new cluster.

region String

The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster. If omitted, the region argument of the provider is used. Changing this creates a new cluster.

clusterTemplateId string

The UUID of the V1 Container Infra cluster template. Changing this creates a new cluster.

createTimeout number

The timeout (in minutes) for creating the cluster. Changing this creates a new cluster.

discoveryUrl string

The URL used for cluster node discovery. Changing this creates a new cluster.

dockerVolumeSize number

The size (in GB) of the Docker volume. Changing this creates a new cluster.

fixedNetwork string

The fixed network that will be attached to the cluster. Changing this creates a new cluster.

fixedSubnet string

The fixed subnet that will be attached to the cluster. Changing this creates a new cluster.

flavor string

The flavor for the nodes of the cluster. Can be set via the OS_MAGNUM_FLAVOR environment variable. Changing this creates a new cluster.

floatingIpEnabled boolean

Indicates whether floating IP should be created for every cluster node. Changing this creates a new cluster.

keypair string

The name of the Compute service SSH keypair. Changing this creates a new cluster.

labels {[key: string]: any}

The list of key value pairs representing additional properties of the cluster. Changing this creates a new cluster.

masterCount number

The number of master nodes for the cluster. Changing this creates a new cluster.

masterFlavor string

The flavor for the master nodes. Can be set via the OS_MAGNUM_MASTER_FLAVOR environment variable. Changing this creates a new cluster.

mergeLabels boolean

Indicates whether the provided labels should be merged with cluster template labels. Changing this creates a new cluster.

name string

The name of the cluster. Changing this updates the name of the existing cluster template.

nodeCount number

The number of nodes for the cluster. Changing this creates a new cluster.

region string

The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster. If omitted, the region argument of the provider is used. Changing this creates a new cluster.

cluster_template_id str

The UUID of the V1 Container Infra cluster template. Changing this creates a new cluster.

create_timeout int

The timeout (in minutes) for creating the cluster. Changing this creates a new cluster.

discovery_url str

The URL used for cluster node discovery. Changing this creates a new cluster.

docker_volume_size int

The size (in GB) of the Docker volume. Changing this creates a new cluster.

fixed_network str

The fixed network that will be attached to the cluster. Changing this creates a new cluster.

fixed_subnet str

The fixed subnet that will be attached to the cluster. Changing this creates a new cluster.

flavor str

The flavor for the nodes of the cluster. Can be set via the OS_MAGNUM_FLAVOR environment variable. Changing this creates a new cluster.

floating_ip_enabled bool

Indicates whether floating IP should be created for every cluster node. Changing this creates a new cluster.

keypair str

The name of the Compute service SSH keypair. Changing this creates a new cluster.

labels Mapping[str, Any]

The list of key value pairs representing additional properties of the cluster. Changing this creates a new cluster.

master_count int

The number of master nodes for the cluster. Changing this creates a new cluster.

master_flavor str

The flavor for the master nodes. Can be set via the OS_MAGNUM_MASTER_FLAVOR environment variable. Changing this creates a new cluster.

merge_labels bool

Indicates whether the provided labels should be merged with cluster template labels. Changing this creates a new cluster.

name str

The name of the cluster. Changing this updates the name of the existing cluster template.

node_count int

The number of nodes for the cluster. Changing this creates a new cluster.

region str

The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster. If omitted, the region argument of the provider is used. Changing this creates a new cluster.

clusterTemplateId String

The UUID of the V1 Container Infra cluster template. Changing this creates a new cluster.

createTimeout Number

The timeout (in minutes) for creating the cluster. Changing this creates a new cluster.

discoveryUrl String

The URL used for cluster node discovery. Changing this creates a new cluster.

dockerVolumeSize Number

The size (in GB) of the Docker volume. Changing this creates a new cluster.

fixedNetwork String

The fixed network that will be attached to the cluster. Changing this creates a new cluster.

fixedSubnet String

The fixed subnet that will be attached to the cluster. Changing this creates a new cluster.

flavor String

The flavor for the nodes of the cluster. Can be set via the OS_MAGNUM_FLAVOR environment variable. Changing this creates a new cluster.

floatingIpEnabled Boolean

Indicates whether floating IP should be created for every cluster node. Changing this creates a new cluster.

keypair String

The name of the Compute service SSH keypair. Changing this creates a new cluster.

labels Map<Any>

The list of key value pairs representing additional properties of the cluster. Changing this creates a new cluster.

masterCount Number

The number of master nodes for the cluster. Changing this creates a new cluster.

masterFlavor String

The flavor for the master nodes. Can be set via the OS_MAGNUM_MASTER_FLAVOR environment variable. Changing this creates a new cluster.

mergeLabels Boolean

Indicates whether the provided labels should be merged with cluster template labels. Changing this creates a new cluster.

name String

The name of the cluster. Changing this updates the name of the existing cluster template.

nodeCount Number

The number of nodes for the cluster. Changing this creates a new cluster.

region String

The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster. If omitted, the region argument of the provider is used. Changing this creates a new cluster.

Outputs

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

ApiAddress string
CoeVersion string
ContainerVersion string
CreatedAt string
Id string

The provider-assigned unique ID for this managed resource.

Kubeconfig Dictionary<string, string>
MasterAddresses List<string>
NodeAddresses List<string>
ProjectId string

The project of the cluster. Required if admin wants to create a cluster in another project. Changing this creates a new cluster.

StackId string
UpdatedAt string
UserId string

The user of the cluster. Required if admin wants to create a cluster template for another user. Changing this creates a new cluster.

ApiAddress string
CoeVersion string
ContainerVersion string
CreatedAt string
Id string

The provider-assigned unique ID for this managed resource.

Kubeconfig map[string]string
MasterAddresses []string
NodeAddresses []string
ProjectId string

The project of the cluster. Required if admin wants to create a cluster in another project. Changing this creates a new cluster.

StackId string
UpdatedAt string
UserId string

The user of the cluster. Required if admin wants to create a cluster template for another user. Changing this creates a new cluster.

apiAddress String
coeVersion String
containerVersion String
createdAt String
id String

The provider-assigned unique ID for this managed resource.

kubeconfig Map<String,String>
masterAddresses List<String>
nodeAddresses List<String>
projectId String

The project of the cluster. Required if admin wants to create a cluster in another project. Changing this creates a new cluster.

stackId String
updatedAt String
userId String

The user of the cluster. Required if admin wants to create a cluster template for another user. Changing this creates a new cluster.

apiAddress string
coeVersion string
containerVersion string
createdAt string
id string

The provider-assigned unique ID for this managed resource.

kubeconfig {[key: string]: string}
masterAddresses string[]
nodeAddresses string[]
projectId string

The project of the cluster. Required if admin wants to create a cluster in another project. Changing this creates a new cluster.

stackId string
updatedAt string
userId string

The user of the cluster. Required if admin wants to create a cluster template for another user. Changing this creates a new cluster.

api_address str
coe_version str
container_version str
created_at str
id str

The provider-assigned unique ID for this managed resource.

kubeconfig Mapping[str, str]
master_addresses Sequence[str]
node_addresses Sequence[str]
project_id str

The project of the cluster. Required if admin wants to create a cluster in another project. Changing this creates a new cluster.

stack_id str
updated_at str
user_id str

The user of the cluster. Required if admin wants to create a cluster template for another user. Changing this creates a new cluster.

apiAddress String
coeVersion String
containerVersion String
createdAt String
id String

The provider-assigned unique ID for this managed resource.

kubeconfig Map<String>
masterAddresses List<String>
nodeAddresses List<String>
projectId String

The project of the cluster. Required if admin wants to create a cluster in another project. Changing this creates a new cluster.

stackId String
updatedAt String
userId String

The user of the cluster. Required if admin wants to create a cluster template for another user. Changing this creates a new cluster.

Look up an Existing Cluster Resource

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

public static get(name: string, id: Input<ID>, state?: ClusterState, opts?: CustomResourceOptions): Cluster
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        api_address: Optional[str] = None,
        cluster_template_id: Optional[str] = None,
        coe_version: Optional[str] = None,
        container_version: Optional[str] = None,
        create_timeout: Optional[int] = None,
        created_at: Optional[str] = None,
        discovery_url: Optional[str] = None,
        docker_volume_size: Optional[int] = None,
        fixed_network: Optional[str] = None,
        fixed_subnet: Optional[str] = None,
        flavor: Optional[str] = None,
        floating_ip_enabled: Optional[bool] = None,
        keypair: Optional[str] = None,
        kubeconfig: Optional[Mapping[str, str]] = None,
        labels: Optional[Mapping[str, Any]] = None,
        master_addresses: Optional[Sequence[str]] = None,
        master_count: Optional[int] = None,
        master_flavor: Optional[str] = None,
        merge_labels: Optional[bool] = None,
        name: Optional[str] = None,
        node_addresses: Optional[Sequence[str]] = None,
        node_count: Optional[int] = None,
        project_id: Optional[str] = None,
        region: Optional[str] = None,
        stack_id: Optional[str] = None,
        updated_at: Optional[str] = None,
        user_id: Optional[str] = None) -> Cluster
func GetCluster(ctx *Context, name string, id IDInput, state *ClusterState, opts ...ResourceOption) (*Cluster, error)
public static Cluster Get(string name, Input<string> id, ClusterState? state, CustomResourceOptions? opts = null)
public static Cluster get(String name, Output<String> id, ClusterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ApiAddress string
ClusterTemplateId string

The UUID of the V1 Container Infra cluster template. Changing this creates a new cluster.

CoeVersion string
ContainerVersion string
CreateTimeout int

The timeout (in minutes) for creating the cluster. Changing this creates a new cluster.

CreatedAt string
DiscoveryUrl string

The URL used for cluster node discovery. Changing this creates a new cluster.

DockerVolumeSize int

The size (in GB) of the Docker volume. Changing this creates a new cluster.

FixedNetwork string

The fixed network that will be attached to the cluster. Changing this creates a new cluster.

FixedSubnet string

The fixed subnet that will be attached to the cluster. Changing this creates a new cluster.

Flavor string

The flavor for the nodes of the cluster. Can be set via the OS_MAGNUM_FLAVOR environment variable. Changing this creates a new cluster.

FloatingIpEnabled bool

Indicates whether floating IP should be created for every cluster node. Changing this creates a new cluster.

Keypair string

The name of the Compute service SSH keypair. Changing this creates a new cluster.

Kubeconfig Dictionary<string, string>
Labels Dictionary<string, object>

The list of key value pairs representing additional properties of the cluster. Changing this creates a new cluster.

MasterAddresses List<string>
MasterCount int

The number of master nodes for the cluster. Changing this creates a new cluster.

MasterFlavor string

The flavor for the master nodes. Can be set via the OS_MAGNUM_MASTER_FLAVOR environment variable. Changing this creates a new cluster.

MergeLabels bool

Indicates whether the provided labels should be merged with cluster template labels. Changing this creates a new cluster.

Name string

The name of the cluster. Changing this updates the name of the existing cluster template.

NodeAddresses List<string>
NodeCount int

The number of nodes for the cluster. Changing this creates a new cluster.

ProjectId string

The project of the cluster. Required if admin wants to create a cluster in another project. Changing this creates a new cluster.

Region string

The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster. If omitted, the region argument of the provider is used. Changing this creates a new cluster.

StackId string
UpdatedAt string
UserId string

The user of the cluster. Required if admin wants to create a cluster template for another user. Changing this creates a new cluster.

ApiAddress string
ClusterTemplateId string

The UUID of the V1 Container Infra cluster template. Changing this creates a new cluster.

CoeVersion string
ContainerVersion string
CreateTimeout int

The timeout (in minutes) for creating the cluster. Changing this creates a new cluster.

CreatedAt string
DiscoveryUrl string

The URL used for cluster node discovery. Changing this creates a new cluster.

DockerVolumeSize int

The size (in GB) of the Docker volume. Changing this creates a new cluster.

FixedNetwork string

The fixed network that will be attached to the cluster. Changing this creates a new cluster.

FixedSubnet string

The fixed subnet that will be attached to the cluster. Changing this creates a new cluster.

Flavor string

The flavor for the nodes of the cluster. Can be set via the OS_MAGNUM_FLAVOR environment variable. Changing this creates a new cluster.

FloatingIpEnabled bool

Indicates whether floating IP should be created for every cluster node. Changing this creates a new cluster.

Keypair string

The name of the Compute service SSH keypair. Changing this creates a new cluster.

Kubeconfig map[string]string
Labels map[string]interface{}

The list of key value pairs representing additional properties of the cluster. Changing this creates a new cluster.

MasterAddresses []string
MasterCount int

The number of master nodes for the cluster. Changing this creates a new cluster.

MasterFlavor string

The flavor for the master nodes. Can be set via the OS_MAGNUM_MASTER_FLAVOR environment variable. Changing this creates a new cluster.

MergeLabels bool

Indicates whether the provided labels should be merged with cluster template labels. Changing this creates a new cluster.

Name string

The name of the cluster. Changing this updates the name of the existing cluster template.

NodeAddresses []string
NodeCount int

The number of nodes for the cluster. Changing this creates a new cluster.

ProjectId string

The project of the cluster. Required if admin wants to create a cluster in another project. Changing this creates a new cluster.

Region string

The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster. If omitted, the region argument of the provider is used. Changing this creates a new cluster.

StackId string
UpdatedAt string
UserId string

The user of the cluster. Required if admin wants to create a cluster template for another user. Changing this creates a new cluster.

apiAddress String
clusterTemplateId String

The UUID of the V1 Container Infra cluster template. Changing this creates a new cluster.

coeVersion String
containerVersion String
createTimeout Integer

The timeout (in minutes) for creating the cluster. Changing this creates a new cluster.

createdAt String
discoveryUrl String

The URL used for cluster node discovery. Changing this creates a new cluster.

dockerVolumeSize Integer

The size (in GB) of the Docker volume. Changing this creates a new cluster.

fixedNetwork String

The fixed network that will be attached to the cluster. Changing this creates a new cluster.

fixedSubnet String

The fixed subnet that will be attached to the cluster. Changing this creates a new cluster.

flavor String

The flavor for the nodes of the cluster. Can be set via the OS_MAGNUM_FLAVOR environment variable. Changing this creates a new cluster.

floatingIpEnabled Boolean

Indicates whether floating IP should be created for every cluster node. Changing this creates a new cluster.

keypair String

The name of the Compute service SSH keypair. Changing this creates a new cluster.

kubeconfig Map<String,String>
labels Map<String,Object>

The list of key value pairs representing additional properties of the cluster. Changing this creates a new cluster.

masterAddresses List<String>
masterCount Integer

The number of master nodes for the cluster. Changing this creates a new cluster.

masterFlavor String

The flavor for the master nodes. Can be set via the OS_MAGNUM_MASTER_FLAVOR environment variable. Changing this creates a new cluster.

mergeLabels Boolean

Indicates whether the provided labels should be merged with cluster template labels. Changing this creates a new cluster.

name String

The name of the cluster. Changing this updates the name of the existing cluster template.

nodeAddresses List<String>
nodeCount Integer

The number of nodes for the cluster. Changing this creates a new cluster.

projectId String

The project of the cluster. Required if admin wants to create a cluster in another project. Changing this creates a new cluster.

region String

The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster. If omitted, the region argument of the provider is used. Changing this creates a new cluster.

stackId String
updatedAt String
userId String

The user of the cluster. Required if admin wants to create a cluster template for another user. Changing this creates a new cluster.

apiAddress string
clusterTemplateId string

The UUID of the V1 Container Infra cluster template. Changing this creates a new cluster.

coeVersion string
containerVersion string
createTimeout number

The timeout (in minutes) for creating the cluster. Changing this creates a new cluster.

createdAt string
discoveryUrl string

The URL used for cluster node discovery. Changing this creates a new cluster.

dockerVolumeSize number

The size (in GB) of the Docker volume. Changing this creates a new cluster.

fixedNetwork string

The fixed network that will be attached to the cluster. Changing this creates a new cluster.

fixedSubnet string

The fixed subnet that will be attached to the cluster. Changing this creates a new cluster.

flavor string

The flavor for the nodes of the cluster. Can be set via the OS_MAGNUM_FLAVOR environment variable. Changing this creates a new cluster.

floatingIpEnabled boolean

Indicates whether floating IP should be created for every cluster node. Changing this creates a new cluster.

keypair string

The name of the Compute service SSH keypair. Changing this creates a new cluster.

kubeconfig {[key: string]: string}
labels {[key: string]: any}

The list of key value pairs representing additional properties of the cluster. Changing this creates a new cluster.

masterAddresses string[]
masterCount number

The number of master nodes for the cluster. Changing this creates a new cluster.

masterFlavor string

The flavor for the master nodes. Can be set via the OS_MAGNUM_MASTER_FLAVOR environment variable. Changing this creates a new cluster.

mergeLabels boolean

Indicates whether the provided labels should be merged with cluster template labels. Changing this creates a new cluster.

name string

The name of the cluster. Changing this updates the name of the existing cluster template.

nodeAddresses string[]
nodeCount number

The number of nodes for the cluster. Changing this creates a new cluster.

projectId string

The project of the cluster. Required if admin wants to create a cluster in another project. Changing this creates a new cluster.

region string

The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster. If omitted, the region argument of the provider is used. Changing this creates a new cluster.

stackId string
updatedAt string
userId string

The user of the cluster. Required if admin wants to create a cluster template for another user. Changing this creates a new cluster.

api_address str
cluster_template_id str

The UUID of the V1 Container Infra cluster template. Changing this creates a new cluster.

coe_version str
container_version str
create_timeout int

The timeout (in minutes) for creating the cluster. Changing this creates a new cluster.

created_at str
discovery_url str

The URL used for cluster node discovery. Changing this creates a new cluster.

docker_volume_size int

The size (in GB) of the Docker volume. Changing this creates a new cluster.

fixed_network str

The fixed network that will be attached to the cluster. Changing this creates a new cluster.

fixed_subnet str

The fixed subnet that will be attached to the cluster. Changing this creates a new cluster.

flavor str

The flavor for the nodes of the cluster. Can be set via the OS_MAGNUM_FLAVOR environment variable. Changing this creates a new cluster.

floating_ip_enabled bool

Indicates whether floating IP should be created for every cluster node. Changing this creates a new cluster.

keypair str

The name of the Compute service SSH keypair. Changing this creates a new cluster.

kubeconfig Mapping[str, str]
labels Mapping[str, Any]

The list of key value pairs representing additional properties of the cluster. Changing this creates a new cluster.

master_addresses Sequence[str]
master_count int

The number of master nodes for the cluster. Changing this creates a new cluster.

master_flavor str

The flavor for the master nodes. Can be set via the OS_MAGNUM_MASTER_FLAVOR environment variable. Changing this creates a new cluster.

merge_labels bool

Indicates whether the provided labels should be merged with cluster template labels. Changing this creates a new cluster.

name str

The name of the cluster. Changing this updates the name of the existing cluster template.

node_addresses Sequence[str]
node_count int

The number of nodes for the cluster. Changing this creates a new cluster.

project_id str

The project of the cluster. Required if admin wants to create a cluster in another project. Changing this creates a new cluster.

region str

The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster. If omitted, the region argument of the provider is used. Changing this creates a new cluster.

stack_id str
updated_at str
user_id str

The user of the cluster. Required if admin wants to create a cluster template for another user. Changing this creates a new cluster.

apiAddress String
clusterTemplateId String

The UUID of the V1 Container Infra cluster template. Changing this creates a new cluster.

coeVersion String
containerVersion String
createTimeout Number

The timeout (in minutes) for creating the cluster. Changing this creates a new cluster.

createdAt String
discoveryUrl String

The URL used for cluster node discovery. Changing this creates a new cluster.

dockerVolumeSize Number

The size (in GB) of the Docker volume. Changing this creates a new cluster.

fixedNetwork String

The fixed network that will be attached to the cluster. Changing this creates a new cluster.

fixedSubnet String

The fixed subnet that will be attached to the cluster. Changing this creates a new cluster.

flavor String

The flavor for the nodes of the cluster. Can be set via the OS_MAGNUM_FLAVOR environment variable. Changing this creates a new cluster.

floatingIpEnabled Boolean

Indicates whether floating IP should be created for every cluster node. Changing this creates a new cluster.

keypair String

The name of the Compute service SSH keypair. Changing this creates a new cluster.

kubeconfig Map<String>
labels Map<Any>

The list of key value pairs representing additional properties of the cluster. Changing this creates a new cluster.

masterAddresses List<String>
masterCount Number

The number of master nodes for the cluster. Changing this creates a new cluster.

masterFlavor String

The flavor for the master nodes. Can be set via the OS_MAGNUM_MASTER_FLAVOR environment variable. Changing this creates a new cluster.

mergeLabels Boolean

Indicates whether the provided labels should be merged with cluster template labels. Changing this creates a new cluster.

name String

The name of the cluster. Changing this updates the name of the existing cluster template.

nodeAddresses List<String>
nodeCount Number

The number of nodes for the cluster. Changing this creates a new cluster.

projectId String

The project of the cluster. Required if admin wants to create a cluster in another project. Changing this creates a new cluster.

region String

The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster. If omitted, the region argument of the provider is used. Changing this creates a new cluster.

stackId String
updatedAt String
userId String

The user of the cluster. Required if admin wants to create a cluster template for another user. Changing this creates a new cluster.

Import

Clusters can be imported using the id, e.g.

 $ pulumi import openstack:containerinfra/cluster:Cluster cluster_1 ce0f9463-dd25-474b-9fe8-94de63e5e42b

Package Details

Repository
https://github.com/pulumi/pulumi-openstack
License
Apache-2.0
Notes

This Pulumi package is based on the openstack Terraform Provider.