Skip to content

Commit 2fcf0ec

Browse files
authored
Merge pull request #185 from smartfire-company/fix/kubernetes_documentation
fix documentation to current api behaviour
2 parents c19c122 + d74dd85 commit 2fcf0ec

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

Diff for: website/docs/r/cloud_project_kube_nodepool.html.markdown

+10-9
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ resource "ovh_cloud_project_kube_nodepool" "pool" {
1717
service_name = "94d423da0e5545f29812836460a19939"
1818
kube_id = "9260267d-2bf9-4d9a-bb6e-24b8969f65e2 "
1919
name = "my_pool"
20-
flavor = "b2-7"
20+
flavor_name = "b2-7"
2121
desired_nodes = 3
22+
max_nodes = 3
23+
min_nodes = 3
2224
}
2325
```
2426

@@ -34,21 +36,20 @@ The following arguments are supported:
3436
* `name` - (Optional) The name of the nodepool.
3537
Changing this value recreates the resource.
3638

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.
4041

41-
* `desired_nodes` - (Optional) number of nodes to start.
42+
* `desired_nodes` - number of nodes to start.
4243

43-
* `max_nodes` - (Optional) maximum number of nodes allowde in the pool.
44+
* `max_nodes` - maximum number of nodes allowde in the pool.
4445
Setting `desired_nodes` over this value will raise an error.
4546

46-
* `min_nodes` - (Optional) minimum number of nodes allowde in the pool.
47+
* `min_nodes` - minimum number of nodes allowde in the pool.
4748
Setting `desired_nodes` under this value will raise an error.
4849

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`.
5051

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`.
5253

5354
## Attributes Reference
5455

0 commit comments

Comments
 (0)