forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: Dong, Qiu Jian <qiujiandong1@huawei.com> Co-committed-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
2.3 KiB
2.3 KiB
Discarded Kubernetes APIs
Check Items
The system scans the audit logs of the past day to check whether the user calls the deprecated APIs of the target Kubernetes version.
Solution
Check Description
Based on the check result, it is detected that your cluster calls a deprecated API of the target cluster version using kubectl or other applications. You can rectify the fault before the upgrade. Otherwise, the API will be intercepted by kube-apiserver after the upgrade. For details about each deprecated API, see Deprecated APIs.
Case Study
Ingresses of the extensions/v1beta1 and networking.k8s.io/v1beta1 APIs are deprecated in Kubernetes v1.22. If you upgrade a cluster from v1.19 or v1.21 to v1.23, existing resources are not affected, but the v1beta1 API may be intercepted in the creation and editing scenarios.
For details about the YAML configuration structure changes, see Using kubectl to Create a LoadBalancer Ingress.
Parent topic: Troubleshooting for Pre-upgrade Check Exceptions