Kubernetes API Version Checker

Check every apiVersion in a manifest against a target cluster version. This covers apiVersion and kind, which is the part that changes between releases and breaks applies, and it deliberately does not ship a field-level OpenAPI schema.

The table behind this comes from the upstream deprecated API migration guide and covers built-in kinds through 1.33.

Paste below, or drop a file anywhere on this panel

Or drop a file anywhere on this panel. Nothing is uploaded: the analysis runs in this tab.

The answer appears here

Paste on the left and press Check. Nothing leaves this tab.

Examples

Real input you can load into the tool above. Each one shows a different thing going wrong, because that is what the tool is for.

A removed API

PodSecurityPolicy, gone in 1.25, checked against the target version

apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
  name: restricted

A current manifest

A manifest already on a supported version for the chosen target

apiVersion: apps/v1
kind: Deployment
metadata:
  name: api

Common mistakes

These are the ones that fail silently. The config is accepted, nothing raises an error, and the consequence arrives later.

  1. Validating against the running version instead of the target

    The point is to catch what breaks on upgrade. Checking against today's version finds nothing.

    Instead:Set the target to the version you are moving to.

  2. Assuming a deprecated API still works

    Deprecated and removed are different. A removed API is a hard error at apply time.

    Instead:Check the removal version, not the deprecation notice.

  3. Only checking your own manifests

    Charts, operators and vendored YAML carry old apiVersions too.

    Instead:Render everything that gets applied, then check the output.

Why this is not a field-level schema check

A per-version field check means shipping megabytes of OpenAPI and being wrong whenever your cluster differs from the copy bundled here. The apiVersion half is what breaks applies between releases, and it fits in a small table that can be right.

PodSecurityPolicy is the one with nowhere to go

Every other removal on this list is a move to a new group or version. PSP was deleted in 1.25 with no successor object, so a cluster upgrading past it loses the enforcement silently. Pod Security Admission replaced it and is configured with labels on the Namespace rather than as an object you apply.

PodDisruptionBudget inverted an empty selector

policy/v1beta1 matched no pods with an empty selector; policy/v1 matches every pod in the namespace. The same object therefore reverses meaning across the 1.25 removal, going from protecting nothing to blocking every eviction, which stops node drains cluster-wide. The object is valid in both versions, so nothing warns.

What this cannot see

Fields, which `kubectl apply --dry-run=server` checks against your actual cluster including its webhooks and CRDs. Custom resources, whose versions belong to whoever wrote the CRD. And anything removed after 1.33, until somebody adds it here.

More kubernetes tools

Kubernetes YAML Generator Answer a few questions, get a manifest Kubernetes YAML Validator Is this YAML valid, and where is it wrong? Kubernetes Rollout & Probe Timing Restart loops, capacity dips and stuck drains Kubernetes Service Checker Will this Service have any endpoints? Kubernetes Network Policy Viewer What can reach what, and what just broke Kubernetes Manifest Diff What actually changed Kubernetes Resource Calculator What these manifests actually reserve Kubernetes RBAC Viewer Who can actually do what Kubernetes Deployment Generator See the capacity dip before you deploy Kubernetes Service Generator port, targetPort, and which one you meant Kubernetes StatefulSet Generator Stable names, and volumes that outlive you Kubernetes QoS Class Calculator And where you sit in the eviction order Kubernetes Node Capacity Planner Allocatable is not capacity Kubernetes Max Pods per Node Calculator The ENI limit, not the 110 default Kubernetes Label Selector Tester Which key failed, not just that one did Kubernetes Taint & Toleration Tester Tolerations permit, they do not attract Kubernetes Resource Name Validator RFC 1123 subdomain, label, or 1035 Kubernetes Label & Annotation Validator Why your image tag is not a legal label Kubernetes CrashLoopBackOff Guide The status is a timer, not a cause Kubernetes TLS Certificate Decoder When it expires, and what it covers Kubernetes ServiceAccount Token Decoder Bound or legacy, and when it dies Kubernetes imagePullSecret Generator The registry URL nobody gets right Kubernetes cert-manager Certificates Issuer scope, and the rate limit that costs a week Kubernetes Flux HelmRelease Generator With the source it cannot work without Kubernetes Helm Chart Generator Chart.yaml, values, and working templates Kubernetes Argo CD Application Generator The defaults that are off, turned on Kubernetes Ingress Generator pathType, and the TLS secret that fails quietly Kubernetes HPA Generator Why it says unknown and never scales Kubernetes SecurityContext Generator Pod level, container level, and which wins Kubernetes Probe Generator How long it gets to start before liveness kills it Kubernetes PVC Generator Access modes your storage can actually do Kubernetes ResourceQuota Generator And the LimitRange that stops it breaking deploys Kubernetes CronJob Generator The fields that decide whether it runs Kubernetes NetworkPolicy Generator With the DNS rule already in it Kubernetes RBAC Generator And what it actually grants Kubernetes PodDisruptionBudget Generator Can this budget ever be satisfied? Kubernetes API Deprecation Checker What breaks on the next upgrade Kubernetes Kubeconfig Viewer Read it without handing it to anyone Kubernetes Quantity Parser What 512Mi, 100m and 1e3 actually mean Kubernetes Multi-Document YAML Splitter One file per object, in apply order Kubernetes .env to ConfigMap & Secret Split the credentials out on the way Kubernetes Secret Decoder See what is actually in there Kubernetes Ingress to Gateway API Which annotations silently stop working Kubernetes Manifest Visualizer What points at what, and what points at nothing Kubernetes Patch Tester Which --type, and what it deletes Kubernetes kubectl JSONPath Tester kubectl's dialect, not generic JSONPath Kubernetes Node Affinity Tester Required excludes, preferred only scores Kubernetes Helm Values Diff A missing key is a third value Kubernetes Pod and Service CIDR Fixed at cluster creation Kubernetes Secret Encoder base64 is not encryption Kubernetes Go Template Tester Go truthiness is not JavaScript's Kubernetes Cluster Cost Estimator At your rates, not a price table Kubernetes Kustomize Build Transformers run in kustomize's order Kubernetes Helm Chart Validator version is SemVer, appVersion is not

Elsewhere on the site