Terraform module for creating a managed kubernetes cluster in OVHCloud.
| Name | Version |
|---|---|
| terraform | >= 1.0.0 |
| ovh | ~> 2.5.0 |
| Name | Version |
|---|---|
| ovh | 2.5.0 |
No modules.
| Name | Type |
|---|---|
| ovh_cloud_project_kube.cluster | resource |
| ovh_cloud_project_kube_nodepool.node_pool | resource |
| ovh_cloud_project_kube_oidc.oidc | resource |
| ovh_savings_plan.plan | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| cluster_name | Name of the cluster to create. | string |
n/a | yes |
| cluster_version | Kubelet version to use when creating the cluster. | string |
n/a | yes |
| network_openstack_id | Openstack ID of the private network in which the cluster should be placed. | string |
n/a | yes |
| node_pools | Node pools to create for the cluster. | list(object({ |
[] |
no |
| oidc_client_id | OIDC client ID to give the cluster for login. | string |
"" |
no |
| oidc_groups_claim | Groups to include in the OIDC claim. | list(string) |
[] |
no |
| oidc_groups_prefix | Prefix to add to all groups connecting to the cluster. | string |
"" |
no |
| oidc_provider_url | URL to use for OIDC authentication. Enables OIDC if specified. | string |
"" |
no |
| oidc_username_claim | OIDC Property to use for username. | string |
"" |
no |
| oidc_username_prefix | Prefix to add to all usernames connecting to the cluster. | string |
"" |
no |
| project_id | The ID of the Public Cloud project the resources will be created in. | string |
n/a | yes |
| region | Region in which to create the various resources. | string |
"DE1" |
no |
| savings_plan_auto_renewal | Whether the savings plan should renew automatically. | bool |
true |
no |
| savings_plan_count | Number of instances this savings plan applies to. | number |
0 |
no |
| savings_plan_instance | Type of instance this savings plan applies to. | string |
"" |
no |
| savings_plan_name | Name of the savings plan. | string |
"" |
no |
| savings_plan_period | The period of time the savings plan applies to. | string |
"P1M" |
no |
| subnet_id | ID of the subnet in the private network in which nodes should be created. | string |
n/a | yes |
| update_policy | How the cluster should perform updates. | string |
"MINIMAL_DOWNTIME" |
no |
| Name | Description |
|---|---|
| id | The ID of the cluster |
| kubeconfig | kubeconfig to use when connecting to the cluster |
| name | Name of the cluster |
| nodes_url | URLs of the nodes attached to the cluster |