Skip to main content

Search the Dev Center

Search tutorials, templates, examples, and more.

kubernetes-ovh-csharp

A C# program to deploy a Kubernetes cluster on OVHcloud

Get started

Create a new project from this template with the Pulumi CLI:
Terminal window
mkdir my-project && cd my-project
pulumi new kubernetes-ovh-csharp

Configuration

The template prompts for these values during pulumi new.
KeyDescriptionDefault
ovhServiceNameThe OVHcloud Public Cloud Project to deploy into—
ovhRegionThe OVHcloud region to deploy intoGRA9
clusterNameName of the clustermy_desired_cluster
nodePoolNameName of the node poolmy-desired-pool
nodePoolDesiredNodesNumber of desired nodes in the cluster1
nodePoolMaxNodesNumber of max nodes in the cluster3
nodePoolMinNodesNumber of min nodes in the cluster1
flavorNameName of the flavor/type of the machineb3-8
You can change these values later with pulumi config set:
Terminal window
pulumi config set ovhServiceName <value>
pulumi config set ovhRegion <value>
pulumi config set clusterName <value>
pulumi config set nodePoolName <value>
pulumi config set nodePoolDesiredNodes <value>
pulumi config set nodePoolMaxNodes <value>
pulumi config set nodePoolMinNodes <value>
pulumi config set flavorName <value>

Deploying the project

Once the new project is created and configured, you can deploy it with pulumi up:
Terminal window
pulumi up

Related

The infrastructure as code platform for any cloud.