gcorelabs.K8s
Explore with Pulumi AI
Represent k8s cluster with one default pool.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcore from "@pulumi/gcore";
const gcore_k8s = new gcore.index.Gcore_k8s("gcore_k8s", {
projectId: 1,
regionId: 1,
name: "tf-k8s",
fixedNetwork: "6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25",
fixedSubnet: "dc3a3ea9-86ae-47ad-a8e8-79df0ce04839",
pool: [{
name: "tf-pool",
flavorId: "g1-standard-1-2",
minNodeCount: 1,
maxNodeCount: 2,
nodeCount: 1,
dockerVolumeSize: 2,
}],
});
import pulumi
import pulumi_gcore as gcore
gcore_k8s = gcore.index.Gcore_k8s("gcore_k8s",
project_id=1,
region_id=1,
name=tf-k8s,
fixed_network=6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25,
fixed_subnet=dc3a3ea9-86ae-47ad-a8e8-79df0ce04839,
pool=[{
name: tf-pool,
flavorId: g1-standard-1-2,
minNodeCount: 1,
maxNodeCount: 2,
nodeCount: 1,
dockerVolumeSize: 2,
}])
package main
import (
"github.com/pulumi/pulumi-gcore/sdk/go/gcore"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := gcore.NewGcore_k8s(ctx, "gcore_k8s", &gcore.Gcore_k8sArgs{
ProjectId: 1,
RegionId: 1,
Name: "tf-k8s",
FixedNetwork: "6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25",
FixedSubnet: "dc3a3ea9-86ae-47ad-a8e8-79df0ce04839",
Pool: []map[string]interface{}{
map[string]interface{}{
"name": "tf-pool",
"flavorId": "g1-standard-1-2",
"minNodeCount": 1,
"maxNodeCount": 2,
"nodeCount": 1,
"dockerVolumeSize": 2,
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcore = Pulumi.Gcore;
return await Deployment.RunAsync(() =>
{
var gcore_k8s = new Gcore.Index.Gcore_k8s("gcore_k8s", new()
{
ProjectId = 1,
RegionId = 1,
Name = "tf-k8s",
FixedNetwork = "6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25",
FixedSubnet = "dc3a3ea9-86ae-47ad-a8e8-79df0ce04839",
Pool = new[]
{
{
{ "name", "tf-pool" },
{ "flavorId", "g1-standard-1-2" },
{ "minNodeCount", 1 },
{ "maxNodeCount", 2 },
{ "nodeCount", 1 },
{ "dockerVolumeSize", 2 },
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcore.gcore_k8s;
import com.pulumi.gcore.Gcore_k8sArgs;
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 gcore_k8s = new Gcore_k8s("gcore_k8s", Gcore_k8sArgs.builder()
.projectId(1)
.regionId(1)
.name("tf-k8s")
.fixedNetwork("6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25")
.fixedSubnet("dc3a3ea9-86ae-47ad-a8e8-79df0ce04839")
.pool(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
}
}
resources:
gcore_k8s:
type: gcore:gcore_k8s
properties:
projectId: 1
regionId: 1
name: tf-k8s
fixedNetwork: 6bf878c1-1ce4-47c3-a39b-6b5f1d79bf25
fixedSubnet: dc3a3ea9-86ae-47ad-a8e8-79df0ce04839
pool:
- name: tf-pool
flavorId: g1-standard-1-2
minNodeCount: 1
maxNodeCount: 2
nodeCount: 1
dockerVolumeSize: 2
Create K8s Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new K8s(name: string, args: K8sArgs, opts?: CustomResourceOptions);
@overload
def K8s(resource_name: str,
args: K8sArgs,
opts: Optional[ResourceOptions] = None)
@overload
def K8s(resource_name: str,
opts: Optional[ResourceOptions] = None,
keypair: Optional[str] = None,
pool: Optional[K8sPoolArgs] = None,
fixed_network: Optional[str] = None,
fixed_subnet: Optional[str] = None,
name: Optional[str] = None,
k8s_id: Optional[str] = None,
last_updated: Optional[str] = None,
master_lb_floating_ip_enabled: Optional[bool] = None,
auto_healing_enabled: Optional[bool] = None,
pods_ip_pool: Optional[str] = None,
external_dns_enabled: Optional[bool] = None,
project_id: Optional[float] = None,
project_name: Optional[str] = None,
region_id: Optional[float] = None,
region_name: Optional[str] = None,
services_ip_pool: Optional[str] = None,
timeouts: Optional[K8sTimeoutsArgs] = None)
func NewK8s(ctx *Context, name string, args K8sArgs, opts ...ResourceOption) (*K8s, error)
public K8s(string name, K8sArgs args, CustomResourceOptions? opts = null)
type: gcorelabs:K8s
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 K8sArgs
- 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 K8sArgs
- 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 K8sArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args K8sArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args K8sArgs
- 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 k8sResource = new Gcorelabs.K8s("k8sResource", new()
{
Keypair = "string",
Pool = new Gcorelabs.Inputs.K8sPoolArgs
{
FlavorId = "string",
MaxNodeCount = 0,
MinNodeCount = 0,
Name = "string",
NodeCount = 0,
CreatedAt = "string",
DockerVolumeSize = 0,
DockerVolumeType = "string",
StackId = "string",
Uuid = "string",
},
FixedNetwork = "string",
FixedSubnet = "string",
Name = "string",
K8sId = "string",
LastUpdated = "string",
MasterLbFloatingIpEnabled = false,
AutoHealingEnabled = false,
PodsIpPool = "string",
ExternalDnsEnabled = false,
ProjectId = 0,
ProjectName = "string",
RegionId = 0,
RegionName = "string",
ServicesIpPool = "string",
Timeouts = new Gcorelabs.Inputs.K8sTimeoutsArgs
{
Create = "string",
Update = "string",
},
});
example, err := gcorelabs.NewK8s(ctx, "k8sResource", &gcorelabs.K8sArgs{
Keypair: pulumi.String("string"),
Pool: &gcorelabs.K8sPoolTypeArgs{
FlavorId: pulumi.String("string"),
MaxNodeCount: pulumi.Float64(0),
MinNodeCount: pulumi.Float64(0),
Name: pulumi.String("string"),
NodeCount: pulumi.Float64(0),
CreatedAt: pulumi.String("string"),
DockerVolumeSize: pulumi.Float64(0),
DockerVolumeType: pulumi.String("string"),
StackId: pulumi.String("string"),
Uuid: pulumi.String("string"),
},
FixedNetwork: pulumi.String("string"),
FixedSubnet: pulumi.String("string"),
Name: pulumi.String("string"),
K8sId: pulumi.String("string"),
LastUpdated: pulumi.String("string"),
MasterLbFloatingIpEnabled: pulumi.Bool(false),
AutoHealingEnabled: pulumi.Bool(false),
PodsIpPool: pulumi.String("string"),
ExternalDnsEnabled: pulumi.Bool(false),
ProjectId: pulumi.Float64(0),
ProjectName: pulumi.String("string"),
RegionId: pulumi.Float64(0),
RegionName: pulumi.String("string"),
ServicesIpPool: pulumi.String("string"),
Timeouts: &gcorelabs.K8sTimeoutsArgs{
Create: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var k8sResource = new K8s("k8sResource", K8sArgs.builder()
.keypair("string")
.pool(K8sPoolArgs.builder()
.flavorId("string")
.maxNodeCount(0)
.minNodeCount(0)
.name("string")
.nodeCount(0)
.createdAt("string")
.dockerVolumeSize(0)
.dockerVolumeType("string")
.stackId("string")
.uuid("string")
.build())
.fixedNetwork("string")
.fixedSubnet("string")
.name("string")
.k8sId("string")
.lastUpdated("string")
.masterLbFloatingIpEnabled(false)
.autoHealingEnabled(false)
.podsIpPool("string")
.externalDnsEnabled(false)
.projectId(0)
.projectName("string")
.regionId(0)
.regionName("string")
.servicesIpPool("string")
.timeouts(K8sTimeoutsArgs.builder()
.create("string")
.update("string")
.build())
.build());
k8s_resource = gcorelabs.K8s("k8sResource",
keypair="string",
pool={
"flavor_id": "string",
"max_node_count": 0,
"min_node_count": 0,
"name": "string",
"node_count": 0,
"created_at": "string",
"docker_volume_size": 0,
"docker_volume_type": "string",
"stack_id": "string",
"uuid": "string",
},
fixed_network="string",
fixed_subnet="string",
name="string",
k8s_id="string",
last_updated="string",
master_lb_floating_ip_enabled=False,
auto_healing_enabled=False,
pods_ip_pool="string",
external_dns_enabled=False,
project_id=0,
project_name="string",
region_id=0,
region_name="string",
services_ip_pool="string",
timeouts={
"create": "string",
"update": "string",
})
const k8sResource = new gcorelabs.K8s("k8sResource", {
keypair: "string",
pool: {
flavorId: "string",
maxNodeCount: 0,
minNodeCount: 0,
name: "string",
nodeCount: 0,
createdAt: "string",
dockerVolumeSize: 0,
dockerVolumeType: "string",
stackId: "string",
uuid: "string",
},
fixedNetwork: "string",
fixedSubnet: "string",
name: "string",
k8sId: "string",
lastUpdated: "string",
masterLbFloatingIpEnabled: false,
autoHealingEnabled: false,
podsIpPool: "string",
externalDnsEnabled: false,
projectId: 0,
projectName: "string",
regionId: 0,
regionName: "string",
servicesIpPool: "string",
timeouts: {
create: "string",
update: "string",
},
});
type: gcorelabs:K8s
properties:
autoHealingEnabled: false
externalDnsEnabled: false
fixedNetwork: string
fixedSubnet: string
k8sId: string
keypair: string
lastUpdated: string
masterLbFloatingIpEnabled: false
name: string
podsIpPool: string
pool:
createdAt: string
dockerVolumeSize: 0
dockerVolumeType: string
flavorId: string
maxNodeCount: 0
minNodeCount: 0
name: string
nodeCount: 0
stackId: string
uuid: string
projectId: 0
projectName: string
regionId: 0
regionName: string
servicesIpPool: string
timeouts:
create: string
update: string
K8s 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 K8s resource accepts the following input properties:
- Fixed
Network string - Fixed
Subnet string - Subnet should has router
- Keypair string
- Pool
K8s
Pool - Auto
Healing boolEnabled - External
Dns boolEnabled - K8s
Id string - The ID of this resource.
- Last
Updated string - Master
Lb boolFloating Ip Enabled - Name string
- Pods
Ip stringPool - Project
Id double - Project
Name string - Region
Id double - Region
Name string - Services
Ip stringPool - Timeouts
K8s
Timeouts
- Fixed
Network string - Fixed
Subnet string - Subnet should has router
- Keypair string
- Pool
K8s
Pool Type Args - Auto
Healing boolEnabled - External
Dns boolEnabled - K8s
Id string - The ID of this resource.
- Last
Updated string - Master
Lb boolFloating Ip Enabled - Name string
- Pods
Ip stringPool - Project
Id float64 - Project
Name string - Region
Id float64 - Region
Name string - Services
Ip stringPool - Timeouts
K8s
Timeouts Args
- fixed
Network String - fixed
Subnet String - Subnet should has router
- keypair String
- pool
K8s
Pool - auto
Healing BooleanEnabled - external
Dns BooleanEnabled - k8s
Id String - The ID of this resource.
- last
Updated String - master
Lb BooleanFloating Ip Enabled - name String
- pods
Ip StringPool - project
Id Double - project
Name String - region
Id Double - region
Name String - services
Ip StringPool - timeouts
K8s
Timeouts
- fixed
Network string - fixed
Subnet string - Subnet should has router
- keypair string
- pool
K8s
Pool - auto
Healing booleanEnabled - external
Dns booleanEnabled - k8s
Id string - The ID of this resource.
- last
Updated string - master
Lb booleanFloating Ip Enabled - name string
- pods
Ip stringPool - project
Id number - project
Name string - region
Id number - region
Name string - services
Ip stringPool - timeouts
K8s
Timeouts
- fixed_
network str - fixed_
subnet str - Subnet should has router
- keypair str
- pool
K8s
Pool Args - auto_
healing_ boolenabled - external_
dns_ boolenabled - k8s_
id str - The ID of this resource.
- last_
updated str - master_
lb_ boolfloating_ ip_ enabled - name str
- pods_
ip_ strpool - project_
id float - project_
name str - region_
id float - region_
name str - services_
ip_ strpool - timeouts
K8s
Timeouts Args
- fixed
Network String - fixed
Subnet String - Subnet should has router
- keypair String
- pool Property Map
- auto
Healing BooleanEnabled - external
Dns BooleanEnabled - k8s
Id String - The ID of this resource.
- last
Updated String - master
Lb BooleanFloating Ip Enabled - name String
- pods
Ip StringPool - project
Id Number - project
Name String - region
Id Number - region
Name String - services
Ip StringPool - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the K8s resource produces the following output properties:
- Api
Address string - Cluster
Template stringId - Container
Version string - Created
At string - Discovery
Url string - Faults Dictionary<string, string>
- Health
Status string - Health
Status Dictionary<string, string>Reason - Id string
- The provider-assigned unique ID for this managed resource.
- Master
Addresses List<string> - Master
Flavor stringId - Node
Addresses List<string> - Node
Count double - Status string
- Status
Reason string - Updated
At string - User
Id string - Version string
- Api
Address string - Cluster
Template stringId - Container
Version string - Created
At string - Discovery
Url string - Faults map[string]string
- Health
Status string - Health
Status map[string]stringReason - Id string
- The provider-assigned unique ID for this managed resource.
- Master
Addresses []string - Master
Flavor stringId - Node
Addresses []string - Node
Count float64 - Status string
- Status
Reason string - Updated
At string - User
Id string - Version string
- api
Address String - cluster
Template StringId - container
Version String - created
At String - discovery
Url String - faults Map<String,String>
- health
Status String - health
Status Map<String,String>Reason - id String
- The provider-assigned unique ID for this managed resource.
- master
Addresses List<String> - master
Flavor StringId - node
Addresses List<String> - node
Count Double - status String
- status
Reason String - updated
At String - user
Id String - version String
- api
Address string - cluster
Template stringId - container
Version string - created
At string - discovery
Url string - faults {[key: string]: string}
- health
Status string - health
Status {[key: string]: string}Reason - id string
- The provider-assigned unique ID for this managed resource.
- master
Addresses string[] - master
Flavor stringId - node
Addresses string[] - node
Count number - status string
- status
Reason string - updated
At string - user
Id string - version string
- api_
address str - cluster_
template_ strid - container_
version str - created_
at str - discovery_
url str - faults Mapping[str, str]
- health_
status str - health_
status_ Mapping[str, str]reason - id str
- The provider-assigned unique ID for this managed resource.
- master_
addresses Sequence[str] - master_
flavor_ strid - node_
addresses Sequence[str] - node_
count float - status str
- status_
reason str - updated_
at str - user_
id str - version str
- api
Address String - cluster
Template StringId - container
Version String - created
At String - discovery
Url String - faults Map<String>
- health
Status String - health
Status Map<String>Reason - id String
- The provider-assigned unique ID for this managed resource.
- master
Addresses List<String> - master
Flavor StringId - node
Addresses List<String> - node
Count Number - status String
- status
Reason String - updated
At String - user
Id String - version String
Look up Existing K8s Resource
Get an existing K8s 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?: K8sState, opts?: CustomResourceOptions): K8s
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_address: Optional[str] = None,
auto_healing_enabled: Optional[bool] = None,
cluster_template_id: Optional[str] = None,
container_version: Optional[str] = None,
created_at: Optional[str] = None,
discovery_url: Optional[str] = None,
external_dns_enabled: Optional[bool] = None,
faults: Optional[Mapping[str, str]] = None,
fixed_network: Optional[str] = None,
fixed_subnet: Optional[str] = None,
health_status: Optional[str] = None,
health_status_reason: Optional[Mapping[str, str]] = None,
k8s_id: Optional[str] = None,
keypair: Optional[str] = None,
last_updated: Optional[str] = None,
master_addresses: Optional[Sequence[str]] = None,
master_flavor_id: Optional[str] = None,
master_lb_floating_ip_enabled: Optional[bool] = None,
name: Optional[str] = None,
node_addresses: Optional[Sequence[str]] = None,
node_count: Optional[float] = None,
pods_ip_pool: Optional[str] = None,
pool: Optional[K8sPoolArgs] = None,
project_id: Optional[float] = None,
project_name: Optional[str] = None,
region_id: Optional[float] = None,
region_name: Optional[str] = None,
services_ip_pool: Optional[str] = None,
status: Optional[str] = None,
status_reason: Optional[str] = None,
timeouts: Optional[K8sTimeoutsArgs] = None,
updated_at: Optional[str] = None,
user_id: Optional[str] = None,
version: Optional[str] = None) -> K8s
func GetK8s(ctx *Context, name string, id IDInput, state *K8sState, opts ...ResourceOption) (*K8s, error)
public static K8s Get(string name, Input<string> id, K8sState? state, CustomResourceOptions? opts = null)
public static K8s get(String name, Output<String> id, K8sState state, CustomResourceOptions options)
resources: _: type: gcorelabs:K8s 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.
- Api
Address string - Auto
Healing boolEnabled - Cluster
Template stringId - Container
Version string - Created
At string - Discovery
Url string - External
Dns boolEnabled - Faults Dictionary<string, string>
- Fixed
Network string - Fixed
Subnet string - Subnet should has router
- Health
Status string - Health
Status Dictionary<string, string>Reason - K8s
Id string - The ID of this resource.
- Keypair string
- Last
Updated string - Master
Addresses List<string> - Master
Flavor stringId - Master
Lb boolFloating Ip Enabled - Name string
- Node
Addresses List<string> - Node
Count double - Pods
Ip stringPool - Pool
K8s
Pool - Project
Id double - Project
Name string - Region
Id double - Region
Name string - Services
Ip stringPool - Status string
- Status
Reason string - Timeouts
K8s
Timeouts - Updated
At string - User
Id string - Version string
- Api
Address string - Auto
Healing boolEnabled - Cluster
Template stringId - Container
Version string - Created
At string - Discovery
Url string - External
Dns boolEnabled - Faults map[string]string
- Fixed
Network string - Fixed
Subnet string - Subnet should has router
- Health
Status string - Health
Status map[string]stringReason - K8s
Id string - The ID of this resource.
- Keypair string
- Last
Updated string - Master
Addresses []string - Master
Flavor stringId - Master
Lb boolFloating Ip Enabled - Name string
- Node
Addresses []string - Node
Count float64 - Pods
Ip stringPool - Pool
K8s
Pool Type Args - Project
Id float64 - Project
Name string - Region
Id float64 - Region
Name string - Services
Ip stringPool - Status string
- Status
Reason string - Timeouts
K8s
Timeouts Args - Updated
At string - User
Id string - Version string
- api
Address String - auto
Healing BooleanEnabled - cluster
Template StringId - container
Version String - created
At String - discovery
Url String - external
Dns BooleanEnabled - faults Map<String,String>
- fixed
Network String - fixed
Subnet String - Subnet should has router
- health
Status String - health
Status Map<String,String>Reason - k8s
Id String - The ID of this resource.
- keypair String
- last
Updated String - master
Addresses List<String> - master
Flavor StringId - master
Lb BooleanFloating Ip Enabled - name String
- node
Addresses List<String> - node
Count Double - pods
Ip StringPool - pool
K8s
Pool - project
Id Double - project
Name String - region
Id Double - region
Name String - services
Ip StringPool - status String
- status
Reason String - timeouts
K8s
Timeouts - updated
At String - user
Id String - version String
- api
Address string - auto
Healing booleanEnabled - cluster
Template stringId - container
Version string - created
At string - discovery
Url string - external
Dns booleanEnabled - faults {[key: string]: string}
- fixed
Network string - fixed
Subnet string - Subnet should has router
- health
Status string - health
Status {[key: string]: string}Reason - k8s
Id string - The ID of this resource.
- keypair string
- last
Updated string - master
Addresses string[] - master
Flavor stringId - master
Lb booleanFloating Ip Enabled - name string
- node
Addresses string[] - node
Count number - pods
Ip stringPool - pool
K8s
Pool - project
Id number - project
Name string - region
Id number - region
Name string - services
Ip stringPool - status string
- status
Reason string - timeouts
K8s
Timeouts - updated
At string - user
Id string - version string
- api_
address str - auto_
healing_ boolenabled - cluster_
template_ strid - container_
version str - created_
at str - discovery_
url str - external_
dns_ boolenabled - faults Mapping[str, str]
- fixed_
network str - fixed_
subnet str - Subnet should has router
- health_
status str - health_
status_ Mapping[str, str]reason - k8s_
id str - The ID of this resource.
- keypair str
- last_
updated str - master_
addresses Sequence[str] - master_
flavor_ strid - master_
lb_ boolfloating_ ip_ enabled - name str
- node_
addresses Sequence[str] - node_
count float - pods_
ip_ strpool - pool
K8s
Pool Args - project_
id float - project_
name str - region_
id float - region_
name str - services_
ip_ strpool - status str
- status_
reason str - timeouts
K8s
Timeouts Args - updated_
at str - user_
id str - version str
- api
Address String - auto
Healing BooleanEnabled - cluster
Template StringId - container
Version String - created
At String - discovery
Url String - external
Dns BooleanEnabled - faults Map<String>
- fixed
Network String - fixed
Subnet String - Subnet should has router
- health
Status String - health
Status Map<String>Reason - k8s
Id String - The ID of this resource.
- keypair String
- last
Updated String - master
Addresses List<String> - master
Flavor StringId - master
Lb BooleanFloating Ip Enabled - name String
- node
Addresses List<String> - node
Count Number - pods
Ip StringPool - pool Property Map
- project
Id Number - project
Name String - region
Id Number - region
Name String - services
Ip StringPool - status String
- status
Reason String - timeouts Property Map
- updated
At String - user
Id String - version String
Supporting Types
K8sPool, K8sPoolArgs
- Flavor
Id string - Max
Node doubleCount - Min
Node doubleCount - Name string
- Node
Count double - Created
At string - Docker
Volume doubleSize - Docker
Volume stringType - Available value is 'standard', 'ssd_hiiops', 'cold', 'ultra'.
- Stack
Id string - Uuid string
- Flavor
Id string - Max
Node float64Count - Min
Node float64Count - Name string
- Node
Count float64 - Created
At string - Docker
Volume float64Size - Docker
Volume stringType - Available value is 'standard', 'ssd_hiiops', 'cold', 'ultra'.
- Stack
Id string - Uuid string
- flavor
Id String - max
Node DoubleCount - min
Node DoubleCount - name String
- node
Count Double - created
At String - docker
Volume DoubleSize - docker
Volume StringType - Available value is 'standard', 'ssd_hiiops', 'cold', 'ultra'.
- stack
Id String - uuid String
- flavor
Id string - max
Node numberCount - min
Node numberCount - name string
- node
Count number - created
At string - docker
Volume numberSize - docker
Volume stringType - Available value is 'standard', 'ssd_hiiops', 'cold', 'ultra'.
- stack
Id string - uuid string
- flavor_
id str - max_
node_ floatcount - min_
node_ floatcount - name str
- node_
count float - created_
at str - docker_
volume_ floatsize - docker_
volume_ strtype - Available value is 'standard', 'ssd_hiiops', 'cold', 'ultra'.
- stack_
id str - uuid str
- flavor
Id String - max
Node NumberCount - min
Node NumberCount - name String
- node
Count Number - created
At String - docker
Volume NumberSize - docker
Volume StringType - Available value is 'standard', 'ssd_hiiops', 'cold', 'ultra'.
- stack
Id String - uuid String
K8sTimeouts, K8sTimeoutsArgs
Import
import using <project_id>:<region_id>:<cluster_id> format
$ pulumi import gcorelabs:index/k8s:K8s cluster1 1:6:447d2959-8ae0-4ca0-8d47-9f050a3637d7
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- gcorelabs g-core/terraform-provider-gcorelabs
- License
- Notes
- This Pulumi package is based on the
gcorelabs
Terraform Provider.