Updated on 2026-09-18 GMT+08:00

Kubernetes 1.34 Release Notes

CCE Autopilot has passed the Certified Kubernetes Conformance Program and is a certified Kubernetes offering. CCE Autopilot now supports Kubernetes 1.34 cluster features. This section describes the updates in Kubernetes 1.34.

New and Enhanced Features

Kubernetes 1.34

  • RecoverVolumeExpansionFailure (GA)

    RecoverVolumeExpansionFailure has moved to GA. You can reduce the requested size of a PVC as long as the previous expansion has not yet completed. Kubernetes will automatically adjust the PVC to resolve the volume expansion failure. For details, see Kubernetes v1.34: Recovery From Volume Expansion Failure (GA).

  • JobPodReplacementPolicy (GA)

    JobPodReplacementPolicy has moved to GA. This feature introduces the .spec.podReplacementPolicy field for jobs. With this setting, you can configure a job to create a replacement pod only after the original pod has completely terminated (.status.phase: Failed). For details, see Kubernetes v1.34: Pod Replacement Policy for Jobs Goes GA.

  • Resilient watch cache initialization (GA)

    The initialization process of the watch cache has been enhanced to be more fault-resistant. This improvement increases the robustness of the cluster control planes and ensures that controllers and clients can reliably establish and maintain observations. For details, see Resilient watchcache initialization.

  • Relaxing DNS search path validation (GA)

    Relaxing DNS search path validation has moved to GA. Previously, Kubernetes verified search strings in dnsConfig.searches (the DNS search domain list) based on RFC-1123, which imposes strict restrictions on host names. This validation proved too restrictive for practical use cases of dnsConfig.searches. With the new release, the following settings are now supported:

    • Underscores (_) can be used in place of hyphens (-).
    • A single dot (.) can be specified as a search domain.

    For details, see Relaxed DNS search string validation.

  • Sleep action for container lifecycle hooks (GA)

    Sleep action for container lifecycle hooks has moved to GA. This feature allows you to use the sleep command by setting the Sleep field in the container lifecycle hooks to pause a container for a specified duration. You can also set sleep to 0. For details, see Introducing Sleep Action for PreStop Hook and Allow zero value for Sleep Action of PreStop Hook.

  • Allow special characters in environment variables (GA)

    Allow special characters in environment variables has moved to GA. All printable ASCII characters are now supported in environment variables. The valid ASCII code range is 32 to 126, excluding equal signs (=). For details, see Allow special characters in environment variables.

  • Dynamic resource allocation (GA)

    Dynamic resource allocation (DRA) has moved to GA. DRA allows you to request and share resources among pods. For details, see Dynamic Resource Allocation.

  • kuberc file for kubectl user preferences (beta)

    The kuberc file for kubectl user preferences has moved to beta. A kuberc configuration file allows you to define preferences for kubectl, such as default options and command aliases. For details, see Kubernetes v1.34: User preferences (kuberc) are available for testing in kubectl 1.34 .

  • Snapshottable API server cache (beta)

    Snapshottable API server cache has moved to beta. With ListFromCacheSnapshot enabled by default, kube-apiserver attempts to serve responses directly from snapshots. For details, see Snapshottable API server cache.

  • KubeletPSI (beta)

    KubeletPSI has moved to beta. Pressure Stall Information (PSI) is a monitoring metric that shows how much pressure the system is under in terms of CPU, memory, and I/O resources. It helps you understand information such as service latency and overall system stability.

    kubelet now allows you to obtain a node's pressure metrics. For details, see Understand Pressure Stall Information (PSI) Metrics.

  • KubeletPodResourcesGet and KubeletPodResourcesDynamicResources (beta)

    KubeletPodResourcesGet and KubeletPodResourcesDynamicResources have moved to beta. New gRPC APIs are now available. They allow you to obtain resource allocation details through the kubelet. For details, see Device Plugins.

  • PodLevelResources (beta)

    PodLevelResources has moved to beta. This feature gate enables pod-level resource management, allowing Kubernetes to control the total resource usage of pods and reducing the need to fine-tune resource settings for each individual container. For details, see Kubernetes v1.34: Pod Level Resources Graduated to Beta.

    • When you configure resource requests or limits at the pod level, the CPU and memory metrics displayed on the console, including requests, limits, and usage, are still calculated based on container-level values.
    • If a resource limit is set at the pod level but the request is not, the API server automatically defaults the request value. This defaulting occurs before sidecar injection. After a new container is added via sidecar injection, the API server does not perform defaulting again. As a result, the pod-level resource values may become invalid, causing validation failures that prevent pod creation. To avoid this issue, explicitly set both requests and limits for all resources at the pod level.

Kubernetes 1.33

  • MultiCIDRServiceAllocator (GA)

    MultiCIDRServiceAllocator moved to GA. ServiceCIDRs and IPAddresses are introduced to record the allocations of Service cluster IP addresses. You can use ServiceCIDRs to increase the number of available cluster IP addresses.

    New Service CIDR blocks cannot overlap with the subnet CIDR block or container CIDR block of the cluster.

  • JobBackoffLimitPerIndex (GA)

    JobBackoffLimitPerIndex moved to GA. It allows you to control the maximum number of retries per index in an indexed job. For details, see Kubernetes v1.33: Job's Backoff Limit Per Index Goes GA.

  • JobSuccessPolicy (GA)

    JobSuccessPolicy moved to GA. It allows you to use custom success policies for jobs. For example, you can specify whether some indexes are successful and the number of successful indexes to determine whether a job is complete. For details, see Job's SuccessPolicy Goes GA.

  • HonorPVReclaimPolicy (GA)

    HonorPVReclaimPolicy moved to GA. It ensures that when reclaimPolicy of a PV is set to Delete, the underlying storage resources are deleted based on the policy regardless of the deletion sequence of the PV or PVC. This prevents storage resource leakage.

  • ImageVolume (beta)

    ImageVolume moved to beta. It allows you to use the image volume source in a pod. This volume source lets you mount a container image to the pod as a read-only volume. For details, see Kubernetes v1.33: Image Volumes graduate to beta!

  • UserNamespacesSupport (beta)

    UserNamespacesSupport moved to beta. It enables pods to use the Linux user namespaces. For details, see Use a User Namespace With a Pod.

  • StreamingCollectionEncodingToProtobuf (beta)

    StreamingCollectionEncodingToProtobuf moved to beta. kube-apiserver disables the watch-list strategy and uses streaming encoding instead. This feature gate effectively reduces memory usage and improves system stability when a large number of resources are requested. For details, see Kubernetes v1.33: Streaming List responses.

  • ProcMountType (beta)

    ProcMountType moved to beta. It allows you to use the securityContext.procMount field of a pod to customize the mounting type of the /proc file system in the container to control the access to /proc in a refined manner. This improves pod security and isolation. This feature gate applies to scenarios where non-privileged containers need to run in user namespaces. By relaxing the restrictions on accessing /proc, compatibility and flexibility can be enhanced.

  • PodLifecycleSleepAction (beta)

    PodLifecycleSleepAction moved to beta. This feature gate is enabled by default. It allows you to create containers with a hibernation lifecycle of zero seconds. For details, see Introducing Sleep Action for PreStop Hook.

  • Limitations on the number of PVCs associated with a specific VolumeAttributesClass

    You are allowed to use ResourceQuota to limit the number of PVCs associated with a specific VolumeAttributesClass.

API Changes and Removals

Kubernetes 1.34

  • When creating a headless Service, if loadBalancerIP, externalIPs, or sessionAffinity is set, a warning message is now displayed.
  • If a container does not specify hugepage resources, pod-level hugepage cgroups are propagated to the container. Verification has been added to ensure that the aggregated container hugepage limit is less than or equal to the pod-level limits.
  • CRDs now support the OpenAPI format for both Kubernetes short names and long names.
  • The AuthenticationConfiguration type supported by --authentication-config in the kube-apiserver configuration files has been upgraded to apiserver.config.k8s.io/v1.
  • The JobPodReplacementPolicy feature gate was locked to true and will be removed in a future Kubernetes release.
  • The AuthorizeWithSelectors and AuthorizeNodeWithSelectors feature gates are now stable and locked on.
  • The fallback behavior of the Downward API's resourceFieldRef field has been updated to consider pod-level resources. If a container-level resource limit is not configured, the pod-level resource limit will be used first before falling back to node allocatable resources.
  • Zero-valued metadata.creationTimestamp is now omitted and no longer serialized as an explicit null in JSON, YAML, or CBOR output.

Kubernetes 1.33

  • In Kubernetes 1.33, the annotation service.kubernetes.io/topology-mode for EndpointSlices has been deprecated and replaced by spec.trafficDistribution to maintain backward compatibility.
  • The apidiscovery.k8s.io/v2beta1 API group has been deprecated. This API group allows clients to obtain information about all registered APIs in a cluster. The v2 stable version is recommended.
  • WatchFromStorageWithoutResourceVersion has been deprecated. This function enables watches based on etcd without resourceVersion.
  • The Endpoints API of v1 has been deprecated, but it is still supported. Use the EndpointSlices API instead. The EndpointSlices API has been stable since v1.21 and features such as dual-stack networks have been introduced. For details, see Kubernetes v1.33: Continuing the transition from Endpoints to EndpointSlices.

Enhanced Kubernetes 1.34 on CCE

During a version maintenance period, CCE periodically updates Kubernetes 1.34 with enhanced functions.

For details about cluster version updates, see Patch Versions.

References

For more details about the performance comparison and functional evolution between Kubernetes 1.34 and other versions, see Kubernetes 1.34 Release Notes and Kubernetes 1.33 Release Notes.