All Products
Search
Document Center

Container Service for Kubernetes:(End of maintenance) ACK release notes for Kubernetes 1.22

Last Updated:Dec 01, 2026

Alibaba Cloud Container Service for Kubernetes (ACK) strictly complies with the community conformance certification. Review the changes that ACK makes when it releases Kubernetes 1.22.

Version upgrade notes

ACK provides component upgrades and optimizations for Kubernetes 1.22.

Core component

Version

Upgrade notes

Kubernetes

1.22.15-aliyun.1

  • Kubernetes 1.22 deprecates a large number of beta APIs. Before you upgrade the cluster, take note of the following items:

    • Resources that were created by using beta APIs (the resources that already exist in the cluster) are not affected by the upgrade. After the upgrade, you can interact with these resources by using stable APIs.

    • Controllers or applications that interact with beta APIs must be adjusted before the cluster is upgraded. Otherwise, the controllers or applications cannot work properly after the cluster upgrade. For more information, see Version interpretation.

  • Kubernetes 1.22 delivers a large number of optimizations. For more information, see Version interpretation.

  • Dockershim is deprecated as of Kubernetes 1.20 and is scheduled to be removed in Kubernetes 1.24 (it is still available). Transition as follows:

    • Before you upgrade the cluster to 1.24, rotate the container runtime of the nodes from Docker to containerd through a node pool upgrade. For more information, see Migrate the container runtime of nodes from Docker to containerd. If your cluster is a dedicated cluster, the master nodes automatically upgrade Docker to containerd when the cluster is upgraded. During the upgrade, all containers on the master nodes are recreated. If you run custom containers on the master nodes, back them up before the upgrade.

    • (Recommended) Continue to use Docker EE if you use Windows containers, because containerd has limited Windows features.

    • Before you upgrade to 1.24, make the required adjustments to the node runtime. For more information, see Version interpretation.

  • In Kubernetes 1.22.10 and later versions, kube-proxy removes the logic that listens on NodePort. If the NodePort port range (the ServiceNodePortRange parameter of the API server) conflicts with the kernel net.ipv4.ip_local_port_range port range, TCP connections may occasionally fail, which causes issues such as health check failures and service exceptions. Therefore, when you upgrade the cluster to 1.22.10 or a later version, make sure that the NodePort port range of the cluster does not conflict with the net.ipv4.ip_local_port_range port range of any node. For information about how to configure the NodePort port range, see How do I configure the NodePort range? or the Kubernetes community PR.

  • Pod security policy (PodSecurityPolicy) is deprecated as of Kubernetes 1.21 and is scheduled to be removed in Kubernetes 1.25. It is still available. (Recommended) Use pod security admission (PodSecurity) as a replacement. For more information, see Version interpretation.

  • The CVE-2022-3172 vulnerability may exist. For information about the impact of the vulnerability and the solutions, see CVE-2022-3172 .

  • In Kubernetes 1.22 and later versions, a ServiceAccount token is valid for one year and the kubelet refreshes the token periodically. For more information, see BoundServiceAccountTokenVolume. If the client-go version is later than or equal to v11.0.0 and v0.15.0, the system automatically reloads the new token from the disk. However, if the client-go version is earlier than v11.0.0 or v0.15.0, the system does not automatically reload the token. As a result, access to the API server in the in-cluster mode is exposed to the risk that the token expires after one year. In this case, upgrade the client-go version. For information about the impact of ServiceAccount token expiration and the solutions, see [Product Change] Resolve ServiceAccount token expiration issues in Kubernetes 1.22+.

  • After you upgrade to 1.22 or later, the virtual node scheduling feature is enabled by default. When a pod is scheduled to a virtual node, the scheduling is affected by the taints on the virtual node and by the node affinity, pod affinity, and topology spread constraints of the pod. To retain the same behavior as before the upgrade, you can turn off the kube-scheduler component's Enable virtual node scheduling option. For the entry point of this operation, see Custom parameters of kube-scheduler.

etcd

3.5.1

None

CoreDNS

v1.9.3.6-32932850-aliyun

This upgrade does not affect your workloads. The following new features are supported:

  • Watching of EndpointSlices resources.

  • DNS queries over IPv6 addresses.

Container Runtime Interface (CRI)

  • Docker CE 19.03.15

  • Docker EE (follows the Windows operating system)

None

containerd 1.4.8

None

CSI

v1.26

None

CNI

Flannel 0.15.1.4-e02c8f12-aliyun

This upgrade does not affect your workloads. The following new features are supported:

  • API version updates for resources such as Authorization to support Kubernetes 1.22.

  • Exposing services by using HostPort.

  • Enabling Hairpin mode.

Terway

None

NVIDIA Container Runtime

3.7.0

None

Ingress Controller

1.1.0-aliyun.1

Component upgrades may cause momentary business interruptions and configuration compatibility issues. Fully verify that no errors occur during the component upgrade before you upgrade the cluster.

Version interpretation

Resource changes and deprecations

  • [Changed] MutatingWebhookConfiguration and ValidatingWebhookConfiguration resources no longer support the admissionregistration.k8s.io/v1beta1 API. If you use an earlier API version to create an admission or mutating webhook configuration, the configuration fails to be created, which affects the use of webhook services. Replace it with admissionregistration.k8s.io/v1 as soon as possible.

  • [Changed] CustomResourceDefinition resources no longer support the apiextensions.k8s.io/v1beta1 API. If you use an earlier API version to create a CustomResourceDefinition (CRD), the definition fails to be created, which affects the controllers that reconcile the custom resource. Replace it with apiextensions.k8s.io/v1 as soon as possible.

  • [Changed] APIService resources no longer support the apiregistration.k8s.io/v1beta1 API. If you use an earlier API version to manage Kubernetes extension API services, the Kubernetes extension API services are affected. Replace it with apiregistration.k8s.io/v1 as soon as possible.

  • [Changed] TokenReview resources no longer support the authentication.k8s.io/v1beta1 API. If you use an earlier API version to verify authorization, the verification fails, which affects the proper operation of your applications. Replace it with authentication.k8s.io/v1 as soon as possible.

  • [Changed] SubjectAccessReview resources no longer support the authorization.k8s.io/v1beta1 API. If you use an earlier API version to verify authorization, the verification fails, which affects the proper operation of your applications. Replace it with authorization.k8s.io/v1 as soon as possible.

  • [Changed] CertificateSigningRequest resources no longer support the certificates.k8s.io/v1beta1 API. If you use an earlier API version to request that a certificate be issued, the issuance fails. Use certificates.k8s.io/v1 instead.

  • [Changed] Lease resources no longer support the coordination.k8s.io/v1beta1 API. If you use an earlier API version to perform leader election, the leader election fails, which affects the proper operation of your applications. Replace it with coordination.k8s.io/v1 as soon as possible.

  • [Changed] Ingress and IngressClass resources no longer support the networking.k8s.io/v1beta1 and extensions/v1beta1 APIs. If you use an earlier API version to manage Ingresses, the services that applications expose to external access are affected. Replace them with networking.k8s.io/v1 as soon as possible.

  • [Changed] ClusterRole, ClusterRoleBinding, Role, and RoleBinding resources no longer support the rbac.authorization.k8s.io/v1beta1 API. If you use an earlier API version to manage Role-Based Access Control (RBAC) resources, the permission services of your applications are affected, and the applications may even fail to work properly in the cluster. Replace it with rbac.authorization.k8s.io/v1 as soon as possible.

  • [Changed] CSIDriver, CSINode, StorageClass, and VolumeAttachment resources no longer support the storage.k8s.io/v1beta1 API. If you use an earlier API version to manage Container Storage Interface (CSI) resources, the storage services provided in the cluster are affected, and CSI cannot be used properly in the cluster. Replace it with storage.k8s.io/v1 as soon as possible.

  • [Changed] PriorityClass resources no longer support the scheduling.k8s.io/v1beta1 API. If you use an earlier API version to manage the pod priority classes in the cluster, the operations fail. Use scheduling.k8s.io/v1 instead.

  • [Deprecated] Dockershim is marked as deprecated and is scheduled to be removed in version 1.24. For more information, see EP-2221 and cri-containerd.

    Before you upgrade to version 1.24, follow these steps to adjust the node runtime:

    • Based on the number of pods, plan the capacity (specifications and number) of the nodes that use a non-Docker runtime.

    • During off-peak hours, scale out nodes with the corresponding capacity.

    • Drain the nodes that use Docker as the runtime one by one. After each node is drained, make sure that all business pods have recovered before you continue to drain the next node.

    • After all the nodes that use the Docker runtime have finished draining and no business pods are running, perform the final removal.

  • [Deprecated] In Kubernetes 1.22.10 and later versions, kube-proxy removes the logic that listens on NodePort. If the NodePort port range (the ServiceNodePortRange parameter of the API server) conflicts with the kernel net.ipv4.ip_local_port_range port range, TCP connections may occasionally fail, which causes issues such as health check failures and service exceptions. Therefore, when you upgrade a cluster to 1.22.10 or a later version, make sure that the NodePort port range of the cluster does not conflict with the net.ipv4.ip_local_port_range port range of any node. For information about how to configure the NodePort port range, see How do I configure the NodePort range? or the Kubernetes community PR.

Feature enhancements

  • As of version 1.21, the immutable ConfigMap and Secret (ImmutableEphemeralVolumes) feature is enabled by default. By marking ConfigMaps and Secrets as immutable, you can significantly reduce the load on the API server. For more information, see Secret and ConfigMap.

  • As of version 1.21, the IPv4/IPv6 dual-stack (IPv6DualStack) feature is enabled by default. In addition to configuring the correct IPv4 and IPv6 Classless Inter-Domain Routing (CIDR) blocks when the cluster is created, you must install a Container Network Interface (CNI) plug-in that supports dual stack in the cluster. For more information, see IPv4/IPv6 dual-stack.

  • As of version 1.21, the graceful node shutdown (GracefulNodeShutdown) feature is enabled by default. This feature supports only Linux nodes. When the kubelet detects that a node is about to actively enter shutdown, it completes the shutdown of the pods within a specific shutdown period. For more information, see Nodes.

  • As of version 1.21, the efficient watch resumption (EfficientWatchResumption) feature is enabled by default. After the API server restarts, watch-based caches are resumed more efficiently, which better supports large-scale clusters. For more information, see KEP-1904.

  • As of version 1.22, the CSI storage capacity (CSIStorageCapacity) feature is enabled by default. With this feature, the kube-scheduler can compare the size of a volume with the storage capacity on a node, which helps schedule the pods that use the corresponding volume faster. For more information, see Storage capacity.

  • As of version 1.22, the configurable surge for DaemonSet rolling updates (DaemonSetUpdateSurge) feature is enabled by default. When you perform a rolling update on a DaemonSet that supports rolling updates, you can declare .spec.strategy.rollingUpdate.maxSurge to specify the maximum surge during the update process. For more information, see Perform a Rolling Update on a DaemonSet.

  • As of version 1.22, the indexed Job (IndexedJob) feature that allows parallel Jobs to support indexes is enabled by default. In a Job, if you declare .spec.completionMode as Indexed, the running pods receive a new annotation batch.kubernetes.io/job-completion-index, and a new environment variable JOB_COMPLETION_INDEX is injected into the containers. For more information, see Kubernetes.

  • As of version 1.22, the memory management (MemoryManager) feature is enabled by default. This feature applies only to Linux nodes. It implements Non-Uniform Memory Access (NUMA)-aware memory management and can significantly improve the performance of applications that require quality of service guarantees for memory usage. ACK does not currently configure any memory reservation values related to this feature. For more information, see Memory mapping at runtime and Use the NUMA-aware memory manager.

  • As of version 1.22, the feature that allows pod affinity to configure a namespace selector (PodAffinityNamespaceSelector) is enabled by default. The affinity policies of pods are no longer limited to label selection within the same namespace. Label selection across namespaces is supported, which enables more comprehensive affinity scheduling policies. For more information, see KEP-2249.

  • As of version 1.22, the pod deletion cost (PodDeletionCost) feature is enabled by default. Pods can adjust their deletion cost based on their utilization, so that pods with lower utilization receive a lower deletion cost. For more information, see ReplicaSet.

  • As of version 1.22, the feature that allows configuring the nominated node for pod scheduling preemption (PreferNominatedNode) is enabled by default. The kube-scheduler first attempts to schedule a pod to the nominated node. Only when the nominated node does not meet the scheduling requirements does the scheduler start the evaluation process for the remaining nodes. For more information, see KEP-1923.

  • As of version 1.22, the feature that allows configuring a probe-level termination grace period (ProbeTerminationGracePeriod) is enabled by default. This feature can be used only in liveness probes to configure the probe-level (Pod-level) terminationGracePeriodSeconds duration, which shortens the time that a pod waits to restart after it fails. For more information, see Configure Liveness, Readiness and Startup Probes.

  • As of version 1.22, the configurable end port for network policy (NetworkPolicyEndPort) feature is enabled by default. With this feature, you can configure a network policy (NetworkPolicy) to support a range of port values. For more information, see Network Policy.

  • As of version 1.22, the feature that increases the randomness of replica scale-down based on logarithmic comparison (LogarithmicScaleDown) is enabled by default. With this feature, the randomness of the pods that are scaled down is enhanced, which mitigates the issues caused by pod topology spread constraints. For more information, see Consider Pod topology spread constraints when scaling down proportionally and KEP-2185.

  • As of version 1.22, the Job suspension (SuspendJob) feature is enabled by default. With this feature, you can better control the lifecycle of a Job, for example, suspending a running Job and then resuming its execution. For more information, see Introducing suspended Jobs.

  • As of version 1.22, the feature that allows configuring the internal traffic policy of a Service (ServiceInternalTrafficPolicy) is enabled by default. With this feature, you can configure a Service to route internal traffic to the ready endpoints on the current node (Local) or to all ready endpoints in the cluster scope (Cluster). For more information, see Service.

  • As of version 1.22, the feature that allows configuring the load balancer class of a Service (ServiceLoadBalancerClass) is enabled by default, which implements custom load balancing. For more information, see Set the class of a load balancer implementation.

  • As of version 1.22, the feature that allows a Service of the LoadBalancer type to not allocate node ports (ServiceLBNodePortControl) is enabled by default. This feature applies to scenarios in which traffic is routed directly to pods. With this feature, you can configure .spec.allocateLoadBalancerNodePorts of a Service whose type is LoadBalancer to false to disable the allocation of node ports. For more information, see Set the class of a load balancer implementation.

  • As of version 1.22, the configurable memory volume size (SizeMemoryBackedVolumes) feature is enabled by default. This feature supports only Linux nodes. With this feature, you can explicitly define the required directory size by using emptyDir.sizeLimit, which improves the transparency of pod scheduling. For more information, see KEP-1967.

  • As of version 1.22, the server-side apply (Server-side Apply) feature is enabled by default. This feature makes it easier to learn the source, time, and operation of the field changes in a resource. For more information, see Server-side Apply.

  • As of version 1.22, the support of the CSI interface for Windows containers has entered the stable stage. On operating systems that do not support privileged containers (for example, Windows Server 2019 and Windows Server Core version 2004), Windows containers can manipulate the storage modules on the host through the CSI-based proxy. Because this feature requires a compatible CSI plug-in, verify the status of the CSI plug-in before you use this feature. For more information, see csi-proxy.

  • As of version 1.22, the feature that allows requesting the issuance of certificates with a shorter validity period (CSRDuration) is enabled by default. With this feature, when a submitted CertificateSigningRequest (CSR) declares .spec.expirationSeconds, the validity period of the issued certificate is determined by the smaller of the declared value and the --cluster-signing-duration parameter of kube-controller-manager. ACK configures kube-controller-manager to 10 years by default. For more information, see Signers.

  • As of version 1.22, the BoundServiceAccountTokenVolume feature gate is generally available (GA). A service account that is mounted in a pod in a non-projected manner has a default validity period of one year. For more information, see Feature description.

Feature introductions

  • As of version 1.21, the persistent volume (PV) health monitor (Health Monitor) feature is introduced. Persistent volume health monitoring helps workloads detect the health status of a persistent volume, which ensures that data is not read from or written to a damaged persistent volume. ACK enables the CSI volume health monitoring feature by default. Because this feature requires the support of a CSI plug-in, it works properly only if the CSI plug-in that you use supports it. For more information, see Volume health monitoring.

  • As of version 1.22, the feature that implements quality of service (QoS) guarantees for memory resources based on cgroups v2 is introduced. When resource usage is tight (for example, a burst request for a large amount of resources), CPU resources can improve resource availability through allocation rate limiting, but allocation rate limiting cannot be implemented for memory resources. To support allocation rate limiting for memory resources, the Linux kernel community optimized and adjusted the related interfaces in cgroups v2. ACK enables the memory quality of service guarantee feature by default. Because this feature requires kernel support from the operating system and supports only Linux nodes, it works properly only if the nodes that are added support it. For more information, see Memcg QoS feature of the cgroup v1 interface and 2570-memory-qos.

  • As of version 1.22, the feature that implements Windows privileged containers based on host process containers (HostProcess containers) is introduced. ACK enables the Windows host process container feature by default. Because this feature requires kernel support from the operating system, it can be used properly only if the nodes that are added support it. For more information, see New features for Windows containers on Windows Server 2022 and Create a Windows HostProcess pod.

  • As of version 1.22, the feature that allows workloads to use the swap memory of nodes is introduced. This feature supports only Linux nodes. It targets scenarios that require the use of swap memory. For example, node administrators want to use swap memory to tune node performance and reduce the stability issues caused by memory contention. Applications can also achieve better performance through swap memory. ACK does not currently enable the swap memory feature. For more information, see Swap memory management and KEP-2400.

  • As of version 1.22, the feature that configures a default seccomp profile for workloads is introduced. This feature supports only Linux nodes. After this feature is enabled, the RuntimeDefault policy is used as the default seccomp profile. However, because some workloads may require fewer system call restrictions than other workloads, enabling the default profile may cause them to fail to run. ACK does not currently enable the default seccomp profile feature. For more information, see Enable RuntimeDefault as the default seccomp profile for all workloads.

Feature replacements

  • As of version 1.21, pod security policy (PodSecurityPolicy, PSP) has entered the deprecation phase, and the resource definition is scheduled to be completely removed in version 1.25. ACK enables the pod security feature by default. Gradually replace your existing PSP resources in version 1.22. For more information, see Pod security admission and PodSecurityPolicy deprecation: Past, present, and future.

  • As of version 1.21, the Service traffic topology awareness (ServiceTopology) feature, which is implemented by describing topology keys (topologyKeys) in a Service, is deprecated and is replaced by the topology aware hints feature. ACK does not enable the Service traffic topology awareness feature by default. If you have already enabled this feature, you can enable the topology aware hints feature at the same time in version 1.22 and gradually switch to the new feature in that version. For more information, see Topology aware hints.

ACK enhancements for Kubernetes 1.22

Observability

  • Enriches the metric information of the access requests to the API server, which improves the observability of the API server.

  • For ACK Pro Edition, ACK Serverless Pro cluster, or Edge Pro Edition clusters, the core metrics of the managed control plane components can be exposed, which improves the observability of the core components of the managed control plane.

Stability

For all cluster types:

  • Adds protection for the storage layer to reduce the impact on etcd during a cold start.

  • Allows you to enable rate limiting on the API server based on a combination of the source, type, or route of requests, which reduces the impact on the API server during a cold start.

Performance optimization

Bug fixes

kube-controller-manager: Fixes the issue where EndpointSlices resources leak in specific scenarios. For more information, see Fixing how EndpointSlice Mirroring handles Service selector transitions.

References