# Kubernetes Removed API Finder

> Scans manifests and Helm templates for apiVersions removed from Kubernetes before you upgrade a cluster or AKS, and tells you the replacement apiVersion and schema change for each one. Offline, read-only.

Kubernetes Removed API Finder is a paid AI agent skill on Agensi by Abdelrhman Fikri, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Abdelrhman Fikri](https://www.agensi.io/creators/abdelrhman-fikri)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.0.2
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/kubernetes-removed-api-finder
- Tags: devops, code-review, kubernetes, aks, deprecated-api, helm, manifests, ci-cd

## What it does

- Scans YAML manifests, rendered Helm output and chart templates for removed apiVersions
- Compares each resource against a table of removals from Kubernetes 1.16 to 1.32
- Flags BLOCKER (gone at your target version) versus UPCOMING (removed in a later minor)
- Reports file, line, kind and the replacement apiVersion for every finding
- Explains the schema changes a rename alone will not fix (Ingress pathType, CRD schemas, webhooks)
- Returns exit code 1 when blockers exist, so it can gate a CI job

## Who it's for

- **Platform, DevOps and SRE engineers planning a Kubernetes or:** A list of removed apiVersions in your repo, with the replacement for each one Try: "Scan this repo for removed Kubernetes APIs before I upgrade to 1.29"
- **Anyone who just hit a no matches for kind error after an upg:** The removed apiVersions behind the error and what to change Try: "Find which apiVersions in this folder cause no matches for kind on 1.29"

## About this skill

Before a cluster upgrade, the cheapest failure is the one you find in git. This skill gives your agent a deterministic workflow: ask for the target Kubernetes minor, run a bundled offline Python scanner over your manifests, read the BLOCKER and UPCOMING findings, then fix each apiVersion using the included migration notes.

The scanner is a single standard-library script (about 6 KB). It makes no network calls, never modifies files and never talks to a cluster. It pairs every apiVersion line with its kind, including items inside a List and blocks inside Helm templates, and compares them against a built-in removal table covering workloads, Ingress, CronJob, PodDisruptionBudget, HorizontalPodAutoscaler, PodSecurityPolicy, RBAC, admission webhooks, CRDs, storage and flow control.

The skill also ships reference notes on what must change besides the apiVersion, and on scanning rendered Helm and Kustomize output. Synthetic example repos with expected output are included so you can verify the behaviour in seconds.

**Limitations**
- File-based only: it cannot see objects already stored in a live cluster.
- Line-based, not a YAML or Helm engine: conditionals inside templates are reported, not evaluated; scan helm template output for exact results.
- Knows only the removals in its table (1.16 to 1.32); newer removals need a table update.
- Reports and explains; it does not rewrite your manifests.

## Requires

- Python

## Known limitations

File-based only: it cannot see objects already stored in a live cluster.
Line-based, not a YAML or Helm engine: conditionals inside templates are reported, not evaluated; scan helm template output for exact results.
Knows only the removals in its table (1.16 to 1.32); newer removals need a table update.
Reports and explains; it does not rewrite your manifests.

## Technical details

Built with a Python scanner script and Markdown reference tables. It reads manifest files, Helm templates, and Kustomize bases. It uses a removal table to compare apiVersions against a target minor version. It returns exit codes (0 for success, 1 for blockers, 2 for errors) and supports JSON formatting for integration. Script: scripts/find_removed_apis.py.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Kubernetes Removed API Finder skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Does it need cluster access?

No. It only reads files you point it at.

### Does it work for AKS?

Yes. AKS uses upstream Kubernetes API removals, so use the same minor version as your target AKS version.

### Can I use it in CI?

Yes. It exits 1 when blockers exist and 0 otherwise, and can print JSON.

### Which Python?

Python 3.8 or newer, no packages to install.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
