Skip to content

feat(tke): [120040332]: tencentcloud_kubernetes_node_pool support annotations field #2909

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/2909.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
resource/tencentcloud_kubernetes_node_pool: support `annotations` field
```
70 changes: 69 additions & 1 deletion tencentcloud/services/tke/resource_tc_kubernetes_node_pool.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions website/docs/r/kubernetes_node_pool.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ The following arguments are supported:
* `min_size` - (Required, Int) Minimum number of node.
* `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.
* `vpc_id` - (Required, String, ForceNew) ID of VPC network.
* `annotations` - (Optional, Set) Node Annotation List.
* `default_cooldown` - (Optional, Int) Seconds of scaling group cool down. Default value is `300`.
* `delete_keep_instance` - (Optional, Bool) Indicate to keep the CVM instance when delete the node pool. Default is `true`.
* `deletion_protection` - (Optional, Bool) Indicates whether the node pool deletion protection is enabled.
Expand All @@ -184,6 +185,11 @@ The following arguments are supported:
* `unschedulable` - (Optional, Int, ForceNew) Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
* `zones` - (Optional, List: [`String`]) List of auto scaling group available zones, for Basic network it is required.

The `annotations` object supports the following:

* `name` - (Required, String) Name in the map table.
* `value` - (Required, String) Value in the map table.

The `auto_scaling_config` object supports the following:

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