Module containerinfra
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the
pulumi/pulumi-openstackrepo; however, if that doesn’t turn up anything, please consult the sourceterraform-providers/terraform-provider-openstackrepo.
Resources
Functions
Others
- ClusterArgs
- ClusterState
- ClusterTemplateArgs
- ClusterTemplateState
- GetClusterArgs
- GetClusterResult
- GetClusterTemplateArgs
- GetClusterTemplateResult
Resources
Resource Cluster
class Cluster extends CustomResourceManages a V1 Magnum cluster resource within OpenStack.
Example Usage
Create a Cluster
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const cluster1 = new openstack.containerinfra.Cluster("cluster1", {
clusterTemplateId: "b9a45c5c-cd03-4958-82aa-b80bf93cb922",
keypair: "sshKeypair",
masterCount: 3,
nodeCount: 5,
});Argument reference
The following arguments are supported:
region- (Optional) The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster. If omitted, theregionargument of the provider is used. Changing this creates a new cluster.name- (Required) The name of the cluster. Changing this updates the name of the existing cluster template.projectId- (Optional) The project of the cluster. Required if admin wants to create a cluster in another project. Changing this creates a new cluster.userId- (Optional) The user of the cluster. Required if admin wants to create a cluster template for another user. Changing this creates a new cluster.clusterTemplateId- (Required) The UUID of the V1 Container Infra cluster template. Changing this creates a new cluster.createTimeout- (Optional) The timeout (in minutes) for creating the cluster. Changing this creates a new cluster.discoveryUrl- (Optional) The URL used for cluster node discovery. Changing this creates a new cluster.dockerVolumeSize- (Optional) The size (in GB) of the Docker volume. Changing this creates a new cluster.flavor- (Optional) The flavor for the nodes of the cluster. Can be set via theOS_MAGNUM_FLAVORenvironment variable. Changing this creates a new cluster.masterFlavor- (Optional) The flavor for the master nodes. Can be set via theOS_MAGNUM_MASTER_FLAVORenvironment variable. Changing this creates a new cluster.keypair- (Optional) The name of the Compute service SSH keypair. Changing this creates a new cluster.labels- (Optional) The list of key value pairs representing additional properties of the cluster. Changing this creates a new cluster.masterCount- (Optional) The number of master nodes for the cluster. Changing this creates a new cluster.nodeCount- (Optional) The number of nodes for the cluster. Changing this creates a new cluster.fixedNetwork- (Optional) The fixed network that will be attached to the cluster. Changing this creates a new cluster.fixedSubnet- (Optional) The fixed subnet that will be attached to the cluster. Changing this creates a new cluster.
Attributes reference
The following attributes are exported:
region- See Argument Reference above.name- See Argument Reference above.projectId- See Argument Reference above.createdAt- The time at which cluster was created.updatedAt- The time at which cluster was created.apiAddress- COE API address.coeVersion- COE software version.clusterTemplateId- See Argument Reference above.containerVersion- Container software version.createTimeout- See Argument Reference above.discoveryUrl- See Argument Reference above.dockerVolumeSize- See Argument Reference above.flavor- See Argument Reference above.masterFlavor- See Argument Reference above.keypair- See Argument Reference above.labels- See Argument Reference above.masterCount- See Argument Reference above.nodeCount- See Argument Reference above.fixedNetwork- See Argument Reference above.fixedSubnet- See Argument Reference above.masterAddresses- IP addresses of the master node of the cluster.nodeAddresses- IP addresses of the node of the cluster.stackId- UUID of the Orchestration service stack.kubeconfig- The Kubernetes cluster’s credentialsrawConfig- The raw kubeconfig filehost- The cluster’s API server URLclusterCaCertificate- The cluster’s CA certificateclientKey- The client’s RSA keyclientCertificate- The client’s certificate
constructor
new Cluster(name: string, args: ClusterArgs, opts?: pulumi.CustomResourceOptions)Create a Cluster resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClusterState, opts?: pulumi.CustomResourceOptions): ClusterGet 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 | undefinedmethod isInstance
public static isInstance(obj: any): obj is ClusterReturns true if the given object is an instance of Cluster. 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 fixedNetwork
public fixedNetwork: pulumi.Output<string>;property fixedSubnet
public fixedSubnet: pulumi.Output<string>;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 kubeconfig
public kubeconfig: pulumi.Output<ClusterKubeconfig>;property labels
public labels: pulumi.Output<{[key: string]: any}>;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>;Resource ClusterTemplate
class ClusterTemplate extends CustomResourceManages a V1 Magnum cluster template resource within OpenStack.
Example Usage
Create a Cluster template
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const clustertemplate1 = new openstack.containerinfra.ClusterTemplate("clustertemplate1", {
coe: "kubernetes",
dnsNameserver: "1.1.1.1",
dockerStorageDriver: "devicemapper",
dockerVolumeSize: 10,
flavor: "m1.small",
floatingIpEnabled: false,
image: "Fedora-Atomic-27",
labels: {
influx_grafana_dashboard_enabled: "true",
kube_dashboard_enabled: "true",
kube_tag: "1.11.1",
prometheus_monitoring: "true",
},
masterFlavor: "m1.medium",
masterLbEnabled: true,
networkDriver: "flannel",
serverType: "vm",
volumeDriver: "cinder",
});Argument reference
The following arguments are supported:
region- (Optional) The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster template. If omitted,theregionargument of the provider is used. Changing this creates a new cluster template.name- (Required) The name of the cluster template. Changing this updates the name of the existing cluster template.projectId- (Optional) The project of the cluster template. Required if admin wants to create a cluster template in another project. Changing this creates a new cluster template.userId- (Optional) The user of the cluster template. Required if admin wants to create a cluster template for another user. Changing this creates a new cluster template.apiserverPort- (Optional) The API server port for the Container Orchestration Engine for this cluster template. Changing this updates the API server port of the existing cluster template.coe- (Required) The Container Orchestration Engine for this cluster template. Changing this updates the engine of the existing cluster template.clusterDistro- (Optional) The distro for the cluster (fedora-atomic, coreos, etc.). Changing this updates the cluster distro of the existing cluster template.dnsNameserver- (Optional) Address of the DNS nameserver that is used in nodes of the cluster. Changing this updates the DNS nameserver of the existing cluster template.dockerStorageDriver- (Optional) Docker storage driver. Changing this updates the Docker storage driver of the existing cluster template.dockerVolumeSize- (Optional) The size (in GB) of the Docker volume. Changing this updates the Docker volume size of the existing cluster template.externalNetworkId- (Optional) The ID of the external network that will be used for the cluster. Changing this updates the external network ID of the existing cluster template.fixedNetwork- (Optional) The fixed network that will be attached to the cluster. Changing this updates the fixed network of the existing cluster template.fixedSubnet- (Optional) The fixed subnet that will be attached to the cluster. Changing this updates the fixed subnet of the existing cluster template.flavor- (Optional) The flavor for the nodes of the cluster. Can be set via theOS_MAGNUM_FLAVORenvironment variable. Changing this updates the flavor of the existing cluster template.masterFlavor- (Optional) The flavor for the master nodes. Can be set via theOS_MAGNUM_MASTER_FLAVORenvironment variable. Changing this updates the master flavor of the existing cluster template.floatingIpEnabled- (Optional) Indicates whether created cluster should create floating IP for every node or not. Changing this updates the floating IP enabled attribute of the existing cluster template.httpProxy- (Optional) The address of a proxy for receiving all HTTP requests and relay them. Changing this updates the HTTP proxy address of the existing cluster template.httpsProxy- (Optional) The address of a proxy for receiving all HTTPS requests and relay them. Changing this updates the HTTPS proxy address of the existing cluster template.image- (Required) The reference to an image that is used for nodes of the cluster. Can be set via theOS_MAGNUM_IMAGEenvironment variable. Changing this updates the image attribute of the existing cluster template.insecureRegistry- (Optional) The insecure registry URL for the cluster template. Changing this updates the insecure registry attribute of the existing cluster template.keypairId- (Optional) The name of the Compute service SSH keypair. Changing this updates the keypair of the existing cluster template.labels- (Optional) The list of key value pairs representing additional properties of the cluster template. Changing this updates the labels of the existing cluster template.masterLbEnabled- (Optional) Indicates whether created cluster should has a loadbalancer for master nodes or not. Changing this updates the attribute of the existing cluster template.networkDriver- (Optional) The name of the driver for the container network. Changing this updates the network driver of the existing cluster template.noProxy- (Optional) A comma-separated list of IP addresses that shouldn’t be used in the cluster. Changing this updates the no proxy list of the existing cluster template.public- (Optional) Indicates whether cluster template should be public. Changing this updates the public attribute of the existing cluster template.registryEnabled- (Optional) Indicates whether Docker registry is enabled in the cluster. Changing this updates the registry enabled attribute of the existing cluster template.serverType- (Optional) The server type for the cluster template. Changing this updates the server type of the existing cluster template.tlsDisabled- (Optional) Indicates whether the TLS should be disabled in the cluster. Changing this updates the attribute of the existing cluster.volumeDriver- (Optional) The name of the driver that is used for the volumes of the cluster nodes. Changing this updates the volume driver of the existing cluster template.
Attributes reference
The following attributes are exported:
region- See Argument Reference above.name- See Argument Reference above.projectId- See Argument Reference above.createdAt- The time at which cluster template was created.updatedAt- The time at which cluster template was created.apiserverPort- See Argument Reference above.coe- See Argument Reference above.clusterDistro- See Argument Reference above.dnsNameserver- See Argument Reference above.dockerStorageDriver- See Argument Reference above.dockerVolumeSize- See Argument Reference above.externalNetworkId- See Argument Reference above.fixedNetwork- See Argument Reference above.fixedSubnet- See Argument Reference above.flavor- See Argument Reference above.masterFlavor- See Argument Reference above.floatingIpEnabled- See Argument Reference above.httpProxy- See Argument Reference above.httpsProxy- See Argument Reference above.image- See Argument Reference above.insecureRegistry- See Argument Reference above.keypairId- See Argument Reference above.labels- See Argument Reference above.links- A list containing associated cluster template links.masterLbEnabled- See Argument Reference above.networkDriver- See Argument Reference above.noProxy- See Argument Reference above.public- See Argument Reference above.registryEnabled- See Argument Reference above.serverType- See Argument Reference above.tlsDisabled- See Argument Reference above.volumeDriver- See Argument Reference above.
constructor
new ClusterTemplate(name: string, args: ClusterTemplateArgs, opts?: pulumi.CustomResourceOptions)Create a ClusterTemplate resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClusterTemplateState, opts?: pulumi.CustomResourceOptions): ClusterTemplateGet 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 | undefinedmethod isInstance
public static isInstance(obj: any): obj is ClusterTemplateReturns true if the given object is an instance of ClusterTemplate. 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<{[key: string]: any} | 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>;Functions
Function getCluster
getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterResult>Use this data source to get the ID of an available OpenStack Magnum cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const cluster1 = pulumi.output(openstack.containerinfra.getCluster({
name: "cluster1",
}, { async: true }));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.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const clustertemplate1 = pulumi.output(openstack.containerinfra.getClusterTemplate({
name: "clustertemplate1",
}, { async: true }));Others
interface ClusterArgs
interface ClusterArgsThe 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 fixedNetwork
fixedNetwork?: pulumi.Input<string>;property fixedSubnet
fixedSubnet?: pulumi.Input<string>;property flavor
flavor?: pulumi.Input<string>;property keypair
keypair?: pulumi.Input<string>;property labels
labels?: pulumi.Input<{[key: string]: any}>;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
interface ClusterStateInput 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 fixedNetwork
fixedNetwork?: pulumi.Input<string>;property fixedSubnet
fixedSubnet?: pulumi.Input<string>;property flavor
flavor?: pulumi.Input<string>;property keypair
keypair?: pulumi.Input<string>;property kubeconfig
kubeconfig?: pulumi.Input<ClusterKubeconfig>;property labels
labels?: pulumi.Input<{[key: string]: any}>;property masterAddresses
masterAddresses?: pulumi.Input<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<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
interface ClusterTemplateArgsThe 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<{[key: string]: any}>;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
interface ClusterTemplateStateInput 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<{[key: string]: any}>;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 GetClusterArgs
interface GetClusterArgsA collection of arguments for invoking getCluster.
property name
name: string;The name of the cluster.
property region
region?: undefined | string;The region in which to obtain the V1 Container Infra
client.
If omitted, the region argument of the provider is used.
interface GetClusterResult
interface GetClusterResultA collection of values returned by getCluster.
property apiAddress
apiAddress: string;COE API address.
property clusterTemplateId
clusterTemplateId: string;The UUID of the V1 Container Infra cluster template.
property coeVersion
coeVersion: string;COE software version.
property containerVersion
containerVersion: string;property createTimeout
createTimeout: number;The timeout (in minutes) for creating the cluster.
property createdAt
createdAt: string;The time at which cluster was created.
property discoveryUrl
discoveryUrl: string;The URL used for cluster node discovery.
property dockerVolumeSize
dockerVolumeSize: number;The size (in GB) of the Docker volume.
property fixedNetwork
fixedNetwork: string;The fixed network that is attached to the cluster.
property fixedSubnet
fixedSubnet: string;The fixed subnet that is attached to the cluster.
property flavor
flavor: string;The flavor for the nodes of the cluster.
property id
id: string;The provider-assigned unique ID for this managed resource.
property keypair
keypair: string;The name of the Compute service SSH keypair.
property labels
labels: {[key: string]: any};The list of key value pairs representing additional properties of the cluster.
property masterAddresses
masterAddresses: string[];IP addresses of the master node of the cluster.
property masterCount
masterCount: number;The number of master nodes for the cluster.
property masterFlavor
masterFlavor: string;The flavor for the master nodes.
property name
name: string;See Argument Reference above.
property nodeAddresses
nodeAddresses: string[];IP addresses of the node of the cluster.
property nodeCount
nodeCount: number;The number of nodes for the cluster.
property projectId
projectId: string;The project of the cluster.
property region
region: string;See Argument Reference above.
property stackId
stackId: string;UUID of the Orchestration service stack.
property updatedAt
updatedAt: string;The time at which cluster was updated.
property userId
userId: string;The user of the cluster.
interface GetClusterTemplateArgs
interface GetClusterTemplateArgsA collection of arguments for invoking getClusterTemplate.
property name
name: string;The name of the cluster template.
property region
region?: undefined | string;The region in which to obtain the V1 Container Infra
client.
If omitted, the region argument of the provider is used.
interface GetClusterTemplateResult
interface GetClusterTemplateResultA 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;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: {[key: string]: any};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 name
name: string;See Argument Reference above.
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.