An open API service indexing awesome lists of open source software.

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.

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({
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
})), [])
})
| `null` | no |

## Outputs

No outputs.