@@ -17,8 +17,10 @@ resource "ovh_cloud_project_kube_nodepool" "pool" {
17
17
service_name = "94d423da0e5545f29812836460a19939"
18
18
kube_id = "9260267d-2bf9-4d9a-bb6e-24b8969f65e2 "
19
19
name = "my_pool"
20
- flavor = "b2-7"
20
+ flavor_name = "b2-7"
21
21
desired_nodes = 3
22
+ max_nodes = 3
23
+ min_nodes = 3
22
24
}
23
25
```
24
26
@@ -34,21 +36,20 @@ The following arguments are supported:
34
36
* ` name ` - (Optional) The name of the nodepool.
35
37
Changing this value recreates the resource.
36
38
37
- * ` flavor ` - a valid OVH public cloud flavor ID in which the nodes will be start.
38
- cluster will be available. Ex.: "GRA1". Defaults to all public cloud regions.
39
- Changing this value recreates the resource.
39
+ * ` flavor_name ` - a valid OVH public cloud flavor ID in which the nodes will be start.
40
+ cluster will be available. Ex.: "b2-7". Changing this value recreates the resource.
40
41
41
- * ` desired_nodes ` - (Optional) number of nodes to start.
42
+ * ` desired_nodes ` - number of nodes to start.
42
43
43
- * ` max_nodes ` - (Optional) maximum number of nodes allowde in the pool.
44
+ * ` max_nodes ` - maximum number of nodes allowde in the pool.
44
45
Setting ` desired_nodes ` over this value will raise an error.
45
46
46
- * ` min_nodes ` - (Optional) minimum number of nodes allowde in the pool.
47
+ * ` min_nodes ` - minimum number of nodes allowde in the pool.
47
48
Setting ` desired_nodes ` under this value will raise an error.
48
49
49
- * ` monthly_billed ` - (Optional) should the nodes be billed on a monthly basis.
50
+ * ` monthly_billed ` - (Optional) should the nodes be billed on a monthly basis. Default to ` false ` .
50
51
51
- * ` anti_affinity ` - (Optional) should the pool use the anti-affinity feature.
52
+ * ` anti_affinity ` - (Optional) should the pool use the anti-affinity feature. Default to ` false ` .
52
53
53
54
## Attributes Reference
54
55
0 commit comments