Please refer to the official OVH Provider Documentation and set it accordingly in providers.tf file
| Name | Version |
|---|---|
| terraform | >= 1.8.1 |
| ovh | ~> 2.0.0 |
No providers.
| Name | Source | Version |
|---|---|---|
| cluster | ./modules/cluster | n/a |
No resources.
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| cluster_name | The name of the kubernetes cluster. | string |
"streamx" |
no |
| force_defaults_for_null_variables | Enables forcing default variable values when the variable value passed to the module is null. | bool |
true |
no |
| kubeconfig_path | Script creates kubeconfig file with provided path. No file is created when null is provided. | any |
null |
no |
| node_pool_autoscale | Enable auto-scaling for the pool. | bool |
true |
no |
| node_pool_autoscaling_scale_down_unneeded_time_seconds | ScaleDownUnneededTimeSeconds autoscaling parameter How long a node should be unneeded before it is eligible for scale down | number |
1200 |
no |
| node_pool_desired_nodes | Number of nodes to start. | number |
5 |
no |
| node_pool_flavor_name | A valid OVHcloud public cloud flavor ID in which the nodes will be started. Ex: b2-7. You can find the list of flavor IDs: https://www.ovhcloud.com/fr/public-cloud/prices/. | string |
"d2-8" |
no |
| node_pool_max_nodes | Maximum number of nodes allowed in the pool. Setting desired_nodes over this value will raise an error. | number |
10 |
no |
| node_pool_min_nodes | Minimum number of nodes allowed in the pool. Setting desired_nodes under this value will raise an error. | number |
5 |
no |
| node_pool_name | The name of the node_pool. Warning: _ char is not allowed! Changing this value recreates the resource. | string |
"streamx" |
no |
| ovh_public_cloud_project_id | The id of the public OVH cloud project | string |
n/a | yes |
| ovh_public_cloud_region | Region of cloud deployment | string |
"GRA11" |
no |
| public_static_ip_address | Public IP address | string |
null |
no |
| Name | Description |
|---|---|
| client_certificate | K8s cluster kubeconfig |
| client_key | K8s cluster kubeconfig |
| cluster_ca_certificate | K8s cluster kubeconfig |
| cluster_id | K8s cluster id |
| host | K8s cluster kubeconfig |
| kubeconfig | K8s cluster kubeconfig |
| kubeconfig_path | K8s cluster kubeconfig file path |