Skip to content

Commit b2e7e15

Browse files
committed
add changelog and doc
1 parent f2551d3 commit b2e7e15

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.changelog/2909.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_kubernetes_node_pool: support `annotations` field
3+
```

website/docs/r/kubernetes_node_pool.html.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ The following arguments are supported:
163163
* `min_size` - (Required, Int) Minimum number of node.
164164
* `name` - (Required, String) Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (`-`) and decimal points.
165165
* `vpc_id` - (Required, String, ForceNew) ID of VPC network.
166+
* `annotations` - (Optional, Set) Node Annotation List.
166167
* `default_cooldown` - (Optional, Int) Seconds of scaling group cool down. Default value is `300`.
167168
* `delete_keep_instance` - (Optional, Bool) Indicate to keep the CVM instance when delete the node pool. Default is `true`.
168169
* `deletion_protection` - (Optional, Bool) Indicates whether the node pool deletion protection is enabled.
@@ -184,6 +185,11 @@ The following arguments are supported:
184185
* `unschedulable` - (Optional, Int, ForceNew) Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
185186
* `zones` - (Optional, List: [`String`]) List of auto scaling group available zones, for Basic network it is required.
186187

188+
The `annotations` object supports the following:
189+
190+
* `name` - (Required, String) Name in the map table.
191+
* `value` - (Required, String) Value in the map table.
192+
187193
The `auto_scaling_config` object supports the following:
188194

189195
* `instance_type` - (Required, String, ForceNew) Specified types of CVM instance.

0 commit comments

Comments
 (0)