Release Notes
Announcements
Release Notes
0 cannot be set for the pre-binding. That means fully on-demand allocation is not supported for now, and waste of IPs may occur if there are too many nodes.
kubectl edit ds tke-eni-agent -n kube-system to modify the existing tke-eni-agent daemonset.spec.template.spec.containers[0].args to enable "quick release". The tke-eni-agent will update and make the feature take effect on a rolling basis after the modification.- --enable-quick-release
NEC corresponding to the node.# Specifying the minimum number of pre-bound ENIs/IPs in shared ENI mode"tke.cloud.tencent.com/route-eni-ip-min-warm-target"# Specifying the maximum number of pre-bound ENIs/IPs in shared ENI mode"tke.cloud.tencent.com/route-eni-ip-max-warm-target"# Specifying the minimum number of pre-bound ENIs/IPs in exclusive ENI mode"tke.cloud.tencent.com/direct-eni-min-warm-target"# Specifying the maximum number of pre-bound ENIs/IPs in exclusive ENI mode"tke.cloud.tencent.com/direct-eni-max-warm-target"
# Sample: modify the minimum number of pre-bound IPs on <nodeName> to 1kubectl annotate nec <nodeName> "tke.cloud.tencent.com/route-eni-ip-min-warm-target"="1" --overwrite# Sample: modify the maximum number of pre-bound IPs on <nodeName> to 3kubectl annotate nec <nodeName> "tke.cloud.tencent.com/route-eni-ip-max-warm-target"="3" --overwrite
0 <= the minimum number of pre-bound ENIs/IPs <= the maximum number of pre-bound ENIs/IPs must be met. Otherwise, the modification will be failed.nec corresponding to the node. You can use the following annotations to specify the maximum number of bindable ENIs and the maximum number of bindable IPs on a single ENI.# Specifying the maximum number of bindable ENIs in shared ENI modekubectl annotate nec <nodeName> "tke.cloud.tencent.com/route-eni-max-attach"="1" --overwrite# Specifying the number of bindable IPs on a single ENI in shared ENI modekubectl annotate nec <nodeName> "tke.cloud.tencent.com/max-ip-per-route-eni"="9" --overwrite# Specifying the maximum number of bindable exclusive ENIs in exclusive ENI modekubectl annotate nec <nodeName> "tke.cloud.tencent.com/direct-eni-max-attach"="5" --overwrite
the number of bound ENIs/IPs > the maximum number of bindable ENIs/IPs, the ENIs/IPs will be unbound until the number of bound ENIs/IPs = the maximum number of bindable ENIs/IPs.kubectl edit deploy tke-eni-ipamd -n kube-system to modify the existing tke-eni-ipamd deployment.spec.template.spec.containers[0].args to modify the default number of pre-bound ENIs/IPs. The ipamd will restart and take effect automatically after the modification. The default number only affects the added nodes.# The default number of minimum pre-bound ENIs/IPs in shared ENI mode. Default value: 5- --ip-min-warm-target=3# The default number of maximum pre-bound ENIs/IPs in shared ENI mode. Default value: 5- --ip-max-warm-target=3# The default number of minimum pre-bound ENIs/IPs in exclusive ENI mode. Default value: 1- --eni-min-warm-target=3# The default number of maximum pre-bound ENIs/IPs in exclusive ENI mode. Default value: 1- --eni-max-warm-target=3
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback