openstack.containerinfra.NodeGroup
Explore with Pulumi AI
Manages a V1 Magnum node group resource within OpenStack.
Example Usage
Create a Nodegroup
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const nodegroup1 = new openstack.containerinfra.NodeGroup("nodegroup_1", {
name: "nodegroup_1",
clusterId: "b9a45c5c-cd03-4958-82aa-b80bf93cb922",
nodeCount: 5,
});
import pulumi
import pulumi_openstack as openstack
nodegroup1 = openstack.containerinfra.NodeGroup("nodegroup_1",
name="nodegroup_1",
cluster_id="b9a45c5c-cd03-4958-82aa-b80bf93cb922",
node_count=5)
package main
import (
"github.com/pulumi/pulumi-openstack/sdk/v4/go/openstack/containerinfra"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerinfra.NewNodeGroup(ctx, "nodegroup_1", &containerinfra.NodeGroupArgs{
Name: pulumi.String("nodegroup_1"),
ClusterId: pulumi.String("b9a45c5c-cd03-4958-82aa-b80bf93cb922"),
NodeCount: pulumi.Int(5),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using OpenStack = Pulumi.OpenStack;
return await Deployment.RunAsync(() =>
{
var nodegroup1 = new OpenStack.ContainerInfra.NodeGroup("nodegroup_1", new()
{
Name = "nodegroup_1",
ClusterId = "b9a45c5c-cd03-4958-82aa-b80bf93cb922",
NodeCount = 5,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.openstack.containerinfra.NodeGroup;
import com.pulumi.openstack.containerinfra.NodeGroupArgs;
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 nodegroup1 = new NodeGroup("nodegroup1", NodeGroupArgs.builder()
.name("nodegroup_1")
.clusterId("b9a45c5c-cd03-4958-82aa-b80bf93cb922")
.nodeCount(5)
.build());
}
}
resources:
nodegroup1:
type: openstack:containerinfra:NodeGroup
name: nodegroup_1
properties:
name: nodegroup_1
clusterId: b9a45c5c-cd03-4958-82aa-b80bf93cb922
nodeCount: 5
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 node group was created.updated_at
- The time at which node group was created.docker_volume_size
- See Argument Reference above.role
- See Argument Reference above.image_id
- See Argument Reference above.flavor_id
- See Argument Reference above.labels
- See Argument Reference above.node_count
- See Argument Reference above.min_node_count
- See Argument Reference above.max_node_count
- See Argument Reference above.role
- See Argument Reference above.
Create NodeGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NodeGroup(name: string, args: NodeGroupArgs, opts?: CustomResourceOptions);
@overload
def NodeGroup(resource_name: str,
args: NodeGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NodeGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
docker_volume_size: Optional[int] = None,
flavor_id: Optional[str] = None,
image_id: Optional[str] = None,
labels: Optional[Mapping[str, Any]] = None,
max_node_count: Optional[int] = None,
merge_labels: Optional[bool] = None,
min_node_count: Optional[int] = None,
name: Optional[str] = None,
node_count: Optional[int] = None,
region: Optional[str] = None,
role: Optional[str] = None)
func NewNodeGroup(ctx *Context, name string, args NodeGroupArgs, opts ...ResourceOption) (*NodeGroup, error)
public NodeGroup(string name, NodeGroupArgs args, CustomResourceOptions? opts = null)
public NodeGroup(String name, NodeGroupArgs args)
public NodeGroup(String name, NodeGroupArgs args, CustomResourceOptions options)
type: openstack:containerinfra:NodeGroup
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 NodeGroupArgs
- 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 NodeGroupArgs
- 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 NodeGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NodeGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NodeGroupArgs
- 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 nodeGroupResource = new OpenStack.ContainerInfra.NodeGroup("nodeGroupResource", new()
{
ClusterId = "string",
DockerVolumeSize = 0,
FlavorId = "string",
ImageId = "string",
Labels =
{
{ "string", "any" },
},
MaxNodeCount = 0,
MergeLabels = false,
MinNodeCount = 0,
Name = "string",
NodeCount = 0,
Region = "string",
Role = "string",
});
example, err := containerinfra.NewNodeGroup(ctx, "nodeGroupResource", &containerinfra.NodeGroupArgs{
ClusterId: pulumi.String("string"),
DockerVolumeSize: pulumi.Int(0),
FlavorId: pulumi.String("string"),
ImageId: pulumi.String("string"),
Labels: pulumi.Map{
"string": pulumi.Any("any"),
},
MaxNodeCount: pulumi.Int(0),
MergeLabels: pulumi.Bool(false),
MinNodeCount: pulumi.Int(0),
Name: pulumi.String("string"),
NodeCount: pulumi.Int(0),
Region: pulumi.String("string"),
Role: pulumi.String("string"),
})
var nodeGroupResource = new NodeGroup("nodeGroupResource", NodeGroupArgs.builder()
.clusterId("string")
.dockerVolumeSize(0)
.flavorId("string")
.imageId("string")
.labels(Map.of("string", "any"))
.maxNodeCount(0)
.mergeLabels(false)
.minNodeCount(0)
.name("string")
.nodeCount(0)
.region("string")
.role("string")
.build());
node_group_resource = openstack.containerinfra.NodeGroup("nodeGroupResource",
cluster_id="string",
docker_volume_size=0,
flavor_id="string",
image_id="string",
labels={
"string": "any",
},
max_node_count=0,
merge_labels=False,
min_node_count=0,
name="string",
node_count=0,
region="string",
role="string")
const nodeGroupResource = new openstack.containerinfra.NodeGroup("nodeGroupResource", {
clusterId: "string",
dockerVolumeSize: 0,
flavorId: "string",
imageId: "string",
labels: {
string: "any",
},
maxNodeCount: 0,
mergeLabels: false,
minNodeCount: 0,
name: "string",
nodeCount: 0,
region: "string",
role: "string",
});
type: openstack:containerinfra:NodeGroup
properties:
clusterId: string
dockerVolumeSize: 0
flavorId: string
imageId: string
labels:
string: any
maxNodeCount: 0
mergeLabels: false
minNodeCount: 0
name: string
nodeCount: 0
region: string
role: string
NodeGroup 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 NodeGroup resource accepts the following input properties:
- Cluster
Id string - The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
- Docker
Volume intSize - The size (in GB) of the Docker volume. Changing this creates a new node group.
- Flavor
Id string - The flavor for the nodes of the node group. Can be set
via the
OS_MAGNUM_FLAVOR
environment variable. Changing this creates a new node group. - Image
Id string - The reference to an image that is used for nodes of the
node group. Can be set via the
OS_MAGNUM_IMAGE
environment variable. Changing this updates the image attribute of the existing node group. - Labels Dictionary<string, object>
- The list of key value pairs representing additional properties of the node group. Changing this creates a new node group.
- Max
Node intCount - The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
- Merge
Labels bool - Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
- Min
Node intCount - The minimum number of nodes for the node group. Changing this update the minimum number of nodes of the node group.
- Name string
- The name of the node group. Changing this creates a new node group.
- Node
Count int - The number of nodes for the node group. Changing this update the number of nodes of the node group.
- 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 node group. - Role string
- The role of nodes in the node group. Changing this creates a new node group.
- Cluster
Id string - The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
- Docker
Volume intSize - The size (in GB) of the Docker volume. Changing this creates a new node group.
- Flavor
Id string - The flavor for the nodes of the node group. Can be set
via the
OS_MAGNUM_FLAVOR
environment variable. Changing this creates a new node group. - Image
Id string - The reference to an image that is used for nodes of the
node group. Can be set via the
OS_MAGNUM_IMAGE
environment variable. Changing this updates the image attribute of the existing node group. - Labels map[string]interface{}
- The list of key value pairs representing additional properties of the node group. Changing this creates a new node group.
- Max
Node intCount - The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
- Merge
Labels bool - Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
- Min
Node intCount - The minimum number of nodes for the node group. Changing this update the minimum number of nodes of the node group.
- Name string
- The name of the node group. Changing this creates a new node group.
- Node
Count int - The number of nodes for the node group. Changing this update the number of nodes of the node group.
- 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 node group. - Role string
- The role of nodes in the node group. Changing this creates a new node group.
- cluster
Id String - The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
- docker
Volume IntegerSize - The size (in GB) of the Docker volume. Changing this creates a new node group.
- flavor
Id String - The flavor for the nodes of the node group. Can be set
via the
OS_MAGNUM_FLAVOR
environment variable. Changing this creates a new node group. - image
Id String - The reference to an image that is used for nodes of the
node group. Can be set via the
OS_MAGNUM_IMAGE
environment variable. Changing this updates the image attribute of the existing node group. - labels Map<String,Object>
- The list of key value pairs representing additional properties of the node group. Changing this creates a new node group.
- max
Node IntegerCount - The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
- merge
Labels Boolean - Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
- min
Node IntegerCount - The minimum number of nodes for the node group. Changing this update the minimum number of nodes of the node group.
- name String
- The name of the node group. Changing this creates a new node group.
- node
Count Integer - The number of nodes for the node group. Changing this update the number of nodes of the node group.
- 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 node group. - role String
- The role of nodes in the node group. Changing this creates a new node group.
- cluster
Id string - The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
- docker
Volume numberSize - The size (in GB) of the Docker volume. Changing this creates a new node group.
- flavor
Id string - The flavor for the nodes of the node group. Can be set
via the
OS_MAGNUM_FLAVOR
environment variable. Changing this creates a new node group. - image
Id string - The reference to an image that is used for nodes of the
node group. Can be set via the
OS_MAGNUM_IMAGE
environment variable. Changing this updates the image attribute of the existing node group. - labels {[key: string]: any}
- The list of key value pairs representing additional properties of the node group. Changing this creates a new node group.
- max
Node numberCount - The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
- merge
Labels boolean - Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
- min
Node numberCount - The minimum number of nodes for the node group. Changing this update the minimum number of nodes of the node group.
- name string
- The name of the node group. Changing this creates a new node group.
- node
Count number - The number of nodes for the node group. Changing this update the number of nodes of the node group.
- 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 node group. - role string
- The role of nodes in the node group. Changing this creates a new node group.
- cluster_
id str - The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
- docker_
volume_ intsize - The size (in GB) of the Docker volume. Changing this creates a new node group.
- flavor_
id str - The flavor for the nodes of the node group. Can be set
via the
OS_MAGNUM_FLAVOR
environment variable. Changing this creates a new node group. - image_
id str - The reference to an image that is used for nodes of the
node group. Can be set via the
OS_MAGNUM_IMAGE
environment variable. Changing this updates the image attribute of the existing node group. - labels Mapping[str, Any]
- The list of key value pairs representing additional properties of the node group. Changing this creates a new node group.
- max_
node_ intcount - The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
- merge_
labels bool - Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
- min_
node_ intcount - The minimum number of nodes for the node group. Changing this update the minimum number of nodes of the node group.
- name str
- The name of the node group. Changing this creates a new node group.
- node_
count int - The number of nodes for the node group. Changing this update the number of nodes of the node group.
- 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 node group. - role str
- The role of nodes in the node group. Changing this creates a new node group.
- cluster
Id String - The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
- docker
Volume NumberSize - The size (in GB) of the Docker volume. Changing this creates a new node group.
- flavor
Id String - The flavor for the nodes of the node group. Can be set
via the
OS_MAGNUM_FLAVOR
environment variable. Changing this creates a new node group. - image
Id String - The reference to an image that is used for nodes of the
node group. Can be set via the
OS_MAGNUM_IMAGE
environment variable. Changing this updates the image attribute of the existing node group. - labels Map<Any>
- The list of key value pairs representing additional properties of the node group. Changing this creates a new node group.
- max
Node NumberCount - The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
- merge
Labels Boolean - Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
- min
Node NumberCount - The minimum number of nodes for the node group. Changing this update the minimum number of nodes of the node group.
- name String
- The name of the node group. Changing this creates a new node group.
- node
Count Number - The number of nodes for the node group. Changing this update the number of nodes of the node group.
- 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 node group. - role String
- The role of nodes in the node group. Changing this creates a new node group.
Outputs
All input properties are implicitly available as output properties. Additionally, the NodeGroup resource produces the following output properties:
- created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- project_
id str - The project of the node group. Required if admin wants to create a cluster in another project. Changing this creates a new node group.
- updated_
at str
Look up Existing NodeGroup Resource
Get an existing NodeGroup 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?: NodeGroupState, opts?: CustomResourceOptions): NodeGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
created_at: Optional[str] = None,
docker_volume_size: Optional[int] = None,
flavor_id: Optional[str] = None,
image_id: Optional[str] = None,
labels: Optional[Mapping[str, Any]] = None,
max_node_count: Optional[int] = None,
merge_labels: Optional[bool] = None,
min_node_count: Optional[int] = None,
name: Optional[str] = None,
node_count: Optional[int] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
role: Optional[str] = None,
updated_at: Optional[str] = None) -> NodeGroup
func GetNodeGroup(ctx *Context, name string, id IDInput, state *NodeGroupState, opts ...ResourceOption) (*NodeGroup, error)
public static NodeGroup Get(string name, Input<string> id, NodeGroupState? state, CustomResourceOptions? opts = null)
public static NodeGroup get(String name, Output<String> id, NodeGroupState 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.
- Cluster
Id string - The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
- Created
At string - Docker
Volume intSize - The size (in GB) of the Docker volume. Changing this creates a new node group.
- Flavor
Id string - The flavor for the nodes of the node group. Can be set
via the
OS_MAGNUM_FLAVOR
environment variable. Changing this creates a new node group. - Image
Id string - The reference to an image that is used for nodes of the
node group. Can be set via the
OS_MAGNUM_IMAGE
environment variable. Changing this updates the image attribute of the existing node group. - Labels Dictionary<string, object>
- The list of key value pairs representing additional properties of the node group. Changing this creates a new node group.
- Max
Node intCount - The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
- Merge
Labels bool - Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
- Min
Node intCount - The minimum number of nodes for the node group. Changing this update the minimum number of nodes of the node group.
- Name string
- The name of the node group. Changing this creates a new node group.
- Node
Count int - The number of nodes for the node group. Changing this update the number of nodes of the node group.
- Project
Id string - The project of the node group. Required if admin wants to create a cluster in another project. Changing this creates a new node group.
- 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 node group. - Role string
- The role of nodes in the node group. Changing this creates a new node group.
- Updated
At string
- Cluster
Id string - The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
- Created
At string - Docker
Volume intSize - The size (in GB) of the Docker volume. Changing this creates a new node group.
- Flavor
Id string - The flavor for the nodes of the node group. Can be set
via the
OS_MAGNUM_FLAVOR
environment variable. Changing this creates a new node group. - Image
Id string - The reference to an image that is used for nodes of the
node group. Can be set via the
OS_MAGNUM_IMAGE
environment variable. Changing this updates the image attribute of the existing node group. - Labels map[string]interface{}
- The list of key value pairs representing additional properties of the node group. Changing this creates a new node group.
- Max
Node intCount - The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
- Merge
Labels bool - Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
- Min
Node intCount - The minimum number of nodes for the node group. Changing this update the minimum number of nodes of the node group.
- Name string
- The name of the node group. Changing this creates a new node group.
- Node
Count int - The number of nodes for the node group. Changing this update the number of nodes of the node group.
- Project
Id string - The project of the node group. Required if admin wants to create a cluster in another project. Changing this creates a new node group.
- 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 node group. - Role string
- The role of nodes in the node group. Changing this creates a new node group.
- Updated
At string
- cluster
Id String - The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
- created
At String - docker
Volume IntegerSize - The size (in GB) of the Docker volume. Changing this creates a new node group.
- flavor
Id String - The flavor for the nodes of the node group. Can be set
via the
OS_MAGNUM_FLAVOR
environment variable. Changing this creates a new node group. - image
Id String - The reference to an image that is used for nodes of the
node group. Can be set via the
OS_MAGNUM_IMAGE
environment variable. Changing this updates the image attribute of the existing node group. - labels Map<String,Object>
- The list of key value pairs representing additional properties of the node group. Changing this creates a new node group.
- max
Node IntegerCount - The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
- merge
Labels Boolean - Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
- min
Node IntegerCount - The minimum number of nodes for the node group. Changing this update the minimum number of nodes of the node group.
- name String
- The name of the node group. Changing this creates a new node group.
- node
Count Integer - The number of nodes for the node group. Changing this update the number of nodes of the node group.
- project
Id String - The project of the node group. Required if admin wants to create a cluster in another project. Changing this creates a new node group.
- 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 node group. - role String
- The role of nodes in the node group. Changing this creates a new node group.
- updated
At String
- cluster
Id string - The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
- created
At string - docker
Volume numberSize - The size (in GB) of the Docker volume. Changing this creates a new node group.
- flavor
Id string - The flavor for the nodes of the node group. Can be set
via the
OS_MAGNUM_FLAVOR
environment variable. Changing this creates a new node group. - image
Id string - The reference to an image that is used for nodes of the
node group. Can be set via the
OS_MAGNUM_IMAGE
environment variable. Changing this updates the image attribute of the existing node group. - labels {[key: string]: any}
- The list of key value pairs representing additional properties of the node group. Changing this creates a new node group.
- max
Node numberCount - The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
- merge
Labels boolean - Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
- min
Node numberCount - The minimum number of nodes for the node group. Changing this update the minimum number of nodes of the node group.
- name string
- The name of the node group. Changing this creates a new node group.
- node
Count number - The number of nodes for the node group. Changing this update the number of nodes of the node group.
- project
Id string - The project of the node group. Required if admin wants to create a cluster in another project. Changing this creates a new node group.
- 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 node group. - role string
- The role of nodes in the node group. Changing this creates a new node group.
- updated
At string
- cluster_
id str - The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
- created_
at str - docker_
volume_ intsize - The size (in GB) of the Docker volume. Changing this creates a new node group.
- flavor_
id str - The flavor for the nodes of the node group. Can be set
via the
OS_MAGNUM_FLAVOR
environment variable. Changing this creates a new node group. - image_
id str - The reference to an image that is used for nodes of the
node group. Can be set via the
OS_MAGNUM_IMAGE
environment variable. Changing this updates the image attribute of the existing node group. - labels Mapping[str, Any]
- The list of key value pairs representing additional properties of the node group. Changing this creates a new node group.
- max_
node_ intcount - The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
- merge_
labels bool - Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
- min_
node_ intcount - The minimum number of nodes for the node group. Changing this update the minimum number of nodes of the node group.
- name str
- The name of the node group. Changing this creates a new node group.
- node_
count int - The number of nodes for the node group. Changing this update the number of nodes of the node group.
- project_
id str - The project of the node group. Required if admin wants to create a cluster in another project. Changing this creates a new node group.
- 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 node group. - role str
- The role of nodes in the node group. Changing this creates a new node group.
- updated_
at str
- cluster
Id String - The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
- created
At String - docker
Volume NumberSize - The size (in GB) of the Docker volume. Changing this creates a new node group.
- flavor
Id String - The flavor for the nodes of the node group. Can be set
via the
OS_MAGNUM_FLAVOR
environment variable. Changing this creates a new node group. - image
Id String - The reference to an image that is used for nodes of the
node group. Can be set via the
OS_MAGNUM_IMAGE
environment variable. Changing this updates the image attribute of the existing node group. - labels Map<Any>
- The list of key value pairs representing additional properties of the node group. Changing this creates a new node group.
- max
Node NumberCount - The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
- merge
Labels Boolean - Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
- min
Node NumberCount - The minimum number of nodes for the node group. Changing this update the minimum number of nodes of the node group.
- name String
- The name of the node group. Changing this creates a new node group.
- node
Count Number - The number of nodes for the node group. Changing this update the number of nodes of the node group.
- project
Id String - The project of the node group. Required if admin wants to create a cluster in another project. Changing this creates a new node group.
- 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 node group. - role String
- The role of nodes in the node group. Changing this creates a new node group.
- updated
At String
Import
Node groups can be imported using the id
(cluster_id/nodegroup_id), e.g.
$ pulumi import openstack:containerinfra/nodeGroup:NodeGroup nodegroup_1 b9a45c5c-cd03-4958-82aa-b80bf93cb922/ce0f9463-dd25-474b-9fe8-94de63e5e42b
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- OpenStack pulumi/pulumi-openstack
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
openstack
Terraform Provider.