Fork me on GitHub

Module containerinfra

@pulumi/openstack > containerinfra

Index

containerinfra/cluster.ts containerinfra/clusterTemplate.ts containerinfra/getClusterTemplate.ts

class Cluster

Manages a V1 Magnum cluster resource within OpenStack.

constructor

new Cluster(name: string, args: ClusterArgs, opts?: pulumi.CustomResourceOptions)

Create a Cluster resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClusterState): Cluster

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property apiAddress

public apiAddress: pulumi.Output<string>;

property clusterTemplateId

public clusterTemplateId: pulumi.Output<string>;

property coeVersion

public coeVersion: pulumi.Output<string>;

property containerVersion

public containerVersion: pulumi.Output<string>;

property createTimeout

public createTimeout: pulumi.Output<number>;

property createdAt

public createdAt: pulumi.Output<string>;

property discoveryUrl

public discoveryUrl: pulumi.Output<string>;

property dockerVolumeSize

public dockerVolumeSize: pulumi.Output<number>;

property flavor

public flavor: pulumi.Output<string>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property keypair

public keypair: pulumi.Output<string>;

property labels

public labels: pulumi.Output<{ ... }>;

property masterAddresses

public masterAddresses: pulumi.Output<string>;

property masterCount

public masterCount: pulumi.Output<number>;

property masterFlavor

public masterFlavor: pulumi.Output<string>;

property name

public name: pulumi.Output<string>;

property nodeAddresses

public nodeAddresses: pulumi.Output<string>;

property nodeCount

public nodeCount: pulumi.Output<number>;

property projectId

public projectId: pulumi.Output<string>;

property region

public region: pulumi.Output<string>;

property stackId

public stackId: pulumi.Output<string>;

property updatedAt

public updatedAt: pulumi.Output<string>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property userId

public userId: pulumi.Output<string>;

class ClusterTemplate

Manages a V1 Magnum cluster template resource within OpenStack.

constructor

new ClusterTemplate(name: string, args: ClusterTemplateArgs, opts?: pulumi.CustomResourceOptions)

Create a ClusterTemplate resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClusterTemplateState): ClusterTemplate

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

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property apiserverPort

public apiserverPort: pulumi.Output<number | undefined>;

property clusterDistro

public clusterDistro: pulumi.Output<string>;

property coe

public coe: pulumi.Output<string>;

property createdAt

public createdAt: pulumi.Output<string>;

property dnsNameserver

public dnsNameserver: pulumi.Output<string | undefined>;

property dockerStorageDriver

public dockerStorageDriver: pulumi.Output<string | undefined>;

property dockerVolumeSize

public dockerVolumeSize: pulumi.Output<number | undefined>;

property externalNetworkId

public externalNetworkId: pulumi.Output<string | undefined>;

property fixedNetwork

public fixedNetwork: pulumi.Output<string | undefined>;

property fixedSubnet

public fixedSubnet: pulumi.Output<string | undefined>;

property flavor

public flavor: pulumi.Output<string | undefined>;

property floatingIpEnabled

public floatingIpEnabled: pulumi.Output<boolean | undefined>;

property httpProxy

public httpProxy: pulumi.Output<string | undefined>;

property httpsProxy

public httpsProxy: pulumi.Output<string | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property image

public image: pulumi.Output<string>;

property insecureRegistry

public insecureRegistry: pulumi.Output<string | undefined>;

property keypairId

public keypairId: pulumi.Output<string | undefined>;

property labels

public labels: pulumi.Output<{ ... } | undefined>;

property masterFlavor

public masterFlavor: pulumi.Output<string | undefined>;

property masterLbEnabled

public masterLbEnabled: pulumi.Output<boolean | undefined>;

property name

public name: pulumi.Output<string>;

property networkDriver

public networkDriver: pulumi.Output<string>;

property noProxy

public noProxy: pulumi.Output<string | undefined>;

property projectId

public projectId: pulumi.Output<string>;

property public

public public: pulumi.Output<boolean | undefined>;

property region

public region: pulumi.Output<string>;

property registryEnabled

public registryEnabled: pulumi.Output<boolean | undefined>;

property serverType

public serverType: pulumi.Output<string>;

property tlsDisabled

public tlsDisabled: pulumi.Output<boolean | undefined>;

property updatedAt

public updatedAt: pulumi.Output<string>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property userId

public userId: pulumi.Output<string>;

property volumeDriver

public volumeDriver: pulumi.Output<string | undefined>;

function getClusterTemplate

getClusterTemplate(args: GetClusterTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterTemplateResult>

Use this data source to get the ID of an available OpenStack Magnum cluster template.

interface ClusterArgs

The set of arguments for constructing a Cluster resource.

property clusterTemplateId

clusterTemplateId: pulumi.Input<string>;

property createTimeout

createTimeout?: pulumi.Input<number>;

property discoveryUrl

discoveryUrl?: pulumi.Input<string>;

property dockerVolumeSize

dockerVolumeSize?: pulumi.Input<number>;

property flavor

flavor?: pulumi.Input<string>;

property keypair

keypair?: pulumi.Input<string>;

property labels

labels?: pulumi.Input<{ ... }>;

property masterCount

masterCount?: pulumi.Input<number>;

property masterFlavor

masterFlavor?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property nodeCount

nodeCount?: pulumi.Input<number>;

property region

region?: pulumi.Input<string>;

interface ClusterState

Input properties used for looking up and filtering Cluster resources.

property apiAddress

apiAddress?: pulumi.Input<string>;

property clusterTemplateId

clusterTemplateId?: pulumi.Input<string>;

property coeVersion

coeVersion?: pulumi.Input<string>;

property containerVersion

containerVersion?: pulumi.Input<string>;

property createTimeout

createTimeout?: pulumi.Input<number>;

property createdAt

createdAt?: pulumi.Input<string>;

property discoveryUrl

discoveryUrl?: pulumi.Input<string>;

property dockerVolumeSize

dockerVolumeSize?: pulumi.Input<number>;

property flavor

flavor?: pulumi.Input<string>;

property keypair

keypair?: pulumi.Input<string>;

property labels

labels?: pulumi.Input<{ ... }>;

property masterAddresses

masterAddresses?: pulumi.Input<string>;

property masterCount

masterCount?: pulumi.Input<number>;

property masterFlavor

masterFlavor?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property nodeAddresses

nodeAddresses?: pulumi.Input<string>;

property nodeCount

nodeCount?: pulumi.Input<number>;

property projectId

projectId?: pulumi.Input<string>;

property region

region?: pulumi.Input<string>;

property stackId

stackId?: pulumi.Input<string>;

property updatedAt

updatedAt?: pulumi.Input<string>;

property userId

userId?: pulumi.Input<string>;

interface ClusterTemplateArgs

The set of arguments for constructing a ClusterTemplate resource.

property apiserverPort

apiserverPort?: pulumi.Input<number>;

property clusterDistro

clusterDistro?: pulumi.Input<string>;

property coe

coe: pulumi.Input<string>;

property dnsNameserver

dnsNameserver?: pulumi.Input<string>;

property dockerStorageDriver

dockerStorageDriver?: pulumi.Input<string>;

property dockerVolumeSize

dockerVolumeSize?: pulumi.Input<number>;

property externalNetworkId

externalNetworkId?: pulumi.Input<string>;

property fixedNetwork

fixedNetwork?: pulumi.Input<string>;

property fixedSubnet

fixedSubnet?: pulumi.Input<string>;

property flavor

flavor?: pulumi.Input<string>;

property floatingIpEnabled

floatingIpEnabled?: pulumi.Input<boolean>;

property httpProxy

httpProxy?: pulumi.Input<string>;

property httpsProxy

httpsProxy?: pulumi.Input<string>;

property image

image: pulumi.Input<string>;

property insecureRegistry

insecureRegistry?: pulumi.Input<string>;

property keypairId

keypairId?: pulumi.Input<string>;

property labels

labels?: pulumi.Input<{ ... }>;

property masterFlavor

masterFlavor?: pulumi.Input<string>;

property masterLbEnabled

masterLbEnabled?: pulumi.Input<boolean>;

property name

name?: pulumi.Input<string>;

property networkDriver

networkDriver?: pulumi.Input<string>;

property noProxy

noProxy?: pulumi.Input<string>;

property public

public?: pulumi.Input<boolean>;

property region

region?: pulumi.Input<string>;

property registryEnabled

registryEnabled?: pulumi.Input<boolean>;

property serverType

serverType?: pulumi.Input<string>;

property tlsDisabled

tlsDisabled?: pulumi.Input<boolean>;

property volumeDriver

volumeDriver?: pulumi.Input<string>;

interface ClusterTemplateState

Input properties used for looking up and filtering ClusterTemplate resources.

property apiserverPort

apiserverPort?: pulumi.Input<number>;

property clusterDistro

clusterDistro?: pulumi.Input<string>;

property coe

coe?: pulumi.Input<string>;

property createdAt

createdAt?: pulumi.Input<string>;

property dnsNameserver

dnsNameserver?: pulumi.Input<string>;

property dockerStorageDriver

dockerStorageDriver?: pulumi.Input<string>;

property dockerVolumeSize

dockerVolumeSize?: pulumi.Input<number>;

property externalNetworkId

externalNetworkId?: pulumi.Input<string>;

property fixedNetwork

fixedNetwork?: pulumi.Input<string>;

property fixedSubnet

fixedSubnet?: pulumi.Input<string>;

property flavor

flavor?: pulumi.Input<string>;

property floatingIpEnabled

floatingIpEnabled?: pulumi.Input<boolean>;

property httpProxy

httpProxy?: pulumi.Input<string>;

property httpsProxy

httpsProxy?: pulumi.Input<string>;

property image

image?: pulumi.Input<string>;

property insecureRegistry

insecureRegistry?: pulumi.Input<string>;

property keypairId

keypairId?: pulumi.Input<string>;

property labels

labels?: pulumi.Input<{ ... }>;

property masterFlavor

masterFlavor?: pulumi.Input<string>;

property masterLbEnabled

masterLbEnabled?: pulumi.Input<boolean>;

property name

name?: pulumi.Input<string>;

property networkDriver

networkDriver?: pulumi.Input<string>;

property noProxy

noProxy?: pulumi.Input<string>;

property projectId

projectId?: pulumi.Input<string>;

property public

public?: pulumi.Input<boolean>;

property region

region?: pulumi.Input<string>;

property registryEnabled

registryEnabled?: pulumi.Input<boolean>;

property serverType

serverType?: pulumi.Input<string>;

property tlsDisabled

tlsDisabled?: pulumi.Input<boolean>;

property updatedAt

updatedAt?: pulumi.Input<string>;

property userId

userId?: pulumi.Input<string>;

property volumeDriver

volumeDriver?: pulumi.Input<string>;

interface GetClusterTemplateArgs

A collection of arguments for invoking getClusterTemplate.

property name

name: string;

The name of the cluster template.

property region

region?: string;

The region in which to obtain the V1 Container Infra client. If omitted, the region argument of the provider is used.

interface GetClusterTemplateResult

A collection of values returned by getClusterTemplate.

property apiserverPort

apiserverPort: number;

The API server port for the Container Orchestration Engine for this cluster template.

property clusterDistro

clusterDistro: string;

The distro for the cluster (fedora-atomic, coreos, etc.).

property coe

coe: string;

The Container Orchestration Engine for this cluster template.

property createdAt

createdAt: string;

The time at which cluster template was created.

property dnsNameserver

dnsNameserver: string;

Address of the DNS nameserver that is used in nodes of the cluster.

property dockerStorageDriver

dockerStorageDriver: string;

Docker storage driver. Changing this updates the Docker storage driver of the existing cluster template.

property dockerVolumeSize

dockerVolumeSize: number;

The size (in GB) of the Docker volume.

property externalNetworkId

externalNetworkId: string;

The ID of the external network that will be used for the cluster.

property fixedNetwork

fixedNetwork: string;

The fixed network that will be attached to the cluster.

property fixedSubnet

fixedSubnet: string;

=The fixed subnet that will be attached to the cluster.

property flavor

flavor: string;

The flavor for the nodes of the cluster.

property floatingIpEnabled

floatingIpEnabled: boolean;

Indicates whether created cluster should create IP floating IP for every node or not.

property httpProxy

httpProxy: string;

The address of a proxy for receiving all HTTP requests and relay them.

property httpsProxy

httpsProxy: string;

The address of a proxy for receiving all HTTPS requests and relay them.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property image

image: string;

The reference to an image that is used for nodes of the cluster.

property insecureRegistry

insecureRegistry: string;

The insecure registry URL for the cluster template.

property keypairId

keypairId: string;

The name of the Compute service SSH keypair.

property labels

labels: { ... };

The list of key value pairs representing additional properties of the cluster template.

property masterFlavor

masterFlavor: string;

The flavor for the master nodes.

property masterLbEnabled

masterLbEnabled: boolean;

Indicates whether created cluster should has a loadbalancer for master nodes or not.

property networkDriver

networkDriver: string;

The name of the driver for the container network.

property noProxy

noProxy: string;

A comma-separated list of IP addresses that shouldn’t be used in the cluster.

property projectId

projectId: string;

The project of the cluster template.

property public

public: boolean;

Indicates whether cluster template should be public.

property region

region: string;

See Argument Reference above.

property registryEnabled

registryEnabled: boolean;

Indicates whether Docker registry is enabled in the cluster.

property serverType

serverType: string;

The server type for the cluster template.

property tlsDisabled

tlsDisabled: boolean;

Indicates whether the TLS should be disabled in the cluster.

property updatedAt

updatedAt: string;

The time at which cluster template was updated.

property userId

userId: string;

The user of the cluster template.

property volumeDriver

volumeDriver: string;

The name of the driver that is used for the volumes of the cluster nodes.