The ack-virtual-node component enables seamless integration between Kubernetes and Elastic Container Instance. This topic introduces ack-virtual-node, and describes the usage notes and release notes for ack-virtual-node.

Description

The ack-virtual-node component is developed based on the open source project Virtual Kubelet and is extended to support Aliyun Provider. Improvements are made to the ack-virtual-node component to enable seamless integration between Kubernetes and Elastic Container Instance. This way, Kubernetes clusters are empowered with high elasticity and are no longer limited by the computing capacity of cluster nodes. You can create Elastic Container Instance-based pods as needed to save the hassle of planning the cluster capacity.

The ack-virtual-node component can be used to run pods as serverless container groups on elastic container instances. The pay-as-you-go billing method is supported. This ensures optimal auto scaling capability and avoids unnecessary resource usage. You can use ack-virtual-node to improve the efficiency of application deployment and auto scaling, and minimize the computing cost in multiple scenarios. These scenarios include Job tasks, continuous integration and continuous delivery (CI/CD), Apache Spark big data computing, and online application auto scaling.

For more information about Elastic Container Instance-based pods, see Elastic Container Instance overview. vk

Precautions

For more information about how to deploy ack-virtual-node from App Catalog, see Deploy the virtual node controller and use it to create Elastic Container Instance-based pods.

Release notes

July 2022

Version Image address Release date Description Impact
v2.6.1 registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.6.1 2022-07-05 The issue that ack-virtual-node occasionally becomes stuck in the startup process is fixed. No impact on workloads

June 2022

Version Image address Release date Description Impact
v2.6.0 registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.6.0 2022-06-16
  • New features:
    • Custom ports are supported by kubelet.
    • The pod readiness gates feature is supported in Kubernetes 1.16.
    • The CSI Node feature is supported in Kubernetes 1.16.
    • The WaitForFirstConsumer binding mode is supported by volumes that use disks created from disk snapshots.
    • The nodeName field is supported by the downward API.
  • Fixed issues:
    • The issue that the labels that you configure for eci-profile do not take effect.
    • The issue that the time to live (TTL) values of logs is overwritten.
    • The issue that error logs are sent to the Logstore of the user.
  • Optimizations:
    • The synchronization of the local cache on client-go is optimized.
    • The registration logic and update logic of virtual nodes are optimized.
    • The event reporting mechanism for elastic container instances is optimized.
    • The size of HTTP request body is reduced.
No impact on workloads

May 2022

Version Image address Release date Description Impact
v2.5.4 registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.5.4 2022-05-20 The issue that the component crashes when you configure selectors for eci-profile is fixed. No impact on workloads

April 2022

Version Image address Release date Description Impact
v2.5.3 registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.5.3 2022-04-28
  • The issue that Metrics data occasionally fails to be obtained is fixed.
  • The issue that pods occasionally fail to connect to the API server is fixed.
No impact on workloads
v2.5.2 registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.5.2 2022-04-20
  • The issue that Alibaba Cloud DNS PrivateZone cannot be enabled is fixed.
  • The issue that the system does not respond to the exec command when the cluster runs Kubernetes 1.16 is fixed.
  • The issue that Metrics data cannot be obtained is fixed.
  • The issue that the status of the component may be inconsistent with the events of the component is fixed.
No impact on workloads

March 2022

Version Image address Release date Description Impact
v2.5.1 registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.5.1 2022-03-31
  • The retention period of image caches can be configured.
  • The requests that are sent to the API server are optimized.
  • Pod creation is accelerated when you create a large number of pods.
  • The latency that occurs when you query Metrics data is reduced.
  • The issue that memory spikes occur when you concurrently query Metrics data is fixed.
  • The issue that duplicate Metrics data is returned is fixed.
  • The issue that the same data is returned from the /metrics and /metrics/cadvisor endpoints is fixed.
  • The issue that the SecretRef parameter of the Container Storage Interface (CSI) plug-in does not take effect is fixed.
  • The system does not respond or even crashes after you run the logs or exec command is fixed.
  • The issue that the component cannot run as normal in a private network is fixed.
No impact on workloads
v2.4.3 registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.4.3 2022-03-17 The issue that the system does not respond to the logs and exec commands when the cluster runs Kubernetes 1.16 is fixed. No impact on workloads

January 2022

Version Image address Release date Description Impact
v2.4.2 registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.4.2 2022-01-11
  • The issue of inconsistent status between a cluster and elastic container instances in the cluster is fixed.
  • The issue that Prometheus Monitoring cannot obtain data is fixed.
  • The issue that specific annotations in Elastic Container Instance Profile do not take effect is fixed.
No impact on workloads

December 2021

Version Image address Release date Description Impact
v2.4.0 registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.4.0 2021-12-28
  • Kubernetes 1.22 is supported.
  • Dynamic expansion of persistent volume claims (PVCs) is supported.
  • The WaitForFirstConsumer volume binding mode is supported.
  • The efficiency of calling the Elastic Container Instance API is improved.
  • The issue that the version number of a virtual node is improperly displayed after the cluster is upgraded is fixed.
  • The issue of status inconsistency between Job pods and the elastic container instances on which the pods run is fixed.
  • The issue of status inconsistency between pods and the elastic container instances on which the pods run is fixed.
  • The issue that the SecretRef parameter in the CephFS and FlexVolume configurations does not take effect is fixed.
  • The issue that the component occasionally stops running is fixed.
No impact on workloads

November 2021

Version Image address Release date Description Impact
v2.3.0 registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.3.0 2021-11-15
  • Service account token volume projection is supported.
  • IPv4/IPv6 dual stack is supported.
  • Different types of overlay networks are supported.
  • The issue that the component stops running in specific cases is fixed.
  • Pod creation is accelerated.
  • The pod scheduling issue is fixed.
  • The issue that the reclaim process of elastic container instances is slow is fixed.
No impact on workloads

October 2021

Version Image address Release date Description Impact
v2.2.0 registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.2.0 2021-10-26 Queries for events and status are accelerated. No impact on workloads
v2.1.0 registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.1.0 2021-10-12
New features:
  • Images can be pulled without a password from instances of Container Registry Enterprise Edition.
  • Secrets can be referenced for PVCs, CephFS, and FlexVolume.
  • The HugePages feature is supported by nodes.
Fixed issues:
  • The issue of Elastic Container Instance resource leakage in specific cases
  • The issue that the displayed information about CPU workloads is wrong
  • The issue that nodes change to the NotReady state due to slow restarts
  • The issue of pod creation failures due to excessively long URLs
  • The issue that ClusterRoles are deleted in specific cases
Optimizations:
  • Pod creation is accelerated.
  • Image caching is accelerated.
No impact on workloads

May 2021

Version Image address Release date Description Impact
v2.0.0.122-bdb884460-aliyun registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.0.0.122-bdb884460-aliyun 2021-05-24 The issue that nodes are repeatedly created when concurrent requests are processed is fixed. No impact on workloads
v2.0.0.113-650b21c48-aliyun registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.0.0.113-650b21c48-aliyun 2021-05-13 Rolling update of PrivateZone is supported. No impact on workloads
v2.0.0.110-49c928287-aliyun registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.0.0.110-49c928287-aliyun 2021-05-06 Node selectors can be used to configure pod scheduling. This means that when a pod is configured with the type=virtual-kubelet label, the pod is managed by Virtual Kubelet. No impact on workloads

April 2021

Version Image address Release date Description Impact
v2.0.0.102-045a06eb4-aliyun registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.0.0.102-045a06eb4-aliyun 2021-04-22 The issue that information about Virtual Kubelet nodes is improperly displayed is fixed. No impact on workloads
v2.0.0.101-cd8bcfa04-aliyun registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.0.0.101-cd8bcfa04-aliyun 2021-04-16 The calling of the Alibaba Cloud DNS PrivateZone API is optimized. This avoids repeated calls to BindZoneVpc. No impact on workloads
v2.0.0.93-ef86bbfa1-aliyun registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.0.0.93-ef86bbfa1-aliyun 2021-04-13 The value of eciLogtailMacheineGroupKey is modified to support the log collection feature of environment variables and CustomResourceDefinitions (CRDs). No impact on workloads
v2.0.0.90-15deb126e-aliyun registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.0.0.90-15deb126e-aliyun 2021-04-06 The feature of Elastic Container Instance Profile is supported. No impact on workloads

March 2021

Version Image address Release date Description Impact
v2.0.0.86-9005a977d-aliyun registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.0.0.86-9005a977d-aliyun 2021-03-17
  • The /etc/hosts file is optimized to support the Domain and DNS annotations.
  • The time required to check ClusterRoleBinding is reduced.
  • Leader elections for multiple components are optimized.
No impact on workloads

February 2021

Version Image address Release date Description Impact
v2.0.0.80-f9a46a994-aliyun registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.0.0.80-f9a46a994-aliyun 2021-02-25 The feature of checking the CreatePod state is optimized: A pod can be created only when CreatePod is in the Pending state. No impact on workloads
v2.0.0.76-6e9e19bd5-aliyun registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.0.0.76-6e9e19bd5-aliyun 2021-02-22
  • PProf debugging is supported.
  • Switches are added to control leader elections.
  • ClusterRole is updated for EndPointSlice.
  • Annotations related to Kubernetes versions can be added to pods.
  • Different webhooks can be configured in related Kubernetes versions.
No impact on workloads

December 2020

Version Image address Release date Description Impact
v2.0.0.618-7fd50d738-aliyun registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v2.0.0.618-7fd50d738-aliyun 2020-12-04
  • Compatibility with pods is improved.
  • Multiple leader election logic of the Virtual Kubelet controller is supported.
Make sure that virtual private clouds (VPCs) and security groups are correctly configured for pods, and the pods can access the API server of your cluster. Otherwise, the pods remain in the waiting state.

September 2020

Version Image address Release date Description Impact
v1.0.0.10-aliyun registry.cn-hangzhou.aliyuncs.com/acs/virtual-nodes-eci:v1.0.0.10-aliyun 2020-09-21 Auto scaling of clusters is supported. Pods are run as serverless container groups on Elastic Container Instance. No impact on workloads

March 2020

Version Image address Release date Description Impact
v1.0.0.2-aliyun registry-vpc.$RegionId.aliyuncs.com/acs/virtual-nodes-eci:v1.0.0.2-aliyun 2020-03-12
  • The virtual-nodes-eci controller can be deployed on StatefulSets. This allows you to change the number of replicated pods to create multiple virtual nodes and more pods.
  • The names of virtual nodes use the virtual-node-eci-$n format.
  • Pods are allowed to access ClusterIP Services.
  • Preemptible instances are supported.
  • Disks can be mounted by using the Container Storage Interface (CSI) plug-in.
If the virtual-nodes-eci controller is deployed on a Deployment, delete the pods on the virtual-kubelet node and install the component again.