1. Packages
  2. OpenStack
  3. API Docs
  4. containerinfra
  5. NodeGroup
OpenStack v4.0.0 published on Tuesday, May 21, 2024 by Pulumi

openstack.containerinfra.NodeGroup

Explore with Pulumi AI

openstack logo
OpenStack v4.0.0 published on Tuesday, May 21, 2024 by Pulumi

    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:

    ClusterId string
    The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
    DockerVolumeSize int
    The size (in GB) of the Docker volume. Changing this creates a new node group.
    FlavorId 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.
    ImageId 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.
    MaxNodeCount int
    The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
    MergeLabels bool
    Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
    MinNodeCount int
    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.
    NodeCount 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.
    ClusterId string
    The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
    DockerVolumeSize int
    The size (in GB) of the Docker volume. Changing this creates a new node group.
    FlavorId 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.
    ImageId 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.
    MaxNodeCount int
    The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
    MergeLabels bool
    Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
    MinNodeCount int
    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.
    NodeCount 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.
    clusterId String
    The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
    dockerVolumeSize Integer
    The size (in GB) of the Docker volume. Changing this creates a new node group.
    flavorId 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.
    imageId 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.
    maxNodeCount Integer
    The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
    mergeLabels Boolean
    Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
    minNodeCount Integer
    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.
    nodeCount 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.
    clusterId string
    The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
    dockerVolumeSize number
    The size (in GB) of the Docker volume. Changing this creates a new node group.
    flavorId 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.
    imageId 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.
    maxNodeCount number
    The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
    mergeLabels boolean
    Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
    minNodeCount number
    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.
    nodeCount 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_size int
    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_count int
    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_count int
    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.
    clusterId String
    The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
    dockerVolumeSize Number
    The size (in GB) of the Docker volume. Changing this creates a new node group.
    flavorId 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.
    imageId 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.
    maxNodeCount Number
    The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
    mergeLabels Boolean
    Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
    minNodeCount Number
    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.
    nodeCount 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:

    CreatedAt string
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId 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.
    UpdatedAt string
    CreatedAt string
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId 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.
    UpdatedAt string
    createdAt String
    id String
    The provider-assigned unique ID for this managed resource.
    projectId 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.
    updatedAt String
    createdAt string
    id string
    The provider-assigned unique ID for this managed resource.
    projectId 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.
    updatedAt string
    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
    createdAt String
    id String
    The provider-assigned unique ID for this managed resource.
    projectId 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.
    updatedAt String

    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.
    The following state arguments are supported:
    ClusterId string
    The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
    CreatedAt string
    DockerVolumeSize int
    The size (in GB) of the Docker volume. Changing this creates a new node group.
    FlavorId 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.
    ImageId 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.
    MaxNodeCount int
    The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
    MergeLabels bool
    Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
    MinNodeCount int
    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.
    NodeCount int
    The number of nodes for the node group. Changing this update the number of nodes of the node group.
    ProjectId 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.
    UpdatedAt string
    ClusterId string
    The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
    CreatedAt string
    DockerVolumeSize int
    The size (in GB) of the Docker volume. Changing this creates a new node group.
    FlavorId 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.
    ImageId 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.
    MaxNodeCount int
    The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
    MergeLabels bool
    Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
    MinNodeCount int
    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.
    NodeCount int
    The number of nodes for the node group. Changing this update the number of nodes of the node group.
    ProjectId 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.
    UpdatedAt string
    clusterId String
    The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
    createdAt String
    dockerVolumeSize Integer
    The size (in GB) of the Docker volume. Changing this creates a new node group.
    flavorId 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.
    imageId 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.
    maxNodeCount Integer
    The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
    mergeLabels Boolean
    Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
    minNodeCount Integer
    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.
    nodeCount Integer
    The number of nodes for the node group. Changing this update the number of nodes of the node group.
    projectId 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.
    updatedAt String
    clusterId string
    The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
    createdAt string
    dockerVolumeSize number
    The size (in GB) of the Docker volume. Changing this creates a new node group.
    flavorId 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.
    imageId 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.
    maxNodeCount number
    The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
    mergeLabels boolean
    Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
    minNodeCount number
    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.
    nodeCount number
    The number of nodes for the node group. Changing this update the number of nodes of the node group.
    projectId 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.
    updatedAt string
    cluster_id str
    The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
    created_at str
    docker_volume_size int
    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_count int
    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_count int
    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
    clusterId String
    The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
    createdAt String
    dockerVolumeSize Number
    The size (in GB) of the Docker volume. Changing this creates a new node group.
    flavorId 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.
    imageId 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.
    maxNodeCount Number
    The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
    mergeLabels Boolean
    Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
    minNodeCount Number
    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.
    nodeCount Number
    The number of nodes for the node group. Changing this update the number of nodes of the node group.
    projectId 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.
    updatedAt 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.
    openstack logo
    OpenStack v4.0.0 published on Tuesday, May 21, 2024 by Pulumi