The default node pool DefaultPool does not support the following management operations.
CCE allows you to highly customize Kubernetes parameter settings on core components in a cluster. For more information, see kubelet.
This function is supported only in clusters of v1.15 and later. It is not displayed for clusters earlier than v1.15.
Component |
Parameter |
Description |
Default Value |
Remarks |
---|---|---|---|---|
docker |
native-umask |
`--exec-opt native.umask |
normal |
Cannot be changed. |
docker-base-size |
`--storage-opts dm.basesize |
10G |
Cannot be changed. |
|
insecure-registry |
Address of an insecure image registry |
false |
Cannot be changed. |
|
limitcore |
Limit on the number of cores |
5368709120 |
- |
|
default-ulimit-nofile |
Limit on the number of handles in a container |
{soft}:{hard} |
- |
|
kube-proxy |
conntrack-min |
sysctl -w net.nf_conntrack_max |
131072 |
The values can be modified during the node pool lifecycle. |
conntrack-tcp-timeout-close-wait |
sysctl -w net.netfilter.nf_conntrack_tcp_timeout_close_wait |
1h0m0s |
||
kubelet |
cpu-manager-policy |
`--cpu-manager-policy |
none |
The values can be modified during the node pool lifecycle. |
kube-api-qps |
Query per second (QPS) to use while talking with kube-apiserver. |
100 |
||
kube-api-burst |
Burst to use while talking with kube-apiserver. |
100 |
||
max-pods |
Maximum number of pods managed by kubelet. |
110 |
||
pod-pids-limit |
PID limit in Kubernetes |
-1 |
||
with-local-dns |
Whether to use the local IP address as the ClusterDNS of the node. |
false |
||
allowed-unsafe-sysctls |
Insecure system configuration allowed. Starting from v1.17.17, CCE enables pod security policies for kube-apiserver. You need to add corresponding configurations to allowedUnsafeSysctls of a pod security policy to make the policy take effect. (This configuration is not required for clusters earlier than v1.17.17.) For details, see Example of Enabling Unsafe Sysctls in Pod Security Policy. |
[] |
Parameter |
Description |
---|---|
Name |
Name of the node pool. |
Nodes |
Modify the number of nodes based on service requirements. |
Autoscaler |
By default, autoscaler is disabled. After you enable autoscaler by clicking
If the Autoscaler field is set to on, install the autoscaler add-on to use the autoscaler feature. |
Taints |
|
K8S Labels |
K8S labels are key/value pairs that are attached to objects, such as pods. Labels are used to specify identifying attributes of objects that are meaningful and relevant to users, but do not directly imply semantics to the core system. For more information, see Labels and Selectors. |
Resource Tags |
It is recommended that you use TMS's predefined tag function to add the same tag to different cloud resources. Predefined tags are visible to all service resources that support the tagging function. You can use predefined tags to improve tag creation and migration efficiency. Tag changes do not affect the node. |
In the node pool list, the node pool status becomes Scaling. After the status changes to Completed, the node pool parameters are modified successfully. The modified configuration will be synchronized to all nodes in the node pool.
Deleting a node pool will delete nodes in the pool. Pods on these nodes will be automatically migrated to available nodes in other node pools. If pods in the node pool have a specific node selector and none of the other nodes in the cluster satisfies the node selector, the pods will become unschedulable.
You can copy the configuration of an existing node pool to create a new node pool on the CCE console.
Nodes in a node pool can be migrated. Currently, nodes in a node pool can be migrated only to the default node pool (defaultpool) in the same cluster.
After node migration, original resource tags, Kubernetes labels, and taints will be retained, and new Kubernetes labels and taints from the destination node pool will be added.