Ovh

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

CloudProjectKubeNodePool

Creates a nodepool in a OVH Managed Kubernetes Service cluster.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var pool = new Ovh.CloudProjectKubeNodePool("pool", new()
    {
        DesiredNodes = 3,
        FlavorName = "b2-7",
        KubeId = "xxxxxxxx-2bf9-xxxx-xxxx-xxxxxxxxxxxx",
        MaxNodes = 3,
        MinNodes = 3,
        ServiceName = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        Template = new Ovh.Inputs.CloudProjectKubeNodePoolTemplateArgs
        {
            Metadata = new Ovh.Inputs.CloudProjectKubeNodePoolTemplateMetadataArgs
            {
                Annotations = 
                {
                    { "k1", "v1" },
                    { "k2", "v2" },
                },
                Finalizers = new[]
                {
                    "F1",
                    "F2",
                },
                Labels = 
                {
                    { "k3", "v3" },
                    { "k4", "v4" },
                },
            },
            Spec = new Ovh.Inputs.CloudProjectKubeNodePoolTemplateSpecArgs
            {
                Taints = new[]
                {
                    
                    {
                        { "effect", "PreferNoSchedule" },
                        { "key", "k" },
                        { "value", "v" },
                    },
                },
                Unschedulable = false,
            },
        },
    });

});
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.NewCloudProjectKubeNodePool(ctx, "pool", &ovh.CloudProjectKubeNodePoolArgs{
			DesiredNodes: pulumi.Int(3),
			FlavorName:   pulumi.String("b2-7"),
			KubeId:       pulumi.String("xxxxxxxx-2bf9-xxxx-xxxx-xxxxxxxxxxxx"),
			MaxNodes:     pulumi.Int(3),
			MinNodes:     pulumi.Int(3),
			ServiceName:  pulumi.String("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"),
			Template: &CloudProjectKubeNodePoolTemplateArgs{
				Metadata: &CloudProjectKubeNodePoolTemplateMetadataArgs{
					Annotations: pulumi.StringMap{
						"k1": pulumi.String("v1"),
						"k2": pulumi.String("v2"),
					},
					Finalizers: pulumi.StringArray{
						pulumi.String("F1"),
						pulumi.String("F2"),
					},
					Labels: pulumi.StringMap{
						"k3": pulumi.String("v3"),
						"k4": pulumi.String("v4"),
					},
				},
				Spec: &CloudProjectKubeNodePoolTemplateSpecArgs{
					Taints: pulumi.AnyMapArray{
						pulumi.AnyMap{
							"effect": pulumi.Any("PreferNoSchedule"),
							"key":    pulumi.Any("k"),
							"value":  pulumi.Any("v"),
						},
					},
					Unschedulable: pulumi.Bool(false),
				},
			},
		})
		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.CloudProjectKubeNodePool;
import com.pulumi.ovh.CloudProjectKubeNodePoolArgs;
import com.pulumi.ovh.inputs.CloudProjectKubeNodePoolTemplateArgs;
import com.pulumi.ovh.inputs.CloudProjectKubeNodePoolTemplateMetadataArgs;
import com.pulumi.ovh.inputs.CloudProjectKubeNodePoolTemplateSpecArgs;
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 pool = new CloudProjectKubeNodePool("pool", CloudProjectKubeNodePoolArgs.builder()        
            .desiredNodes(3)
            .flavorName("b2-7")
            .kubeId("xxxxxxxx-2bf9-xxxx-xxxx-xxxxxxxxxxxx")
            .maxNodes(3)
            .minNodes(3)
            .serviceName("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
            .template(CloudProjectKubeNodePoolTemplateArgs.builder()
                .metadata(CloudProjectKubeNodePoolTemplateMetadataArgs.builder()
                    .annotations(Map.ofEntries(
                        Map.entry("k1", "v1"),
                        Map.entry("k2", "v2")
                    ))
                    .finalizers(                    
                        "F1",
                        "F2")
                    .labels(Map.ofEntries(
                        Map.entry("k3", "v3"),
                        Map.entry("k4", "v4")
                    ))
                    .build())
                .spec(CloudProjectKubeNodePoolTemplateSpecArgs.builder()
                    .taints(Map.ofEntries(
                        Map.entry("effect", "PreferNoSchedule"),
                        Map.entry("key", "k"),
                        Map.entry("value", "v")
                    ))
                    .unschedulable(false)
                    .build())
                .build())
            .build());

    }
}
import pulumi
import lbrlabs_pulumi_ovh as ovh

pool = ovh.CloudProjectKubeNodePool("pool",
    desired_nodes=3,
    flavor_name="b2-7",
    kube_id="xxxxxxxx-2bf9-xxxx-xxxx-xxxxxxxxxxxx",
    max_nodes=3,
    min_nodes=3,
    service_name="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    template=ovh.CloudProjectKubeNodePoolTemplateArgs(
        metadata=ovh.CloudProjectKubeNodePoolTemplateMetadataArgs(
            annotations={
                "k1": "v1",
                "k2": "v2",
            },
            finalizers=[
                "F1",
                "F2",
            ],
            labels={
                "k3": "v3",
                "k4": "v4",
            },
        ),
        spec=ovh.CloudProjectKubeNodePoolTemplateSpecArgs(
            taints=[{
                "effect": "PreferNoSchedule",
                "key": "k",
                "value": "v",
            }],
            unschedulable=False,
        ),
    ))
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";

const pool = new ovh.CloudProjectKubeNodePool("pool", {
    desiredNodes: 3,
    flavorName: "b2-7",
    kubeId: "xxxxxxxx-2bf9-xxxx-xxxx-xxxxxxxxxxxx",
    maxNodes: 3,
    minNodes: 3,
    serviceName: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    template: {
        metadata: {
            annotations: {
                k1: "v1",
                k2: "v2",
            },
            finalizers: [
                "F1",
                "F2",
            ],
            labels: {
                k3: "v3",
                k4: "v4",
            },
        },
        spec: {
            taints: [{
                effect: "PreferNoSchedule",
                key: "k",
                value: "v",
            }],
            unschedulable: false,
        },
    },
});
resources:
  pool:
    type: ovh:CloudProjectKubeNodePool
    properties:
      desiredNodes: 3
      flavorName: b2-7
      kubeId: xxxxxxxx-2bf9-xxxx-xxxx-xxxxxxxxxxxx
      maxNodes: 3
      minNodes: 3
      serviceName: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      template:
        metadata:
          annotations:
            k1: v1
            k2: v2
          finalizers:
            - F1
            - F2
          labels:
            k3: v3
            k4: v4
        spec:
          taints:
            - effect: PreferNoSchedule
              key: k
              value: v
          unschedulable: false

Create a CloudProjectKubeNodePool Resource

new CloudProjectKubeNodePool(name: string, args: CloudProjectKubeNodePoolArgs, opts?: CustomResourceOptions);
@overload
def CloudProjectKubeNodePool(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             anti_affinity: Optional[bool] = None,
                             autoscale: Optional[bool] = None,
                             desired_nodes: Optional[int] = None,
                             flavor_name: Optional[str] = None,
                             kube_id: Optional[str] = None,
                             max_nodes: Optional[int] = None,
                             min_nodes: Optional[int] = None,
                             monthly_billed: Optional[bool] = None,
                             name: Optional[str] = None,
                             service_name: Optional[str] = None,
                             template: Optional[CloudProjectKubeNodePoolTemplateArgs] = None)
@overload
def CloudProjectKubeNodePool(resource_name: str,
                             args: CloudProjectKubeNodePoolArgs,
                             opts: Optional[ResourceOptions] = None)
func NewCloudProjectKubeNodePool(ctx *Context, name string, args CloudProjectKubeNodePoolArgs, opts ...ResourceOption) (*CloudProjectKubeNodePool, error)
public CloudProjectKubeNodePool(string name, CloudProjectKubeNodePoolArgs args, CustomResourceOptions? opts = null)
public CloudProjectKubeNodePool(String name, CloudProjectKubeNodePoolArgs args)
public CloudProjectKubeNodePool(String name, CloudProjectKubeNodePoolArgs args, CustomResourceOptions options)
type: ovh:CloudProjectKubeNodePool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

FlavorName string

a valid OVH public cloud flavor ID in which the nodes will be started. Ex: "b2-7". Changing this value recreates the resource. You can find the list of flavor IDs: https://www.ovhcloud.com/fr/public-cloud/prices/

KubeId string

The id of the managed kubernetes cluster.

ServiceName string

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

AntiAffinity bool

should the pool use the anti-affinity feature. Default to false.

Autoscale bool

Enable auto-scaling for the pool. Default to false.

DesiredNodes int

number of nodes to start.

MaxNodes int

maximum number of nodes allowed in the pool. Setting desired_nodes over this value will raise an error.

MinNodes int

minimum number of nodes allowed in the pool. Setting desired_nodes under this value will raise an error.

MonthlyBilled bool

should the nodes be billed on a monthly basis. Default to false.

Name string

The name of the nodepool. Changing this value recreates the resource. Warning: "_" char is not allowed!

Template Lbrlabs.PulumiPackage.Ovh.Inputs.CloudProjectKubeNodePoolTemplateArgs

Node pool template

FlavorName string

a valid OVH public cloud flavor ID in which the nodes will be started. Ex: "b2-7". Changing this value recreates the resource. You can find the list of flavor IDs: https://www.ovhcloud.com/fr/public-cloud/prices/

KubeId string

The id of the managed kubernetes cluster.

ServiceName string

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

AntiAffinity bool

should the pool use the anti-affinity feature. Default to false.

Autoscale bool

Enable auto-scaling for the pool. Default to false.

DesiredNodes int

number of nodes to start.

MaxNodes int

maximum number of nodes allowed in the pool. Setting desired_nodes over this value will raise an error.

MinNodes int

minimum number of nodes allowed in the pool. Setting desired_nodes under this value will raise an error.

MonthlyBilled bool

should the nodes be billed on a monthly basis. Default to false.

Name string

The name of the nodepool. Changing this value recreates the resource. Warning: "_" char is not allowed!

Template CloudProjectKubeNodePoolTemplateArgs

Node pool template

flavorName String

a valid OVH public cloud flavor ID in which the nodes will be started. Ex: "b2-7". Changing this value recreates the resource. You can find the list of flavor IDs: https://www.ovhcloud.com/fr/public-cloud/prices/

kubeId String

The id of the managed kubernetes cluster.

serviceName String

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

antiAffinity Boolean

should the pool use the anti-affinity feature. Default to false.

autoscale Boolean

Enable auto-scaling for the pool. Default to false.

desiredNodes Integer

number of nodes to start.

maxNodes Integer

maximum number of nodes allowed in the pool. Setting desired_nodes over this value will raise an error.

minNodes Integer

minimum number of nodes allowed in the pool. Setting desired_nodes under this value will raise an error.

monthlyBilled Boolean

should the nodes be billed on a monthly basis. Default to false.

name String

The name of the nodepool. Changing this value recreates the resource. Warning: "_" char is not allowed!

template CloudProjectKubeNodePoolTemplateArgs

Node pool template

flavorName string

a valid OVH public cloud flavor ID in which the nodes will be started. Ex: "b2-7". Changing this value recreates the resource. You can find the list of flavor IDs: https://www.ovhcloud.com/fr/public-cloud/prices/

kubeId string

The id of the managed kubernetes cluster.

serviceName string

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

antiAffinity boolean

should the pool use the anti-affinity feature. Default to false.

autoscale boolean

Enable auto-scaling for the pool. Default to false.

desiredNodes number

number of nodes to start.

maxNodes number

maximum number of nodes allowed in the pool. Setting desired_nodes over this value will raise an error.

minNodes number

minimum number of nodes allowed in the pool. Setting desired_nodes under this value will raise an error.

monthlyBilled boolean

should the nodes be billed on a monthly basis. Default to false.

name string

The name of the nodepool. Changing this value recreates the resource. Warning: "_" char is not allowed!

template CloudProjectKubeNodePoolTemplateArgs

Node pool template

flavor_name str

a valid OVH public cloud flavor ID in which the nodes will be started. Ex: "b2-7". Changing this value recreates the resource. You can find the list of flavor IDs: https://www.ovhcloud.com/fr/public-cloud/prices/

kube_id str

The id of the managed kubernetes cluster.

service_name str

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

anti_affinity bool

should the pool use the anti-affinity feature. Default to false.

autoscale bool

Enable auto-scaling for the pool. Default to false.

desired_nodes int

number of nodes to start.

max_nodes int

maximum number of nodes allowed in the pool. Setting desired_nodes over this value will raise an error.

min_nodes int

minimum number of nodes allowed in the pool. Setting desired_nodes under this value will raise an error.

monthly_billed bool

should the nodes be billed on a monthly basis. Default to false.

name str

The name of the nodepool. Changing this value recreates the resource. Warning: "_" char is not allowed!

template CloudProjectKubeNodePoolTemplateArgs

Node pool template

flavorName String

a valid OVH public cloud flavor ID in which the nodes will be started. Ex: "b2-7". Changing this value recreates the resource. You can find the list of flavor IDs: https://www.ovhcloud.com/fr/public-cloud/prices/

kubeId String

The id of the managed kubernetes cluster.

serviceName String

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

antiAffinity Boolean

should the pool use the anti-affinity feature. Default to false.

autoscale Boolean

Enable auto-scaling for the pool. Default to false.

desiredNodes Number

number of nodes to start.

maxNodes Number

maximum number of nodes allowed in the pool. Setting desired_nodes over this value will raise an error.

minNodes Number

minimum number of nodes allowed in the pool. Setting desired_nodes under this value will raise an error.

monthlyBilled Boolean

should the nodes be billed on a monthly basis. Default to false.

name String

The name of the nodepool. Changing this value recreates the resource. Warning: "_" char is not allowed!

template Property Map

Node pool template

Outputs

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

AvailableNodes int

Number of nodes which are actually ready in the pool

CreatedAt string

Creation date

CurrentNodes int

Number of nodes present in the pool

Flavor string

Flavor name

Id string

The provider-assigned unique ID for this managed resource.

ProjectId string

Project id

SizeStatus string

Status describing the state between number of nodes wanted and available ones

Status string

Current status

UpToDateNodes int

Number of nodes with latest version installed in the pool

UpdatedAt string

Last update date

AvailableNodes int

Number of nodes which are actually ready in the pool

CreatedAt string

Creation date

CurrentNodes int

Number of nodes present in the pool

Flavor string

Flavor name

Id string

The provider-assigned unique ID for this managed resource.

ProjectId string

Project id

SizeStatus string

Status describing the state between number of nodes wanted and available ones

Status string

Current status

UpToDateNodes int

Number of nodes with latest version installed in the pool

UpdatedAt string

Last update date

availableNodes Integer

Number of nodes which are actually ready in the pool

createdAt String

Creation date

currentNodes Integer

Number of nodes present in the pool

flavor String

Flavor name

id String

The provider-assigned unique ID for this managed resource.

projectId String

Project id

sizeStatus String

Status describing the state between number of nodes wanted and available ones

status String

Current status

upToDateNodes Integer

Number of nodes with latest version installed in the pool

updatedAt String

Last update date

availableNodes number

Number of nodes which are actually ready in the pool

createdAt string

Creation date

currentNodes number

Number of nodes present in the pool

flavor string

Flavor name

id string

The provider-assigned unique ID for this managed resource.

projectId string

Project id

sizeStatus string

Status describing the state between number of nodes wanted and available ones

status string

Current status

upToDateNodes number

Number of nodes with latest version installed in the pool

updatedAt string

Last update date

available_nodes int

Number of nodes which are actually ready in the pool

created_at str

Creation date

current_nodes int

Number of nodes present in the pool

flavor str

Flavor name

id str

The provider-assigned unique ID for this managed resource.

project_id str

Project id

size_status str

Status describing the state between number of nodes wanted and available ones

status str

Current status

up_to_date_nodes int

Number of nodes with latest version installed in the pool

updated_at str

Last update date

availableNodes Number

Number of nodes which are actually ready in the pool

createdAt String

Creation date

currentNodes Number

Number of nodes present in the pool

flavor String

Flavor name

id String

The provider-assigned unique ID for this managed resource.

projectId String

Project id

sizeStatus String

Status describing the state between number of nodes wanted and available ones

status String

Current status

upToDateNodes Number

Number of nodes with latest version installed in the pool

updatedAt String

Last update date

Look up an Existing CloudProjectKubeNodePool Resource

Get an existing CloudProjectKubeNodePool 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?: CloudProjectKubeNodePoolState, opts?: CustomResourceOptions): CloudProjectKubeNodePool
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        anti_affinity: Optional[bool] = None,
        autoscale: Optional[bool] = None,
        available_nodes: Optional[int] = None,
        created_at: Optional[str] = None,
        current_nodes: Optional[int] = None,
        desired_nodes: Optional[int] = None,
        flavor: Optional[str] = None,
        flavor_name: Optional[str] = None,
        kube_id: Optional[str] = None,
        max_nodes: Optional[int] = None,
        min_nodes: Optional[int] = None,
        monthly_billed: Optional[bool] = None,
        name: Optional[str] = None,
        project_id: Optional[str] = None,
        service_name: Optional[str] = None,
        size_status: Optional[str] = None,
        status: Optional[str] = None,
        template: Optional[CloudProjectKubeNodePoolTemplateArgs] = None,
        up_to_date_nodes: Optional[int] = None,
        updated_at: Optional[str] = None) -> CloudProjectKubeNodePool
func GetCloudProjectKubeNodePool(ctx *Context, name string, id IDInput, state *CloudProjectKubeNodePoolState, opts ...ResourceOption) (*CloudProjectKubeNodePool, error)
public static CloudProjectKubeNodePool Get(string name, Input<string> id, CloudProjectKubeNodePoolState? state, CustomResourceOptions? opts = null)
public static CloudProjectKubeNodePool get(String name, Output<String> id, CloudProjectKubeNodePoolState 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:
AntiAffinity bool

should the pool use the anti-affinity feature. Default to false.

Autoscale bool

Enable auto-scaling for the pool. Default to false.

AvailableNodes int

Number of nodes which are actually ready in the pool

CreatedAt string

Creation date

CurrentNodes int

Number of nodes present in the pool

DesiredNodes int

number of nodes to start.

Flavor string

Flavor name

FlavorName string

a valid OVH public cloud flavor ID in which the nodes will be started. Ex: "b2-7". Changing this value recreates the resource. You can find the list of flavor IDs: https://www.ovhcloud.com/fr/public-cloud/prices/

KubeId string

The id of the managed kubernetes cluster.

MaxNodes int

maximum number of nodes allowed in the pool. Setting desired_nodes over this value will raise an error.

MinNodes int

minimum number of nodes allowed in the pool. Setting desired_nodes under this value will raise an error.

MonthlyBilled bool

should the nodes be billed on a monthly basis. Default to false.

Name string

The name of the nodepool. Changing this value recreates the resource. Warning: "_" char is not allowed!

ProjectId string

Project id

ServiceName string

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

SizeStatus string

Status describing the state between number of nodes wanted and available ones

Status string

Current status

Template Lbrlabs.PulumiPackage.Ovh.Inputs.CloudProjectKubeNodePoolTemplateArgs

Node pool template

UpToDateNodes int

Number of nodes with latest version installed in the pool

UpdatedAt string

Last update date

AntiAffinity bool

should the pool use the anti-affinity feature. Default to false.

Autoscale bool

Enable auto-scaling for the pool. Default to false.

AvailableNodes int

Number of nodes which are actually ready in the pool

CreatedAt string

Creation date

CurrentNodes int

Number of nodes present in the pool

DesiredNodes int

number of nodes to start.

Flavor string

Flavor name

FlavorName string

a valid OVH public cloud flavor ID in which the nodes will be started. Ex: "b2-7". Changing this value recreates the resource. You can find the list of flavor IDs: https://www.ovhcloud.com/fr/public-cloud/prices/

KubeId string

The id of the managed kubernetes cluster.

MaxNodes int

maximum number of nodes allowed in the pool. Setting desired_nodes over this value will raise an error.

MinNodes int

minimum number of nodes allowed in the pool. Setting desired_nodes under this value will raise an error.

MonthlyBilled bool

should the nodes be billed on a monthly basis. Default to false.

Name string

The name of the nodepool. Changing this value recreates the resource. Warning: "_" char is not allowed!

ProjectId string

Project id

ServiceName string

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

SizeStatus string

Status describing the state between number of nodes wanted and available ones

Status string

Current status

Template CloudProjectKubeNodePoolTemplateArgs

Node pool template

UpToDateNodes int

Number of nodes with latest version installed in the pool

UpdatedAt string

Last update date

antiAffinity Boolean

should the pool use the anti-affinity feature. Default to false.

autoscale Boolean

Enable auto-scaling for the pool. Default to false.

availableNodes Integer

Number of nodes which are actually ready in the pool

createdAt String

Creation date

currentNodes Integer

Number of nodes present in the pool

desiredNodes Integer

number of nodes to start.

flavor String

Flavor name

flavorName String

a valid OVH public cloud flavor ID in which the nodes will be started. Ex: "b2-7". Changing this value recreates the resource. You can find the list of flavor IDs: https://www.ovhcloud.com/fr/public-cloud/prices/

kubeId String

The id of the managed kubernetes cluster.

maxNodes Integer

maximum number of nodes allowed in the pool. Setting desired_nodes over this value will raise an error.

minNodes Integer

minimum number of nodes allowed in the pool. Setting desired_nodes under this value will raise an error.

monthlyBilled Boolean

should the nodes be billed on a monthly basis. Default to false.

name String

The name of the nodepool. Changing this value recreates the resource. Warning: "_" char is not allowed!

projectId String

Project id

serviceName String

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

sizeStatus String

Status describing the state between number of nodes wanted and available ones

status String

Current status

template CloudProjectKubeNodePoolTemplateArgs

Node pool template

upToDateNodes Integer

Number of nodes with latest version installed in the pool

updatedAt String

Last update date

antiAffinity boolean

should the pool use the anti-affinity feature. Default to false.

autoscale boolean

Enable auto-scaling for the pool. Default to false.

availableNodes number

Number of nodes which are actually ready in the pool

createdAt string

Creation date

currentNodes number

Number of nodes present in the pool

desiredNodes number

number of nodes to start.

flavor string

Flavor name

flavorName string

a valid OVH public cloud flavor ID in which the nodes will be started. Ex: "b2-7". Changing this value recreates the resource. You can find the list of flavor IDs: https://www.ovhcloud.com/fr/public-cloud/prices/

kubeId string

The id of the managed kubernetes cluster.

maxNodes number

maximum number of nodes allowed in the pool. Setting desired_nodes over this value will raise an error.

minNodes number

minimum number of nodes allowed in the pool. Setting desired_nodes under this value will raise an error.

monthlyBilled boolean

should the nodes be billed on a monthly basis. Default to false.

name string

The name of the nodepool. Changing this value recreates the resource. Warning: "_" char is not allowed!

projectId string

Project id

serviceName string

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

sizeStatus string

Status describing the state between number of nodes wanted and available ones

status string

Current status

template CloudProjectKubeNodePoolTemplateArgs

Node pool template

upToDateNodes number

Number of nodes with latest version installed in the pool

updatedAt string

Last update date

anti_affinity bool

should the pool use the anti-affinity feature. Default to false.

autoscale bool

Enable auto-scaling for the pool. Default to false.

available_nodes int

Number of nodes which are actually ready in the pool

created_at str

Creation date

current_nodes int

Number of nodes present in the pool

desired_nodes int

number of nodes to start.

flavor str

Flavor name

flavor_name str

a valid OVH public cloud flavor ID in which the nodes will be started. Ex: "b2-7". Changing this value recreates the resource. You can find the list of flavor IDs: https://www.ovhcloud.com/fr/public-cloud/prices/

kube_id str

The id of the managed kubernetes cluster.

max_nodes int

maximum number of nodes allowed in the pool. Setting desired_nodes over this value will raise an error.

min_nodes int

minimum number of nodes allowed in the pool. Setting desired_nodes under this value will raise an error.

monthly_billed bool

should the nodes be billed on a monthly basis. Default to false.

name str

The name of the nodepool. Changing this value recreates the resource. Warning: "_" char is not allowed!

project_id str

Project id

service_name str

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

size_status str

Status describing the state between number of nodes wanted and available ones

status str

Current status

template CloudProjectKubeNodePoolTemplateArgs

Node pool template

up_to_date_nodes int

Number of nodes with latest version installed in the pool

updated_at str

Last update date

antiAffinity Boolean

should the pool use the anti-affinity feature. Default to false.

autoscale Boolean

Enable auto-scaling for the pool. Default to false.

availableNodes Number

Number of nodes which are actually ready in the pool

createdAt String

Creation date

currentNodes Number

Number of nodes present in the pool

desiredNodes Number

number of nodes to start.

flavor String

Flavor name

flavorName String

a valid OVH public cloud flavor ID in which the nodes will be started. Ex: "b2-7". Changing this value recreates the resource. You can find the list of flavor IDs: https://www.ovhcloud.com/fr/public-cloud/prices/

kubeId String

The id of the managed kubernetes cluster.

maxNodes Number

maximum number of nodes allowed in the pool. Setting desired_nodes over this value will raise an error.

minNodes Number

minimum number of nodes allowed in the pool. Setting desired_nodes under this value will raise an error.

monthlyBilled Boolean

should the nodes be billed on a monthly basis. Default to false.

name String

The name of the nodepool. Changing this value recreates the resource. Warning: "_" char is not allowed!

projectId String

Project id

serviceName String

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

sizeStatus String

Status describing the state between number of nodes wanted and available ones

status String

Current status

template Property Map

Node pool template

upToDateNodes Number

Number of nodes with latest version installed in the pool

updatedAt String

Last update date

Supporting Types

CloudProjectKubeNodePoolTemplate

CloudProjectKubeNodePoolTemplateMetadata

Annotations Dictionary<string, string>
Finalizers List<string>
Labels Dictionary<string, string>
Annotations map[string]string
Finalizers []string
Labels map[string]string
annotations Map<String,String>
finalizers List<String>
labels Map<String,String>
annotations {[key: string]: string}
finalizers string[]
labels {[key: string]: string}
annotations Mapping[str, str]
finalizers Sequence[str]
labels Mapping[str, str]
annotations Map<String>
finalizers List<String>
labels Map<String>

CloudProjectKubeNodePoolTemplateSpec

Taints List<ImmutableDictionary<string, object>>
Unschedulable bool
Taints []map[string]interface{}
Unschedulable bool
taints List<Map<String,Object>>
unschedulable Boolean
taints {[key: string]: any}[]
unschedulable boolean
taints Sequence[Mapping[str, Any]]
unschedulable bool
taints List<Map<Any>>
unschedulable Boolean

Package Details

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

This Pulumi package is based on the ovh Terraform Provider.