There are several Kubernetes versions that have removed APIs. If you upgrade
a Google Distributed Cloud cluster to a new Kubernetes version, and your
workloads use any APIs that have been removed, your workloads could be
disrupted. Follow the steps given here to determine whether your workloads use
any of the removed APIs for a given Kubernetes version before you upgrade your
cluster.
You can see a list of deleted APIs in each Kubernetes version in
this doc.
Determine if the API deletion affects you
To determine if the Kubernetes Service Accounts you use make calls to any
deleted APIs, run the supplied query in
Logs Explorer:
In the Google Cloud console, go to the Logs Explorer page in the
Logging menu.
The output from this query shows if any of your Kubernetes Service Accounts
make deleted API calls in the given KUBERNETES_MINOR_VERSION, for example,
1.25.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["Upgrading a Google Distributed Cloud cluster to a new Kubernetes version can disrupt workloads if they use removed APIs."],["A list of deleted APIs for each Kubernetes version is available in the Kubernetes deprecation guide."],["You can determine if your workloads are affected by API deletions by enabling Cloud Audit Logs and streaming them to Google Cloud Observability."],["The Logs Explorer tool can be used with a specific query to identify if Kubernetes Service Accounts are making calls to deleted APIs in a given Kubernetes minor version."]]],[]]