Files
doc-exports/docs/cce/umn/cce_10_0440.html
qiujiandong1 bfc6e41869 CCE UMN update 20241130 version
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Co-authored-by: qiujiandong1 <qiujiandong1@huawei.com>
Co-committed-by: qiujiandong1 <qiujiandong1@huawei.com>
2025-02-24 12:45:02 +00:00

2.4 KiB

Discarded Kubernetes Resources

Check Items

Check whether there are discarded resources in the clusters.

Solution

  • Scenario 1: The Service in the clusters of v1.25 or later has discarded annotation tolerate-unready-endpoints.

    Error log:

    some check failed in cluster upgrade: this cluster has deprecated service list: map[***] with deprecated annotation list [tolerate-unready-endpoints]

    Check whether the Service provided in the log information contains the annotation tolerate-unready-endpoint. If so, replace the annotation with the following fields in Service spec:

    publishNotReadyAddresses: true
  • Scenario 2: The Service in the clusters of v1.27 or later has discarded annotation service.kubernetes.io/topology-aware-hints.

    Error log:

    some check failed in cluster upgrade: this cluster has deprecated service list: map[***] with deprecated annotation list [service.kubernetes.io/topology-aware-hints]

    Check whether the Service provided in the log information contains the annotation service.kubernetes.io/topology-aware-hints. If so, replace it with the annotation service.kubernetes.io/topology-mode in the affected Service.