edgecenter.K8sPool
Explore with Pulumi AI
Represent k8s cluster’s pool.
WARNING: Resource “edgecenter.K8sPool” is deprecated and unavailable.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as edgecenter from "@pulumi/edgecenter";
const k8sPool = new edgecenter.K8sPool("k8sPool", {
clusterId: "6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25",
dockerVolumeSize: 2,
flavorId: "g1-standard-1-2",
maxNodeCount: 2,
minNodeCount: 1,
nodeCount: 1,
projectId: 1,
regionId: 1,
});
import pulumi
import pulumi_edgecenter as edgecenter
k8s_pool = edgecenter.K8sPool("k8sPool",
cluster_id="6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25",
docker_volume_size=2,
flavor_id="g1-standard-1-2",
max_node_count=2,
min_node_count=1,
node_count=1,
project_id=1,
region_id=1)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/edgecenter/edgecenter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := edgecenter.NewK8sPool(ctx, "k8sPool", &edgecenter.K8sPoolArgs{
ClusterId: pulumi.String("6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25"),
DockerVolumeSize: pulumi.Float64(2),
FlavorId: pulumi.String("g1-standard-1-2"),
MaxNodeCount: pulumi.Float64(2),
MinNodeCount: pulumi.Float64(1),
NodeCount: pulumi.Float64(1),
ProjectId: pulumi.Float64(1),
RegionId: pulumi.Float64(1),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Edgecenter = Pulumi.Edgecenter;
return await Deployment.RunAsync(() =>
{
var k8sPool = new Edgecenter.K8sPool("k8sPool", new()
{
ClusterId = "6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25",
DockerVolumeSize = 2,
FlavorId = "g1-standard-1-2",
MaxNodeCount = 2,
MinNodeCount = 1,
NodeCount = 1,
ProjectId = 1,
RegionId = 1,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.edgecenter.K8sPool;
import com.pulumi.edgecenter.K8sPoolArgs;
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 k8sPool = new K8sPool("k8sPool", K8sPoolArgs.builder()
.clusterId("6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25")
.dockerVolumeSize(2)
.flavorId("g1-standard-1-2")
.maxNodeCount(2)
.minNodeCount(1)
.nodeCount(1)
.projectId(1)
.regionId(1)
.build());
}
}
resources:
k8sPool:
type: edgecenter:K8sPool
properties:
clusterId: 6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25
dockerVolumeSize: 2
flavorId: g1-standard-1-2
maxNodeCount: 2
minNodeCount: 1
nodeCount: 1
projectId: 1
regionId: 1
Create K8sPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new K8sPool(name: string, args: K8sPoolArgs, opts?: CustomResourceOptions);
@overload
def K8sPool(resource_name: str,
args: K8sPoolInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def K8sPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
max_node_count: Optional[float] = None,
cluster_id: Optional[str] = None,
min_node_count: Optional[float] = None,
flavor_id: Optional[str] = None,
node_count: Optional[float] = None,
k8s_pool_id: Optional[str] = None,
docker_volume_size: Optional[float] = None,
project_id: Optional[float] = None,
last_updated: Optional[str] = None,
name: Optional[str] = None,
docker_volume_type: Optional[str] = None,
project_name: Optional[str] = None,
region_id: Optional[float] = None,
region_name: Optional[str] = None,
timeouts: Optional[K8sPoolTimeoutsArgs] = None)
func NewK8sPool(ctx *Context, name string, args K8sPoolArgs, opts ...ResourceOption) (*K8sPool, error)
public K8sPool(string name, K8sPoolArgs args, CustomResourceOptions? opts = null)
public K8sPool(String name, K8sPoolArgs args)
public K8sPool(String name, K8sPoolArgs args, CustomResourceOptions options)
type: edgecenter:K8sPool
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 K8sPoolArgs
- 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 K8sPoolInitArgs
- 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 K8sPoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args K8sPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args K8sPoolArgs
- 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 k8sPoolResource = new Edgecenter.K8sPool("k8sPoolResource", new()
{
MaxNodeCount = 0,
ClusterId = "string",
MinNodeCount = 0,
FlavorId = "string",
NodeCount = 0,
K8sPoolId = "string",
DockerVolumeSize = 0,
ProjectId = 0,
LastUpdated = "string",
Name = "string",
DockerVolumeType = "string",
ProjectName = "string",
RegionId = 0,
RegionName = "string",
Timeouts = new Edgecenter.Inputs.K8sPoolTimeoutsArgs
{
Create = "string",
Update = "string",
},
});
example, err := edgecenter.NewK8sPool(ctx, "k8sPoolResource", &edgecenter.K8sPoolArgs{
MaxNodeCount: pulumi.Float64(0),
ClusterId: pulumi.String("string"),
MinNodeCount: pulumi.Float64(0),
FlavorId: pulumi.String("string"),
NodeCount: pulumi.Float64(0),
K8sPoolId: pulumi.String("string"),
DockerVolumeSize: pulumi.Float64(0),
ProjectId: pulumi.Float64(0),
LastUpdated: pulumi.String("string"),
Name: pulumi.String("string"),
DockerVolumeType: pulumi.String("string"),
ProjectName: pulumi.String("string"),
RegionId: pulumi.Float64(0),
RegionName: pulumi.String("string"),
Timeouts: &edgecenter.K8sPoolTimeoutsArgs{
Create: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var k8sPoolResource = new K8sPool("k8sPoolResource", K8sPoolArgs.builder()
.maxNodeCount(0)
.clusterId("string")
.minNodeCount(0)
.flavorId("string")
.nodeCount(0)
.k8sPoolId("string")
.dockerVolumeSize(0)
.projectId(0)
.lastUpdated("string")
.name("string")
.dockerVolumeType("string")
.projectName("string")
.regionId(0)
.regionName("string")
.timeouts(K8sPoolTimeoutsArgs.builder()
.create("string")
.update("string")
.build())
.build());
k8s_pool_resource = edgecenter.K8sPool("k8sPoolResource",
max_node_count=0,
cluster_id="string",
min_node_count=0,
flavor_id="string",
node_count=0,
k8s_pool_id="string",
docker_volume_size=0,
project_id=0,
last_updated="string",
name="string",
docker_volume_type="string",
project_name="string",
region_id=0,
region_name="string",
timeouts={
"create": "string",
"update": "string",
})
const k8sPoolResource = new edgecenter.K8sPool("k8sPoolResource", {
maxNodeCount: 0,
clusterId: "string",
minNodeCount: 0,
flavorId: "string",
nodeCount: 0,
k8sPoolId: "string",
dockerVolumeSize: 0,
projectId: 0,
lastUpdated: "string",
name: "string",
dockerVolumeType: "string",
projectName: "string",
regionId: 0,
regionName: "string",
timeouts: {
create: "string",
update: "string",
},
});
type: edgecenter:K8sPool
properties:
clusterId: string
dockerVolumeSize: 0
dockerVolumeType: string
flavorId: string
k8sPoolId: string
lastUpdated: string
maxNodeCount: 0
minNodeCount: 0
name: string
nodeCount: 0
projectId: 0
projectName: string
regionId: 0
regionName: string
timeouts:
create: string
update: string
K8sPool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The K8sPool resource accepts the following input properties:
- Cluster
Id string - The uuid of the Kubernetes cluster this pool belongs to.
- Flavor
Id string - The identifier of the flavor used for nodes in this pool, e.g. g1-standard-2-4.
- Max
Node doubleCount - The maximum number of nodes the pool can scale to.
- Min
Node doubleCount - The minimum number of nodes in the pool.
- Node
Count double - The current number of nodes in the pool.
- Docker
Volume doubleSize - The size of the volume used for Docker containers, in gigabytes.
- Docker
Volume stringType - The type of volume used for the Docker containers. Available values are 'standard', 'ssd_hiiops', 'cold', and 'ultra'.
- K8s
Pool stringId - The ID of this resource.
- Last
Updated string - The timestamp of the last update (use with update context).
- Name string
- The name of the Kubernetes pool.
- Project
Id double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Timeouts
K8s
Pool Timeouts
- Cluster
Id string - The uuid of the Kubernetes cluster this pool belongs to.
- Flavor
Id string - The identifier of the flavor used for nodes in this pool, e.g. g1-standard-2-4.
- Max
Node float64Count - The maximum number of nodes the pool can scale to.
- Min
Node float64Count - The minimum number of nodes in the pool.
- Node
Count float64 - The current number of nodes in the pool.
- Docker
Volume float64Size - The size of the volume used for Docker containers, in gigabytes.
- Docker
Volume stringType - The type of volume used for the Docker containers. Available values are 'standard', 'ssd_hiiops', 'cold', and 'ultra'.
- K8s
Pool stringId - The ID of this resource.
- Last
Updated string - The timestamp of the last update (use with update context).
- Name string
- The name of the Kubernetes pool.
- Project
Id float64 - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id float64 - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Timeouts
K8s
Pool Timeouts Args
- cluster
Id String - The uuid of the Kubernetes cluster this pool belongs to.
- flavor
Id String - The identifier of the flavor used for nodes in this pool, e.g. g1-standard-2-4.
- max
Node DoubleCount - The maximum number of nodes the pool can scale to.
- min
Node DoubleCount - The minimum number of nodes in the pool.
- node
Count Double - The current number of nodes in the pool.
- docker
Volume DoubleSize - The size of the volume used for Docker containers, in gigabytes.
- docker
Volume StringType - The type of volume used for the Docker containers. Available values are 'standard', 'ssd_hiiops', 'cold', and 'ultra'.
- k8s
Pool StringId - The ID of this resource.
- last
Updated String - The timestamp of the last update (use with update context).
- name String
- The name of the Kubernetes pool.
- project
Id Double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- timeouts
K8s
Pool Timeouts
- cluster
Id string - The uuid of the Kubernetes cluster this pool belongs to.
- flavor
Id string - The identifier of the flavor used for nodes in this pool, e.g. g1-standard-2-4.
- max
Node numberCount - The maximum number of nodes the pool can scale to.
- min
Node numberCount - The minimum number of nodes in the pool.
- node
Count number - The current number of nodes in the pool.
- docker
Volume numberSize - The size of the volume used for Docker containers, in gigabytes.
- docker
Volume stringType - The type of volume used for the Docker containers. Available values are 'standard', 'ssd_hiiops', 'cold', and 'ultra'.
- k8s
Pool stringId - The ID of this resource.
- last
Updated string - The timestamp of the last update (use with update context).
- name string
- The name of the Kubernetes pool.
- project
Id number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- timeouts
K8s
Pool Timeouts
- cluster_
id str - The uuid of the Kubernetes cluster this pool belongs to.
- flavor_
id str - The identifier of the flavor used for nodes in this pool, e.g. g1-standard-2-4.
- max_
node_ floatcount - The maximum number of nodes the pool can scale to.
- min_
node_ floatcount - The minimum number of nodes in the pool.
- node_
count float - The current number of nodes in the pool.
- docker_
volume_ floatsize - The size of the volume used for Docker containers, in gigabytes.
- docker_
volume_ strtype - The type of volume used for the Docker containers. Available values are 'standard', 'ssd_hiiops', 'cold', and 'ultra'.
- k8s_
pool_ strid - The ID of this resource.
- last_
updated str - The timestamp of the last update (use with update context).
- name str
- The name of the Kubernetes pool.
- project_
id float - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project_
name str - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region_
id float - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region_
name str - The name of the region. Either 'regionid' or 'regionname' must be specified.
- timeouts
K8s
Pool Timeouts Args
- cluster
Id String - The uuid of the Kubernetes cluster this pool belongs to.
- flavor
Id String - The identifier of the flavor used for nodes in this pool, e.g. g1-standard-2-4.
- max
Node NumberCount - The maximum number of nodes the pool can scale to.
- min
Node NumberCount - The minimum number of nodes in the pool.
- node
Count Number - The current number of nodes in the pool.
- docker
Volume NumberSize - The size of the volume used for Docker containers, in gigabytes.
- docker
Volume StringType - The type of volume used for the Docker containers. Available values are 'standard', 'ssd_hiiops', 'cold', and 'ultra'.
- k8s
Pool StringId - The ID of this resource.
- last
Updated String - The timestamp of the last update (use with update context).
- name String
- The name of the Kubernetes pool.
- project
Id Number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the K8sPool resource produces the following output properties:
- created_
at str - The timestamp when the Kubernetes pool was created.
- id str
- The provider-assigned unique ID for this managed resource.
- stack_
id str - The identifier of the underlying infrastructure stack used by this pool.
Look up Existing K8sPool Resource
Get an existing K8sPool 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?: K8sPoolState, opts?: CustomResourceOptions): K8sPool
@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[float] = None,
docker_volume_type: Optional[str] = None,
flavor_id: Optional[str] = None,
k8s_pool_id: Optional[str] = None,
last_updated: Optional[str] = None,
max_node_count: Optional[float] = None,
min_node_count: Optional[float] = None,
name: Optional[str] = None,
node_count: Optional[float] = None,
project_id: Optional[float] = None,
project_name: Optional[str] = None,
region_id: Optional[float] = None,
region_name: Optional[str] = None,
stack_id: Optional[str] = None,
timeouts: Optional[K8sPoolTimeoutsArgs] = None) -> K8sPool
func GetK8sPool(ctx *Context, name string, id IDInput, state *K8sPoolState, opts ...ResourceOption) (*K8sPool, error)
public static K8sPool Get(string name, Input<string> id, K8sPoolState? state, CustomResourceOptions? opts = null)
public static K8sPool get(String name, Output<String> id, K8sPoolState state, CustomResourceOptions options)
resources: _: type: edgecenter:K8sPool get: id: ${id}
- 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 Kubernetes cluster this pool belongs to.
- Created
At string - The timestamp when the Kubernetes pool was created.
- Docker
Volume doubleSize - The size of the volume used for Docker containers, in gigabytes.
- Docker
Volume stringType - The type of volume used for the Docker containers. Available values are 'standard', 'ssd_hiiops', 'cold', and 'ultra'.
- Flavor
Id string - The identifier of the flavor used for nodes in this pool, e.g. g1-standard-2-4.
- K8s
Pool stringId - The ID of this resource.
- Last
Updated string - The timestamp of the last update (use with update context).
- Max
Node doubleCount - The maximum number of nodes the pool can scale to.
- Min
Node doubleCount - The minimum number of nodes in the pool.
- Name string
- The name of the Kubernetes pool.
- Node
Count double - The current number of nodes in the pool.
- Project
Id double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Stack
Id string - The identifier of the underlying infrastructure stack used by this pool.
- Timeouts
K8s
Pool Timeouts
- Cluster
Id string - The uuid of the Kubernetes cluster this pool belongs to.
- Created
At string - The timestamp when the Kubernetes pool was created.
- Docker
Volume float64Size - The size of the volume used for Docker containers, in gigabytes.
- Docker
Volume stringType - The type of volume used for the Docker containers. Available values are 'standard', 'ssd_hiiops', 'cold', and 'ultra'.
- Flavor
Id string - The identifier of the flavor used for nodes in this pool, e.g. g1-standard-2-4.
- K8s
Pool stringId - The ID of this resource.
- Last
Updated string - The timestamp of the last update (use with update context).
- Max
Node float64Count - The maximum number of nodes the pool can scale to.
- Min
Node float64Count - The minimum number of nodes in the pool.
- Name string
- The name of the Kubernetes pool.
- Node
Count float64 - The current number of nodes in the pool.
- Project
Id float64 - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- Region
Id float64 - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- Stack
Id string - The identifier of the underlying infrastructure stack used by this pool.
- Timeouts
K8s
Pool Timeouts Args
- cluster
Id String - The uuid of the Kubernetes cluster this pool belongs to.
- created
At String - The timestamp when the Kubernetes pool was created.
- docker
Volume DoubleSize - The size of the volume used for Docker containers, in gigabytes.
- docker
Volume StringType - The type of volume used for the Docker containers. Available values are 'standard', 'ssd_hiiops', 'cold', and 'ultra'.
- flavor
Id String - The identifier of the flavor used for nodes in this pool, e.g. g1-standard-2-4.
- k8s
Pool StringId - The ID of this resource.
- last
Updated String - The timestamp of the last update (use with update context).
- max
Node DoubleCount - The maximum number of nodes the pool can scale to.
- min
Node DoubleCount - The minimum number of nodes in the pool.
- name String
- The name of the Kubernetes pool.
- node
Count Double - The current number of nodes in the pool.
- project
Id Double - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Double - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- stack
Id String - The identifier of the underlying infrastructure stack used by this pool.
- timeouts
K8s
Pool Timeouts
- cluster
Id string - The uuid of the Kubernetes cluster this pool belongs to.
- created
At string - The timestamp when the Kubernetes pool was created.
- docker
Volume numberSize - The size of the volume used for Docker containers, in gigabytes.
- docker
Volume stringType - The type of volume used for the Docker containers. Available values are 'standard', 'ssd_hiiops', 'cold', and 'ultra'.
- flavor
Id string - The identifier of the flavor used for nodes in this pool, e.g. g1-standard-2-4.
- k8s
Pool stringId - The ID of this resource.
- last
Updated string - The timestamp of the last update (use with update context).
- max
Node numberCount - The maximum number of nodes the pool can scale to.
- min
Node numberCount - The minimum number of nodes in the pool.
- name string
- The name of the Kubernetes pool.
- node
Count number - The current number of nodes in the pool.
- project
Id number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name string - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name string - The name of the region. Either 'regionid' or 'regionname' must be specified.
- stack
Id string - The identifier of the underlying infrastructure stack used by this pool.
- timeouts
K8s
Pool Timeouts
- cluster_
id str - The uuid of the Kubernetes cluster this pool belongs to.
- created_
at str - The timestamp when the Kubernetes pool was created.
- docker_
volume_ floatsize - The size of the volume used for Docker containers, in gigabytes.
- docker_
volume_ strtype - The type of volume used for the Docker containers. Available values are 'standard', 'ssd_hiiops', 'cold', and 'ultra'.
- flavor_
id str - The identifier of the flavor used for nodes in this pool, e.g. g1-standard-2-4.
- k8s_
pool_ strid - The ID of this resource.
- last_
updated str - The timestamp of the last update (use with update context).
- max_
node_ floatcount - The maximum number of nodes the pool can scale to.
- min_
node_ floatcount - The minimum number of nodes in the pool.
- name str
- The name of the Kubernetes pool.
- node_
count float - The current number of nodes in the pool.
- project_
id float - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project_
name str - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region_
id float - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region_
name str - The name of the region. Either 'regionid' or 'regionname' must be specified.
- stack_
id str - The identifier of the underlying infrastructure stack used by this pool.
- timeouts
K8s
Pool Timeouts Args
- cluster
Id String - The uuid of the Kubernetes cluster this pool belongs to.
- created
At String - The timestamp when the Kubernetes pool was created.
- docker
Volume NumberSize - The size of the volume used for Docker containers, in gigabytes.
- docker
Volume StringType - The type of volume used for the Docker containers. Available values are 'standard', 'ssd_hiiops', 'cold', and 'ultra'.
- flavor
Id String - The identifier of the flavor used for nodes in this pool, e.g. g1-standard-2-4.
- k8s
Pool StringId - The ID of this resource.
- last
Updated String - The timestamp of the last update (use with update context).
- max
Node NumberCount - The maximum number of nodes the pool can scale to.
- min
Node NumberCount - The minimum number of nodes in the pool.
- name String
- The name of the Kubernetes pool.
- node
Count Number - The current number of nodes in the pool.
- project
Id Number - The uuid of the project. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The name of the project. Either 'projectid' or 'projectname' must be specified.
- region
Id Number - The uuid of the region. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The name of the region. Either 'regionid' or 'regionname' must be specified.
- stack
Id String - The identifier of the underlying infrastructure stack used by this pool.
- timeouts Property Map
Supporting Types
K8sPoolTimeouts, K8sPoolTimeoutsArgs
Import
import using <project_id>:<region_id>:<pool_id>:<cluster_id> format
$ pulumi import edgecenter:index/k8sPool:K8sPool k8s_pool1 1:6:a775dd94-4e9c-4da7-9f0e-ffc9ae34446b:447d2959-8ae0-4ca0-8d47-9f050a3637d7
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- edgecenter edge-center/terraform-provider-edgecenter
- License
- Notes
- This Pulumi package is based on the
edgecenter
Terraform Provider.