tencent cloud

Tencent Kubernetes Engine

DokumentasiTencent Kubernetes EngineCluster ConfigurationNode ManagementNative NodesImage and Kernel Parameter Descriptions and Update History

Image and Kernel Parameter Descriptions and Update History

Unduh
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-11-11 10:00:02
Diterjemahkan oleh AI

Native Node Image Overview

The default image for native nodes (TKE Housekeeper) is provided based on the Tencent Cloud TencentOS 3.1 distribution, with the LTS kernel version 5.4.241. Through deep integration of Kubernetes with Tencent's self-developed Ruyi and Wujing underlying kernel capabilities, it delivers significant optimizations in resource utilization, isolation, and performance.
Image Support: Jointly supported by the Container Team and the TencentOS R&D Team.
Attention:
Native node images use a customized kernel, and the standard yum repository does not contain the value-added capabilities of native nodes. Do not run commands such as yum update kernel to update the kernel, or use the image update feature of CWPP. These high-risk operations will cause the loss of kernel value-added features.
Additional Notes:
Native nodes support experiencing the higher-version kernel image TencentOS 4 by specifying the annotation "node.tke.cloud.tencent.com/image-label=ts4-public". This image is sourced from public images and does not support Ruyi/Wujing features.
Native nodes now support the Rainbow OS (TencentOS Rainbow) operating system. When creating a native node, you can select a Rainbow OS image to use the enhanced kernel features of TencentOS Rainbow. For details, see TencentOS Rainbow Image Introduction.
To fix the high-risk vulnerability CVE-2025-68615 in the net-snmp library version (5.8-30.tl3) of the default native node image that supports Ruyi/Wujing, nodes must first run dnf update tencentos-release and then run dnf update net-snmp-libs. We are also upgrading TencentOS 4 with Ruyi/Wujing support. Stay tuned.

Native Node Kernel/Distribution Update History

3.1-5.4.241-19-0023.2_plus

Last updated: May 2026
What's New:
Upgrade the kernel to 5.4.241-19-0023.2_plus to fix the CVE-2026-43284 Dirty Frag vulnerability and the CVE-2026-46300 Fragnesia vulnerability.
Add zram.memcg_nocharge=0 to the startup parameters.
Add /etc/modprobe.d/dirtyfrag.conf to prevent the relevant modules from loading by default.

3.1-5.4.241-19-0023.1_plus

Last updated: May 2026
What's New:
Upgrade the kernel to 5.4.241-19-0023.1_plus to fix the CVE-2026-31431 vulnerability.
Upgrade other user-space packages.

3.1-5.4.241-19-0017.8_plus

Last updated: May 2025
What's New:
Upgrade the kernel to 5.4.241-19-0017.8_plus.
Upgrade other user-space packages.
Optimize crashkernel for machines with small memory specifications.

3.1-5.4.241-19-0017.7_plus

Last updated: October 2024
What's New:
Upgrade the kernel to 5.4.241-19-0017.7_plus.
Upgrade other user-space packages.
containerd is no longer preinstalled.

5.4.241-19-0017.3_plus

Last updated: June 2024
What's New:
Use the 5.4.241-19-0017.3_plus kernel.
Add lru_gen=y to the startup parameters.
Preinstall the TKE components.
Upgrade other user-space packages.

5.4.241-19-0017.1_plus

Last updated: June 2024
What's New:
Update the kernel LTS version from 5.4.119 to 5.4.241.
async fork support: asynchronous copying of the process's level-3 and level-4 page tables to accelerate fork operations.
unprivileged overlay mounts (overlayfs supports Docker-in-Docker scenarios).
Ruyi (Colocation) Module:
Supports isolation of multiple resources such as CPU, memory, I/O, and network at different QoS levels.
Optimize the CPU cgroup utilization statistics algorithm for more accurate statistics.
Supports container resource view isolation.
Wujing (Memory Compression) Module:
More granular kmem statistics (byte-level granularity), backported from the upstream object cgroup.
Implement zram-granularity statistics based on object cgroup.
The cgroup-granularity zram statistics feature enables cgroups to set independent compression algorithms and compression limits.
Based on the self-developed workingset algorithm, the effective savings of file pages can be accurately estimated.
Container swap isolation capability: After swap is enabled in the kernel, the perception of swap devices can be isolated for some containers.
Add PSI cgroup v1 support.
Provides the feature of asynchronously reclaiming dying memcgs through async clean.
Upstream multi-gen LRU backport.

Key Kernel Parameter Descriptions

Note:
Some parameters (such as kernel.threads-max) are dynamically calculated based on machine specifications. The algorithm may be slightly adjusted, but the actual results do not differ significantly, so they are not shown in the table. To view them, log in to the machine and run the sysctl <parameter_name> command.
Modifying kernel parameters may cause system instability. It is recommended to verify the changes in a test environment before applying them in the production environment.
The key parameter comparison is as follows:
Parameter Name
TencentOS 3.1
Native Nodes
Description
Difference Reason
kernel.random.entropy_avail
3780
256
Kernel difference patch
[random: use symbolic constants for crng_init states]
Kernel difference patch
kernel.random.poolsize
4096
256
Kernel difference patch
[random: use symbolic constants for crng_init states]
Kernel difference patch
kernel.random.read_wakeup_threshold
64
-
Kernel difference patch
[random: use symbolic constants for crng_init states]
Kernel difference patch
kernel.random.write_wakeup_threshold
896
256
Kernel difference patch
[random: use symbolic constants for crng_init states]
Kernel difference patch
kernel.watchdog_thresh
10
60
Time threshold for watchdog to trigger a host restart after a soft or hard kernel deadlock
No impact on services.
net.core.bpf_jit_limit
398458880
796917760
Kernel difference patch [bpf: Adjust insufficient default bpf_jit_limit]
Kernel difference patch
net.ipv4.ip_local_reserved_ports
60001-60002
-
No configuration is required in the new version.
This parameter only needs to be configured on master nodes, not on worker nodes. No impact if not configured on native nodes.
net.ipv4.tcp_fastopen_blackhole_timeout_sec
3600
0
Kernel difference patch
[tcp: disable TFO blackhole logic by default]
Disable blackhole detection. No impact on services.
net.ipv4.tcp_slow_start_after_idle
0
1
Modified in TS3.1, not the image default value.
/etc/sysctl.conf
Reset to the default value 1. This parameter can be adjusted by users as needed.
net.ipv6.neigh.default.gc_thresh3
4096
1024
None
ipv6 parameter. No impact on services. The ipv4 gc threshold can be increased as needed.
kernel.cpu_qos
kernel.cpu_qos_ht_isolate
kernel.cpu_qos_latency_diff
kernel.cpu_qos_latency_gran
kernel.cpu_qos_latency_recoup
kernel.cpu_qos_recoup_granularity_ns
kernel.cpu_qos_remove_bt_load
kernel.cpu_qos_tick_gran
kernel.cpu_qos_tick_granularity_ns
Not supported
Supported
Parameters related to CPU isolation in Ruyi (colocation)
Kernel enhancement. No impact.
kernel.sched_bt_load_balance_interval_max_mskernel.sched_bt_load_balance_interval_min_mskernel.sched_bt_migration_cost_ns
Not supported
Supported
Parameters related to CPU isolation in Ruyi (colocation)
Kernel enhancement. No impact.
vm.memory_qos
vm.clean_dying_memcg_async
vm.clean_dying_memcg_threshold
vm.compaction_proactiveness
vm.force_swappiness
kernel.async_mem_free_pages
vm.memcg_latency_histogram
vm.memcg_page_cache_hit
vm.memory_exp_reclaim
vm.page_reporting_enable
vm.page_reporting_supported
vm.qos_highest_reclaim_prio
vm.qos_prio_reclaim_ratio
vm.pagecache_limit_retry_times
kernel.allow_memcg_migrate_ignore_blkio_bind
Not supported
Supported
Parameters related to memory isolation in Ruyi (colocation)
Kernel enhancement. No impact.
kernel.io_qos
kernel.io_cgv1_buff_wb
Not supported
Supported
Parameters related to I/O isolation in Ruyi (colocation)
Kernel enhancement. No impact.
net.core.net_qos
net.ipv4.ip_local_port_ratio
Not supported
Supported
Parameters related to network isolation in Ruyi (colocation)
Kernel enhancement. No impact.
vm.wujing_enable
Not supported
Supported
Parameters related to Wujing (memory compression)
Kernel enhancement. No impact.
kernel.oops_limit
-
10000
The kernel triggers a panic after a certain number of oops events.
-
net.netfilter.nf_conntrack_tcp_be_liberal
0
0
Community feature. The parameter value is 0 or 1.
0: Indicates disabled, and all packets that are not within the TCP window are marked as invalid.
1: Indicates enabled, and only packets that are not within the TCP window are marked as invalid. In container scenarios, enabling this parameter can prevent bandwidth throttling for NATed TCP connections.
-

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan