Ovh

v0.0.4 published on Saturday, Sep 17, 2022 by lbrlabs

CloudProjectKube

Creates a OVH Managed Kubernetes Service cluster in a public cloud project.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Ovh = Lbrlabs.PulumiPackage.Ovh;

return await Deployment.RunAsync(() => 
{
    var mykube = new Ovh.CloudProjectKube("mykube", new()
    {
        ServiceName = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        Region = "GRA7",
        PrivateNetworkId = xxxxxxxx_xxxx_xxxx_xxxxx_xxxxxxxxxxxx,
        PrivateNetworkConfiguration = new Ovh.Inputs.CloudProjectKubePrivateNetworkConfigurationArgs
        {
            DefaultVrackGateway = "10.4.0.1",
            PrivateNetworkRoutingAsDefault = true,
        },
    }, new CustomResourceOptions
    {
        DependsOn = new[]
        {
            ovh_cloud_project_network_private.Network1,
        },
    });

});
package main

import (
	"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ovh.NewCloudProjectKube(ctx, "mykube", &ovh.CloudProjectKubeArgs{
			ServiceName:      pulumi.String("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"),
			Region:           pulumi.String("GRA7"),
			PrivateNetworkId: pulumi.Any(xxxxxxxx_xxxx_xxxx_xxxxx_xxxxxxxxxxxx),
			PrivateNetworkConfiguration: &CloudProjectKubePrivateNetworkConfigurationArgs{
				DefaultVrackGateway:            pulumi.String("10.4.0.1"),
				PrivateNetworkRoutingAsDefault: pulumi.Bool(true),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			ovh_cloud_project_network_private.Network1,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.CloudProjectKube;
import com.pulumi.ovh.CloudProjectKubeArgs;
import com.pulumi.ovh.inputs.CloudProjectKubePrivateNetworkConfigurationArgs;
import com.pulumi.resources.CustomResourceOptions;
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 mykube = new CloudProjectKube("mykube", CloudProjectKubeArgs.builder()        
            .serviceName("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
            .region("GRA7")
            .privateNetworkId(xxxxxxxx_xxxx_xxxx_xxxxx_xxxxxxxxxxxx)
            .privateNetworkConfiguration(CloudProjectKubePrivateNetworkConfigurationArgs.builder()
                .defaultVrackGateway("10.4.0.1")
                .privateNetworkRoutingAsDefault(true)
                .build())
            .build(), CustomResourceOptions.builder()
                .dependsOn(ovh_cloud_project_network_private.network1())
                .build());

    }
}
import pulumi
import lbrlabs_pulumi_ovh as ovh

mykube = ovh.CloudProjectKube("mykube",
    service_name="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    region="GRA7",
    private_network_id=xxxxxxxx_xxxx_xxxx_xxxxx_xxxxxxxxxxxx,
    private_network_configuration=ovh.CloudProjectKubePrivateNetworkConfigurationArgs(
        default_vrack_gateway="10.4.0.1",
        private_network_routing_as_default=True,
    ),
    opts=pulumi.ResourceOptions(depends_on=[ovh_cloud_project_network_private["network1"]]))
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@lbrlabs/pulumi-ovh";

const mykube = new ovh.CloudProjectKube("mykube", {
    serviceName: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    region: "GRA7",
    privateNetworkId: xxxxxxxx_xxxx_xxxx_xxxxx_xxxxxxxxxxxx,
    privateNetworkConfiguration: {
        defaultVrackGateway: "10.4.0.1",
        privateNetworkRoutingAsDefault: true,
    },
}, {
    dependsOn: [ovh_cloud_project_network_private.network1],
});
resources:
  mykube:
    type: ovh:CloudProjectKube
    properties:
      serviceName: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      region: GRA7
      privateNetworkId: ${["xxxxxxxx-xxxx-xxxx-xxxxx-xxxxxxxxxxxx"]} #ovh_cloud_project_network_private.network1.regions_attributes[index(ovh_cloud_project_network_private.network1.regions_attributes.*.region, "GRA7")].openstackid
      privateNetworkConfiguration:
        defaultVrackGateway: 10.4.0.1
        privateNetworkRoutingAsDefault: true
    options:
      dependson:
        - ${ovh_cloud_project_network_private.network1}

Create a CloudProjectKube Resource

new CloudProjectKube(name: string, args: CloudProjectKubeArgs, opts?: CustomResourceOptions);
@overload
def CloudProjectKube(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     name: Optional[str] = None,
                     private_network_configuration: Optional[CloudProjectKubePrivateNetworkConfigurationArgs] = None,
                     private_network_id: Optional[str] = None,
                     region: Optional[str] = None,
                     service_name: Optional[str] = None,
                     update_policy: Optional[str] = None,
                     version: Optional[str] = None)
@overload
def CloudProjectKube(resource_name: str,
                     args: CloudProjectKubeArgs,
                     opts: Optional[ResourceOptions] = None)
func NewCloudProjectKube(ctx *Context, name string, args CloudProjectKubeArgs, opts ...ResourceOption) (*CloudProjectKube, error)
public CloudProjectKube(string name, CloudProjectKubeArgs args, CustomResourceOptions? opts = null)
public CloudProjectKube(String name, CloudProjectKubeArgs args)
public CloudProjectKube(String name, CloudProjectKubeArgs args, CustomResourceOptions options)
type: ovh:CloudProjectKube
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CloudProjectKubeArgs
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 CloudProjectKubeArgs
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 CloudProjectKubeArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CloudProjectKubeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CloudProjectKubeArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CloudProjectKube 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 CloudProjectKube resource accepts the following input properties:

Region string

a valid OVH public cloud region ID in which the kubernetes cluster will be available. Ex.: "GRA1". Defaults to all public cloud regions. Changing this value recreates the resource.

ServiceName string

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

Name string

The name of the kubernetes cluster.

PrivateNetworkConfiguration Lbrlabs.PulumiPackage.Ovh.Inputs.CloudProjectKubePrivateNetworkConfigurationArgs

The private network configuration

  • default_vrack_gateway - If defined, all egress traffic will be routed towards this IP address, which should belong to the private network. Empty string means disabled.
  • private_network_routing_as_default - Defines whether routing should default to using the nodes' private interface, instead of their public interface. Default is false.
PrivateNetworkId string

OpenStack private network ID to use. Changing this value delete the resource(including ETCD user data). Defaults - not use private network.

UpdatePolicy string

Cluster update policy. Choose between [ALWAYS_UPDATE, MINIMAL_DOWNTIME, NEVER_UPDATE]'.

Version string

kubernetes version to use. Changing this value updates the resource. Defaults to latest available.

Region string

a valid OVH public cloud region ID in which the kubernetes cluster will be available. Ex.: "GRA1". Defaults to all public cloud regions. Changing this value recreates the resource.

ServiceName string

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

Name string

The name of the kubernetes cluster.

PrivateNetworkConfiguration CloudProjectKubePrivateNetworkConfigurationArgs

The private network configuration

  • default_vrack_gateway - If defined, all egress traffic will be routed towards this IP address, which should belong to the private network. Empty string means disabled.
  • private_network_routing_as_default - Defines whether routing should default to using the nodes' private interface, instead of their public interface. Default is false.
PrivateNetworkId string

OpenStack private network ID to use. Changing this value delete the resource(including ETCD user data). Defaults - not use private network.

UpdatePolicy string

Cluster update policy. Choose between [ALWAYS_UPDATE, MINIMAL_DOWNTIME, NEVER_UPDATE]'.

Version string

kubernetes version to use. Changing this value updates the resource. Defaults to latest available.

region String

a valid OVH public cloud region ID in which the kubernetes cluster will be available. Ex.: "GRA1". Defaults to all public cloud regions. Changing this value recreates the resource.

serviceName String

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

name String

The name of the kubernetes cluster.

privateNetworkConfiguration CloudProjectKubePrivateNetworkConfigurationArgs

The private network configuration

  • default_vrack_gateway - If defined, all egress traffic will be routed towards this IP address, which should belong to the private network. Empty string means disabled.
  • private_network_routing_as_default - Defines whether routing should default to using the nodes' private interface, instead of their public interface. Default is false.
privateNetworkId String

OpenStack private network ID to use. Changing this value delete the resource(including ETCD user data). Defaults - not use private network.

updatePolicy String

Cluster update policy. Choose between [ALWAYS_UPDATE, MINIMAL_DOWNTIME, NEVER_UPDATE]'.

version String

kubernetes version to use. Changing this value updates the resource. Defaults to latest available.

region string

a valid OVH public cloud region ID in which the kubernetes cluster will be available. Ex.: "GRA1". Defaults to all public cloud regions. Changing this value recreates the resource.

serviceName string

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

name string

The name of the kubernetes cluster.

privateNetworkConfiguration CloudProjectKubePrivateNetworkConfigurationArgs

The private network configuration

  • default_vrack_gateway - If defined, all egress traffic will be routed towards this IP address, which should belong to the private network. Empty string means disabled.
  • private_network_routing_as_default - Defines whether routing should default to using the nodes' private interface, instead of their public interface. Default is false.
privateNetworkId string

OpenStack private network ID to use. Changing this value delete the resource(including ETCD user data). Defaults - not use private network.

updatePolicy string

Cluster update policy. Choose between [ALWAYS_UPDATE, MINIMAL_DOWNTIME, NEVER_UPDATE]'.

version string

kubernetes version to use. Changing this value updates the resource. Defaults to latest available.

region str

a valid OVH public cloud region ID in which the kubernetes cluster will be available. Ex.: "GRA1". Defaults to all public cloud regions. Changing this value recreates the resource.

service_name str

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

name str

The name of the kubernetes cluster.

private_network_configuration CloudProjectKubePrivateNetworkConfigurationArgs

The private network configuration

  • default_vrack_gateway - If defined, all egress traffic will be routed towards this IP address, which should belong to the private network. Empty string means disabled.
  • private_network_routing_as_default - Defines whether routing should default to using the nodes' private interface, instead of their public interface. Default is false.
private_network_id str

OpenStack private network ID to use. Changing this value delete the resource(including ETCD user data). Defaults - not use private network.

update_policy str

Cluster update policy. Choose between [ALWAYS_UPDATE, MINIMAL_DOWNTIME, NEVER_UPDATE]'.

version str

kubernetes version to use. Changing this value updates the resource. Defaults to latest available.

region String

a valid OVH public cloud region ID in which the kubernetes cluster will be available. Ex.: "GRA1". Defaults to all public cloud regions. Changing this value recreates the resource.

serviceName String

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

name String

The name of the kubernetes cluster.

privateNetworkConfiguration Property Map

The private network configuration

  • default_vrack_gateway - If defined, all egress traffic will be routed towards this IP address, which should belong to the private network. Empty string means disabled.
  • private_network_routing_as_default - Defines whether routing should default to using the nodes' private interface, instead of their public interface. Default is false.
privateNetworkId String

OpenStack private network ID to use. Changing this value delete the resource(including ETCD user data). Defaults - not use private network.

updatePolicy String

Cluster update policy. Choose between [ALWAYS_UPDATE, MINIMAL_DOWNTIME, NEVER_UPDATE]'.

version String

kubernetes version to use. Changing this value updates the resource. Defaults to latest available.

Outputs

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

ControlPlaneIsUpToDate bool

True if control-plane is up to date.

Id string

The provider-assigned unique ID for this managed resource.

IsUpToDate bool

True if all nodes and control-plane are up to date.

Kubeconfig string

The kubeconfig file. Use this file to connect to your kubernetes cluster.

NextUpgradeVersions List<string>

Kubernetes versions available for upgrade.

NodesUrl string

Cluster nodes URL.

Status string

Cluster status. Should be normally set to 'READY'.

Url string

Management URL of your cluster.

ControlPlaneIsUpToDate bool

True if control-plane is up to date.

Id string

The provider-assigned unique ID for this managed resource.

IsUpToDate bool

True if all nodes and control-plane are up to date.

Kubeconfig string

The kubeconfig file. Use this file to connect to your kubernetes cluster.

NextUpgradeVersions []string

Kubernetes versions available for upgrade.

NodesUrl string

Cluster nodes URL.

Status string

Cluster status. Should be normally set to 'READY'.

Url string

Management URL of your cluster.

controlPlaneIsUpToDate Boolean

True if control-plane is up to date.

id String

The provider-assigned unique ID for this managed resource.

isUpToDate Boolean

True if all nodes and control-plane are up to date.

kubeconfig String

The kubeconfig file. Use this file to connect to your kubernetes cluster.

nextUpgradeVersions List<String>

Kubernetes versions available for upgrade.

nodesUrl String

Cluster nodes URL.

status String

Cluster status. Should be normally set to 'READY'.

url String

Management URL of your cluster.

controlPlaneIsUpToDate boolean

True if control-plane is up to date.

id string

The provider-assigned unique ID for this managed resource.

isUpToDate boolean

True if all nodes and control-plane are up to date.

kubeconfig string

The kubeconfig file. Use this file to connect to your kubernetes cluster.

nextUpgradeVersions string[]

Kubernetes versions available for upgrade.

nodesUrl string

Cluster nodes URL.

status string

Cluster status. Should be normally set to 'READY'.

url string

Management URL of your cluster.

control_plane_is_up_to_date bool

True if control-plane is up to date.

id str

The provider-assigned unique ID for this managed resource.

is_up_to_date bool

True if all nodes and control-plane are up to date.

kubeconfig str

The kubeconfig file. Use this file to connect to your kubernetes cluster.

next_upgrade_versions Sequence[str]

Kubernetes versions available for upgrade.

nodes_url str

Cluster nodes URL.

status str

Cluster status. Should be normally set to 'READY'.

url str

Management URL of your cluster.

controlPlaneIsUpToDate Boolean

True if control-plane is up to date.

id String

The provider-assigned unique ID for this managed resource.

isUpToDate Boolean

True if all nodes and control-plane are up to date.

kubeconfig String

The kubeconfig file. Use this file to connect to your kubernetes cluster.

nextUpgradeVersions List<String>

Kubernetes versions available for upgrade.

nodesUrl String

Cluster nodes URL.

status String

Cluster status. Should be normally set to 'READY'.

url String

Management URL of your cluster.

Look up an Existing CloudProjectKube Resource

Get an existing CloudProjectKube 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?: CloudProjectKubeState, opts?: CustomResourceOptions): CloudProjectKube
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        control_plane_is_up_to_date: Optional[bool] = None,
        is_up_to_date: Optional[bool] = None,
        kubeconfig: Optional[str] = None,
        name: Optional[str] = None,
        next_upgrade_versions: Optional[Sequence[str]] = None,
        nodes_url: Optional[str] = None,
        private_network_configuration: Optional[CloudProjectKubePrivateNetworkConfigurationArgs] = None,
        private_network_id: Optional[str] = None,
        region: Optional[str] = None,
        service_name: Optional[str] = None,
        status: Optional[str] = None,
        update_policy: Optional[str] = None,
        url: Optional[str] = None,
        version: Optional[str] = None) -> CloudProjectKube
func GetCloudProjectKube(ctx *Context, name string, id IDInput, state *CloudProjectKubeState, opts ...ResourceOption) (*CloudProjectKube, error)
public static CloudProjectKube Get(string name, Input<string> id, CloudProjectKubeState? state, CustomResourceOptions? opts = null)
public static CloudProjectKube get(String name, Output<String> id, CloudProjectKubeState 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:
ControlPlaneIsUpToDate bool

True if control-plane is up to date.

IsUpToDate bool

True if all nodes and control-plane are up to date.

Kubeconfig string

The kubeconfig file. Use this file to connect to your kubernetes cluster.

Name string

The name of the kubernetes cluster.

NextUpgradeVersions List<string>

Kubernetes versions available for upgrade.

NodesUrl string

Cluster nodes URL.

PrivateNetworkConfiguration Lbrlabs.PulumiPackage.Ovh.Inputs.CloudProjectKubePrivateNetworkConfigurationArgs

The private network configuration

  • default_vrack_gateway - If defined, all egress traffic will be routed towards this IP address, which should belong to the private network. Empty string means disabled.
  • private_network_routing_as_default - Defines whether routing should default to using the nodes' private interface, instead of their public interface. Default is false.
PrivateNetworkId string

OpenStack private network ID to use. Changing this value delete the resource(including ETCD user data). Defaults - not use private network.

Region string

a valid OVH public cloud region ID in which the kubernetes cluster will be available. Ex.: "GRA1". Defaults to all public cloud regions. Changing this value recreates the resource.

ServiceName string

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

Status string

Cluster status. Should be normally set to 'READY'.

UpdatePolicy string

Cluster update policy. Choose between [ALWAYS_UPDATE, MINIMAL_DOWNTIME, NEVER_UPDATE]'.

Url string

Management URL of your cluster.

Version string

kubernetes version to use. Changing this value updates the resource. Defaults to latest available.

ControlPlaneIsUpToDate bool

True if control-plane is up to date.

IsUpToDate bool

True if all nodes and control-plane are up to date.

Kubeconfig string

The kubeconfig file. Use this file to connect to your kubernetes cluster.

Name string

The name of the kubernetes cluster.

NextUpgradeVersions []string

Kubernetes versions available for upgrade.

NodesUrl string

Cluster nodes URL.

PrivateNetworkConfiguration CloudProjectKubePrivateNetworkConfigurationArgs

The private network configuration

  • default_vrack_gateway - If defined, all egress traffic will be routed towards this IP address, which should belong to the private network. Empty string means disabled.
  • private_network_routing_as_default - Defines whether routing should default to using the nodes' private interface, instead of their public interface. Default is false.
PrivateNetworkId string

OpenStack private network ID to use. Changing this value delete the resource(including ETCD user data). Defaults - not use private network.

Region string

a valid OVH public cloud region ID in which the kubernetes cluster will be available. Ex.: "GRA1". Defaults to all public cloud regions. Changing this value recreates the resource.

ServiceName string

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

Status string

Cluster status. Should be normally set to 'READY'.

UpdatePolicy string

Cluster update policy. Choose between [ALWAYS_UPDATE, MINIMAL_DOWNTIME, NEVER_UPDATE]'.

Url string

Management URL of your cluster.

Version string

kubernetes version to use. Changing this value updates the resource. Defaults to latest available.

controlPlaneIsUpToDate Boolean

True if control-plane is up to date.

isUpToDate Boolean

True if all nodes and control-plane are up to date.

kubeconfig String

The kubeconfig file. Use this file to connect to your kubernetes cluster.

name String

The name of the kubernetes cluster.

nextUpgradeVersions List<String>

Kubernetes versions available for upgrade.

nodesUrl String

Cluster nodes URL.

privateNetworkConfiguration CloudProjectKubePrivateNetworkConfigurationArgs

The private network configuration

  • default_vrack_gateway - If defined, all egress traffic will be routed towards this IP address, which should belong to the private network. Empty string means disabled.
  • private_network_routing_as_default - Defines whether routing should default to using the nodes' private interface, instead of their public interface. Default is false.
privateNetworkId String

OpenStack private network ID to use. Changing this value delete the resource(including ETCD user data). Defaults - not use private network.

region String

a valid OVH public cloud region ID in which the kubernetes cluster will be available. Ex.: "GRA1". Defaults to all public cloud regions. Changing this value recreates the resource.

serviceName String

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

status String

Cluster status. Should be normally set to 'READY'.

updatePolicy String

Cluster update policy. Choose between [ALWAYS_UPDATE, MINIMAL_DOWNTIME, NEVER_UPDATE]'.

url String

Management URL of your cluster.

version String

kubernetes version to use. Changing this value updates the resource. Defaults to latest available.

controlPlaneIsUpToDate boolean

True if control-plane is up to date.

isUpToDate boolean

True if all nodes and control-plane are up to date.

kubeconfig string

The kubeconfig file. Use this file to connect to your kubernetes cluster.

name string

The name of the kubernetes cluster.

nextUpgradeVersions string[]

Kubernetes versions available for upgrade.

nodesUrl string

Cluster nodes URL.

privateNetworkConfiguration CloudProjectKubePrivateNetworkConfigurationArgs

The private network configuration

  • default_vrack_gateway - If defined, all egress traffic will be routed towards this IP address, which should belong to the private network. Empty string means disabled.
  • private_network_routing_as_default - Defines whether routing should default to using the nodes' private interface, instead of their public interface. Default is false.
privateNetworkId string

OpenStack private network ID to use. Changing this value delete the resource(including ETCD user data). Defaults - not use private network.

region string

a valid OVH public cloud region ID in which the kubernetes cluster will be available. Ex.: "GRA1". Defaults to all public cloud regions. Changing this value recreates the resource.

serviceName string

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

status string

Cluster status. Should be normally set to 'READY'.

updatePolicy string

Cluster update policy. Choose between [ALWAYS_UPDATE, MINIMAL_DOWNTIME, NEVER_UPDATE]'.

url string

Management URL of your cluster.

version string

kubernetes version to use. Changing this value updates the resource. Defaults to latest available.

control_plane_is_up_to_date bool

True if control-plane is up to date.

is_up_to_date bool

True if all nodes and control-plane are up to date.

kubeconfig str

The kubeconfig file. Use this file to connect to your kubernetes cluster.

name str

The name of the kubernetes cluster.

next_upgrade_versions Sequence[str]

Kubernetes versions available for upgrade.

nodes_url str

Cluster nodes URL.

private_network_configuration CloudProjectKubePrivateNetworkConfigurationArgs

The private network configuration

  • default_vrack_gateway - If defined, all egress traffic will be routed towards this IP address, which should belong to the private network. Empty string means disabled.
  • private_network_routing_as_default - Defines whether routing should default to using the nodes' private interface, instead of their public interface. Default is false.
private_network_id str

OpenStack private network ID to use. Changing this value delete the resource(including ETCD user data). Defaults - not use private network.

region str

a valid OVH public cloud region ID in which the kubernetes cluster will be available. Ex.: "GRA1". Defaults to all public cloud regions. Changing this value recreates the resource.

service_name str

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

status str

Cluster status. Should be normally set to 'READY'.

update_policy str

Cluster update policy. Choose between [ALWAYS_UPDATE, MINIMAL_DOWNTIME, NEVER_UPDATE]'.

url str

Management URL of your cluster.

version str

kubernetes version to use. Changing this value updates the resource. Defaults to latest available.

controlPlaneIsUpToDate Boolean

True if control-plane is up to date.

isUpToDate Boolean

True if all nodes and control-plane are up to date.

kubeconfig String

The kubeconfig file. Use this file to connect to your kubernetes cluster.

name String

The name of the kubernetes cluster.

nextUpgradeVersions List<String>

Kubernetes versions available for upgrade.

nodesUrl String

Cluster nodes URL.

privateNetworkConfiguration Property Map

The private network configuration

  • default_vrack_gateway - If defined, all egress traffic will be routed towards this IP address, which should belong to the private network. Empty string means disabled.
  • private_network_routing_as_default - Defines whether routing should default to using the nodes' private interface, instead of their public interface. Default is false.
privateNetworkId String

OpenStack private network ID to use. Changing this value delete the resource(including ETCD user data). Defaults - not use private network.

region String

a valid OVH public cloud region ID in which the kubernetes cluster will be available. Ex.: "GRA1". Defaults to all public cloud regions. Changing this value recreates the resource.

serviceName String

The id of the public cloud project. If omitted, the OVH_CLOUD_PROJECT_SERVICE environment variable is used.

status String

Cluster status. Should be normally set to 'READY'.

updatePolicy String

Cluster update policy. Choose between [ALWAYS_UPDATE, MINIMAL_DOWNTIME, NEVER_UPDATE]'.

url String

Management URL of your cluster.

version String

kubernetes version to use. Changing this value updates the resource. Defaults to latest available.

Supporting Types

CloudProjectKubePrivateNetworkConfiguration

Import

OVHcloud Managed Kubernetes Service clusters can be imported using the serviceName and the id of the cluster, separated by “/” E.g.,

 $ pulumi import ovh:index/cloudProjectKube:CloudProjectKube my_kube_cluster a6678gggjh76hggjh7f59/a123bc45-a1b2-34c5-678d-678ghg7676ebc

Package Details

Repository
https://github.com/lbrlabs/pulumi-ovh
License
Apache-2.0
Notes

This Pulumi package is based on the ovh Terraform Provider.