After a cluster upgrade, a parks-and-recreation Deployment YAML still references a deprecated API. What maintenance approach updates the manifests correctly?
Select an answer to reveal the explanation.
Short Explanation
Think of deprecated APIs like an expired building permit form—the clerk won’t stamp the old blank. kubectl convert or a careful manual rewrite moves your YAML onto a supported apiVersion. Then you apply the updated manifests as ordinary maintenance.
Full Explanation
API deprecation maintenance means transforming resource definitions to versions the cluster still serves. kubectl convert can rewrite many manifests; teams may also edit apiVersion (and related fields) by hand against the current docs. Leaving the old version, disabling negotiation, or changing only the image does not address the deprecation. After conversion, apply and verify the workload behaves as expected.