liveBook · Manning

Deprecation

As explained in Effective Platform Engineering

Deprecation is the formal designation that a feature or interface remains temporarily available but should no longer be adopted and may later be removed.

Deprecation formally marks a feature or interface as still usable but no longer recommended for adoption, with removal planned later. It preserves backward compatibility while giving platform users time to migrate. section 9.3

Kubernetes promotes APIs through lifecycle stages, marks older versions deprecated after promotion, and removes them after two release cycles. Platform teams can use that window to coordinate upgrades instead of absorbing a sudden outage. section 9.3

A practical deprecation response includes:

  • Publish an upgrade event when the platform changes. section 9.3
  • Inspect changed apiVersions and scan deployed services for outdated versions. section 9.3
  • Give owning teams a deadline before removal breaks their deployments. section 9.3
apiVersion: admissionregistration.k8s.io/v1alpha1
Kind: MutatingWebHook

apiVersion: apps/v1
Kind: Deployment

Compare a deprecated admissionregistration API version with a current apps API version in deployment manifests. section 9.3

How Effective Platform Engineering covers it

How deep it goes
Explains promotion, deprecation, two-cycle compatibility, removal, event detection, and deployment scanning.
Examples
Uses Kubernetes admissionregistration API promotion and scans deployments for outdated apiVersions.
What you can do after
Diagnose outdated deployed APIs and coordinate migrations before a platform release removes compatibility.
How it connects
Connects Kubernetes APIs with API versioning, backward compatibility, upgrades, migrations, event streaming, and platform engineering.

Also explained in

Compare how 5 books explain deprecation →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Effective Platform Engineering. The section links point to the parts of the book it draws on.