CCE Release of Kubernetes v1_20 History
Updated at:2025-10-27
Baidu AI Cloud Container Engine (CCE) fully complies with community conformance certification. This document highlights the key changes introduced in Kubernetes 1.20 by CCE compared to version 1.18.
Resource changes and deprecations
- The selfLink field is removed. This field is located in ObjectMeta, automatically generated by the system, and read-only;
- autoscaling/v2beta1 is deprecated; it is recommended to use autoscaling/v2beta2 instead;
- storage.k8s.io/v1beta1 is deprecated; it is recommended to use storage.k8s.io/v1 instead;
- apiextensions.k8s.io/v1beta1 is deprecated; it is recommended to use apiextensions.k8s.io/v1 instead;
- apiregistration.k8s.io/v1beta1 is deprecated; it is recommended to use apiregistration.k8s.io/v1 instead;
- coordination.k8s.io/v1beta1 was deprecated in version 1.19 and will be removed in version 1.22; it is recommended to use coordination.k8s.io/v1 instead;
- kubescheduler.config.k8s.io/v1alpha2 is deprecated; it is recommended to use kubescheduler.config.k8s.io/v1beta1 instead;
- authentication.k8s.io/v1beta1 and authorization.k8s.io/v1beta1 are deprecated and will be removed in version 1.22; it is recommended to use authentication.k8s.io/v1 and authorization.k8s.io/v1 instead;
- For Ingress and IngressClass, it is recommended to adopt networking.k8s.io/v1. The extensions/v1beta1 and networking.k8s.io/v1beta1 versions of Ingress and IngressClass are deprecated and will be fully removed in version 1.22.
Other changes and deprecations
- In the kube-apiserver configuration, the --enable-admission-plugins parameter prohibits setting PodPreset;
- The Docker runtime was officially marked as deprecated in version 1.20. You can still use Docker in the cluster for now, but the community plans to phase it out in future versions.
When upgrading some CCE clusters from version 1.16 to 1.20, the following new configurations need to be added to kube-apiserver. If the upgrade fails, you can submit a ticket to contact the administrator for handling:
Plain Text
1--service-account-issuer=https://kubernetes.default.svc.cluster.local \
2--service-account-signing-key-file=/etc/kubernetes/pki/ca-key.pem \
3--api-audiences=kubernetes.default.svc \
Reference link
For a detailed comparison between Kubernetes 1.20 and other versions, please refer to:
