Skip to content

resource/alicloud_cs_kubernetes_node_pool: support modify containerd_config.#9665

Open
lijiuxing1 wants to merge 1 commit into
aliyun:masterfrom
lijiuxing1:nodepool
Open

resource/alicloud_cs_kubernetes_node_pool: support modify containerd_config.#9665
lijiuxing1 wants to merge 1 commit into
aliyun:masterfrom
lijiuxing1:nodepool

Conversation

@lijiuxing1
Copy link
Copy Markdown
Contributor

No description provided.

* `kubelet_configuration` - (Optional, Set) Kubelet configuration parameters for worker nodes. See [`kubelet_configuration`](#kubelet_configuration) below. More information in [Kubelet Configuration](https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/). See [`kubelet_configuration`](#kubelet_configuration) below.
* `containerd_config` - (Optional, Set, Available since v1.277.0) Containerd configuration parameters for worker nodes.

-> **Note:** This parameter only takes effect during update operations. See [`containerd_config`](#containerd_config) below.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE 的大小写统一大写吧,前后一致

if len(containerd_configRaw) > 0 {
containerdConfigMap := make(map[string]interface{})
if v, ok := containerd_configRaw["maxConcurrentDownloads"].(json.Number); ok {
val, _ := strconv.Atoi(v.String())
Copy link
Copy Markdown
Collaborator

@xuzhang3 xuzhang3 Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里省略错误没问题吗? 会不会存在其他无效参数的情况?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants