https://github.com/mastodon/terraform-ovh-k8s-nodepool
Terraform module for kubernetes nodepools.
https://github.com/mastodon/terraform-ovh-k8s-nodepool
Last synced: about 2 months ago
JSON representation
Terraform module for kubernetes nodepools.
- Host: GitHub
- URL: https://github.com/mastodon/terraform-ovh-k8s-nodepool
- Owner: mastodon
- Created: 2025-08-08T12:14:16.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-08-08T12:48:34.000Z (about 2 months ago)
- Last Synced: 2025-08-08T14:41:08.539Z (about 2 months ago)
- Language: HCL
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mastodon Terraform - OVHCloud Kubernetes Nodepool
Creates a nodepool for a Managed Kubernetes cluster in OVH.
While the [full kubernetes module](https://github.com/mastodon/terraform-ovh-k8s) also supports nodepools, there are some situations where nodepools need to be created and deleted ad-hoc. This makes that situation easier to manage by allowing the management of each nodepool separately.
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.0.0 |
| [ovh](#requirement\_ovh) | ~> 2.5.0 |## Providers
| Name | Version |
|------|---------|
| [ovh](#provider\_ovh) | 2.5.0 |## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [ovh_cloud_project_kube_nodepool.node_pool](https://registry.terraform.io/providers/ovh/ovh/latest/docs/resources/cloud_project_kube_nodepool) | resource |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [availability\_zones](#input\_availability\_zones) | Availability zones to create the nodes in (for multi-AZ clusters). | `list(string)` | `[]` | no |
| [cluster\_id](#input\_cluster\_id) | ID of the cluster for the nodepool. | `string` | n/a | yes |
| [flavor\_name](#input\_flavor\_name) | The type of nodes to use for this nodepool. | `string` | n/a | yes |
| [max\_nodes](#input\_max\_nodes) | Minimum number of nodes this nodepool can have. | `number` | `0` | no |
| [min\_nodes](#input\_min\_nodes) | Maximum number of nodes this nodepool can have. | `number` | `0` | no |
| [monthly\_billed](#input\_monthly\_billed) | Should the nodes be billed on a monthly basis. | `bool` | `false` | no |
| [name](#input\_name) | Name to give the nodepool. | `string` | n/a | yes |
| [nodes](#input\_nodes) | Number of nodes in this nodepool. | `number` | n/a | yes |
| [project\_id](#input\_project\_id) | The ID of the Public Cloud project the resources will be created in. | `string` | n/a | yes |
| [template](#input\_template) | Nodepool template for applying metadata. |object({| `null` | no |
annotations = optional(map(any), {})
labels = optional(map(any), {})
finalizers = optional(list(string), [])
unschedulable = optional(bool, false)
taints = optional(list(object({
effect = string
key = string
value = string
})), [])
})## Outputs
No outputs.