1. Packages
  2. Gcorelabs Provider
  3. API Docs
  4. K8s
gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core

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,
    }],
});
Copy
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,
    }])
Copy
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
	})
}
Copy
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 },
            },
        },
    });

});
Copy
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());

    }
}
Copy
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
Copy

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)
public K8s(String name, K8sArgs args)
public K8s(String name, K8sArgs args, CustomResourceOptions options)
type: gcorelabs:K8s
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. K8sArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. K8sArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. K8sArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
    },
});
Copy
example, err := gcorelabs.NewK8s(ctx, "k8sResource", &gcorelabs.K8sArgs{
Keypair: pulumi.String("string"),
Pool: &.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: &.K8sTimeoutsArgs{
Create: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
Copy
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());
Copy
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",
    })
Copy
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",
    },
});
Copy
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
Copy

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:

FixedNetwork This property is required. string
FixedSubnet This property is required. string
Subnet should has router
Keypair This property is required. string
Pool This property is required. K8sPool
AutoHealingEnabled bool
ExternalDnsEnabled bool
K8sId string
The ID of this resource.
LastUpdated string
MasterLbFloatingIpEnabled bool
Name string
PodsIpPool string
ProjectId double
ProjectName string
RegionId double
RegionName string
ServicesIpPool string
Timeouts K8sTimeouts
FixedNetwork This property is required. string
FixedSubnet This property is required. string
Subnet should has router
Keypair This property is required. string
Pool This property is required. K8sPoolTypeArgs
AutoHealingEnabled bool
ExternalDnsEnabled bool
K8sId string
The ID of this resource.
LastUpdated string
MasterLbFloatingIpEnabled bool
Name string
PodsIpPool string
ProjectId float64
ProjectName string
RegionId float64
RegionName string
ServicesIpPool string
Timeouts K8sTimeoutsArgs
fixedNetwork This property is required. String
fixedSubnet This property is required. String
Subnet should has router
keypair This property is required. String
pool This property is required. K8sPool
autoHealingEnabled Boolean
externalDnsEnabled Boolean
k8sId String
The ID of this resource.
lastUpdated String
masterLbFloatingIpEnabled Boolean
name String
podsIpPool String
projectId Double
projectName String
regionId Double
regionName String
servicesIpPool String
timeouts K8sTimeouts
fixedNetwork This property is required. string
fixedSubnet This property is required. string
Subnet should has router
keypair This property is required. string
pool This property is required. K8sPool
autoHealingEnabled boolean
externalDnsEnabled boolean
k8sId string
The ID of this resource.
lastUpdated string
masterLbFloatingIpEnabled boolean
name string
podsIpPool string
projectId number
projectName string
regionId number
regionName string
servicesIpPool string
timeouts K8sTimeouts
fixed_network This property is required. str
fixed_subnet This property is required. str
Subnet should has router
keypair This property is required. str
pool This property is required. K8sPoolArgs
auto_healing_enabled bool
external_dns_enabled bool
k8s_id str
The ID of this resource.
last_updated str
master_lb_floating_ip_enabled bool
name str
pods_ip_pool str
project_id float
project_name str
region_id float
region_name str
services_ip_pool str
timeouts K8sTimeoutsArgs
fixedNetwork This property is required. String
fixedSubnet This property is required. String
Subnet should has router
keypair This property is required. String
pool This property is required. Property Map
autoHealingEnabled Boolean
externalDnsEnabled Boolean
k8sId String
The ID of this resource.
lastUpdated String
masterLbFloatingIpEnabled Boolean
name String
podsIpPool String
projectId Number
projectName String
regionId Number
regionName String
servicesIpPool String
timeouts Property Map

Outputs

All input properties are implicitly available as output properties. Additionally, the K8s resource produces the following output properties:

ApiAddress string
ClusterTemplateId string
ContainerVersion string
CreatedAt string
DiscoveryUrl string
Faults Dictionary<string, string>
HealthStatus string
HealthStatusReason Dictionary<string, string>
Id string
The provider-assigned unique ID for this managed resource.
MasterAddresses List<string>
MasterFlavorId string
NodeAddresses List<string>
NodeCount double
Status string
StatusReason string
UpdatedAt string
UserId string
Version string
ApiAddress string
ClusterTemplateId string
ContainerVersion string
CreatedAt string
DiscoveryUrl string
Faults map[string]string
HealthStatus string
HealthStatusReason map[string]string
Id string
The provider-assigned unique ID for this managed resource.
MasterAddresses []string
MasterFlavorId string
NodeAddresses []string
NodeCount float64
Status string
StatusReason string
UpdatedAt string
UserId string
Version string
apiAddress String
clusterTemplateId String
containerVersion String
createdAt String
discoveryUrl String
faults Map<String,String>
healthStatus String
healthStatusReason Map<String,String>
id String
The provider-assigned unique ID for this managed resource.
masterAddresses List<String>
masterFlavorId String
nodeAddresses List<String>
nodeCount Double
status String
statusReason String
updatedAt String
userId String
version String
apiAddress string
clusterTemplateId string
containerVersion string
createdAt string
discoveryUrl string
faults {[key: string]: string}
healthStatus string
healthStatusReason {[key: string]: string}
id string
The provider-assigned unique ID for this managed resource.
masterAddresses string[]
masterFlavorId string
nodeAddresses string[]
nodeCount number
status string
statusReason string
updatedAt string
userId string
version string
api_address str
cluster_template_id str
container_version str
created_at str
discovery_url str
faults Mapping[str, str]
health_status str
health_status_reason Mapping[str, str]
id str
The provider-assigned unique ID for this managed resource.
master_addresses Sequence[str]
master_flavor_id str
node_addresses Sequence[str]
node_count float
status str
status_reason str
updated_at str
user_id str
version str
apiAddress String
clusterTemplateId String
containerVersion String
createdAt String
discoveryUrl String
faults Map<String>
healthStatus String
healthStatusReason Map<String>
id String
The provider-assigned unique ID for this managed resource.
masterAddresses List<String>
masterFlavorId String
nodeAddresses List<String>
nodeCount Number
status String
statusReason String
updatedAt String
userId 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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
ApiAddress string
AutoHealingEnabled bool
ClusterTemplateId string
ContainerVersion string
CreatedAt string
DiscoveryUrl string
ExternalDnsEnabled bool
Faults Dictionary<string, string>
FixedNetwork string
FixedSubnet string
Subnet should has router
HealthStatus string
HealthStatusReason Dictionary<string, string>
K8sId string
The ID of this resource.
Keypair string
LastUpdated string
MasterAddresses List<string>
MasterFlavorId string
MasterLbFloatingIpEnabled bool
Name string
NodeAddresses List<string>
NodeCount double
PodsIpPool string
Pool K8sPool
ProjectId double
ProjectName string
RegionId double
RegionName string
ServicesIpPool string
Status string
StatusReason string
Timeouts K8sTimeouts
UpdatedAt string
UserId string
Version string
ApiAddress string
AutoHealingEnabled bool
ClusterTemplateId string
ContainerVersion string
CreatedAt string
DiscoveryUrl string
ExternalDnsEnabled bool
Faults map[string]string
FixedNetwork string
FixedSubnet string
Subnet should has router
HealthStatus string
HealthStatusReason map[string]string
K8sId string
The ID of this resource.
Keypair string
LastUpdated string
MasterAddresses []string
MasterFlavorId string
MasterLbFloatingIpEnabled bool
Name string
NodeAddresses []string
NodeCount float64
PodsIpPool string
Pool K8sPoolTypeArgs
ProjectId float64
ProjectName string
RegionId float64
RegionName string
ServicesIpPool string
Status string
StatusReason string
Timeouts K8sTimeoutsArgs
UpdatedAt string
UserId string
Version string
apiAddress String
autoHealingEnabled Boolean
clusterTemplateId String
containerVersion String
createdAt String
discoveryUrl String
externalDnsEnabled Boolean
faults Map<String,String>
fixedNetwork String
fixedSubnet String
Subnet should has router
healthStatus String
healthStatusReason Map<String,String>
k8sId String
The ID of this resource.
keypair String
lastUpdated String
masterAddresses List<String>
masterFlavorId String
masterLbFloatingIpEnabled Boolean
name String
nodeAddresses List<String>
nodeCount Double
podsIpPool String
pool K8sPool
projectId Double
projectName String
regionId Double
regionName String
servicesIpPool String
status String
statusReason String
timeouts K8sTimeouts
updatedAt String
userId String
version String
apiAddress string
autoHealingEnabled boolean
clusterTemplateId string
containerVersion string
createdAt string
discoveryUrl string
externalDnsEnabled boolean
faults {[key: string]: string}
fixedNetwork string
fixedSubnet string
Subnet should has router
healthStatus string
healthStatusReason {[key: string]: string}
k8sId string
The ID of this resource.
keypair string
lastUpdated string
masterAddresses string[]
masterFlavorId string
masterLbFloatingIpEnabled boolean
name string
nodeAddresses string[]
nodeCount number
podsIpPool string
pool K8sPool
projectId number
projectName string
regionId number
regionName string
servicesIpPool string
status string
statusReason string
timeouts K8sTimeouts
updatedAt string
userId string
version string
apiAddress String
autoHealingEnabled Boolean
clusterTemplateId String
containerVersion String
createdAt String
discoveryUrl String
externalDnsEnabled Boolean
faults Map<String>
fixedNetwork String
fixedSubnet String
Subnet should has router
healthStatus String
healthStatusReason Map<String>
k8sId String
The ID of this resource.
keypair String
lastUpdated String
masterAddresses List<String>
masterFlavorId String
masterLbFloatingIpEnabled Boolean
name String
nodeAddresses List<String>
nodeCount Number
podsIpPool String
pool Property Map
projectId Number
projectName String
regionId Number
regionName String
servicesIpPool String
status String
statusReason String
timeouts Property Map
updatedAt String
userId String
version String

Supporting Types

K8sPool
, K8sPoolArgs

FlavorId This property is required. string
MaxNodeCount This property is required. double
MinNodeCount This property is required. double
Name This property is required. string
NodeCount This property is required. double
CreatedAt string
DockerVolumeSize double
DockerVolumeType string
Available value is 'standard', 'ssd_hiiops', 'cold', 'ultra'.
StackId string
Uuid string
FlavorId This property is required. string
MaxNodeCount This property is required. float64
MinNodeCount This property is required. float64
Name This property is required. string
NodeCount This property is required. float64
CreatedAt string
DockerVolumeSize float64
DockerVolumeType string
Available value is 'standard', 'ssd_hiiops', 'cold', 'ultra'.
StackId string
Uuid string
flavorId This property is required. String
maxNodeCount This property is required. Double
minNodeCount This property is required. Double
name This property is required. String
nodeCount This property is required. Double
createdAt String
dockerVolumeSize Double
dockerVolumeType String
Available value is 'standard', 'ssd_hiiops', 'cold', 'ultra'.
stackId String
uuid String
flavorId This property is required. string
maxNodeCount This property is required. number
minNodeCount This property is required. number
name This property is required. string
nodeCount This property is required. number
createdAt string
dockerVolumeSize number
dockerVolumeType string
Available value is 'standard', 'ssd_hiiops', 'cold', 'ultra'.
stackId string
uuid string
flavor_id This property is required. str
max_node_count This property is required. float
min_node_count This property is required. float
name This property is required. str
node_count This property is required. float
created_at str
docker_volume_size float
docker_volume_type str
Available value is 'standard', 'ssd_hiiops', 'cold', 'ultra'.
stack_id str
uuid str
flavorId This property is required. String
maxNodeCount This property is required. Number
minNodeCount This property is required. Number
name This property is required. String
nodeCount This property is required. Number
createdAt String
dockerVolumeSize Number
dockerVolumeType String
Available value is 'standard', 'ssd_hiiops', 'cold', 'ultra'.
stackId String
uuid String

K8sTimeouts
, K8sTimeoutsArgs

Create string
Update string
Create string
Update string
create String
update String
create string
update string
create str
update str
create String
update String

Import

import using <project_id>:<region_id>:<cluster_id> format

$ pulumi import gcorelabs:index/k8s:K8s cluster1 1:6:447d2959-8ae0-4ca0-8d47-9f050a3637d7
Copy

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.