Upgrade Check: catch removed Kubernetes APIs before cluster upgrades.
Paste a Helm chart render, Kustomize build, or multi-doc YAML. Checks every kind against Kubernetes v1.16 through v1.37 locally.
Manifest
4 objects · 54 linesInspection report
Strictest namespace label this workload survives today: pod-security.kubernetes.io/enforce: baseline · Score F (0/100)
Container "bill" does not drop ALL capabilities
PSS Restricted requires `capabilities.drop: ["ALL"]` on every Linux container.
Container "bill" missing seccompProfile: RuntimeDefault
PSS Restricted requires RuntimeDefault or Localhost seccompProfile on Pod or Container.
Container "bill" allows privilege escalation
Without `allowPrivilegeEscalation: false`, setuid binaries inside the container can gain extra privileges.
Container "bill" does not enforce runAsNonRoot: true
PSS Restricted requires `runAsNonRoot: true` at Pod or Container level.
extensions/v1beta1 Ingress removed in Kubernetes v1.22
Applying extensions/v1beta1 Ingress fails on Kubernetes v1.37. Replacement: networking.k8s.io/v1. Require pathType and migrate backend.serviceName/servicePort to backend.service.name/port.
batch/v1beta1 CronJob removed in Kubernetes v1.25
Applying batch/v1beta1 CronJob fails on Kubernetes v1.37. Replacement: batch/v1. Switch to batch/v1.
policy/v1beta1 PodDisruptionBudget removed in Kubernetes v1.25
Applying policy/v1beta1 PodDisruptionBudget fails on Kubernetes v1.37. Replacement: policy/v1. Switch to policy/v1.
autoscaling/v2beta2 HorizontalPodAutoscaler removed in Kubernetes v1.26
Applying autoscaling/v2beta2 HorizontalPodAutoscaler fails on Kubernetes v1.37. Replacement: autoscaling/v2. Switch to autoscaling/v2.
Missing CPU/memory requests or memory limit on "bill"
Without requests and a memory limit, kube-scheduler cannot bin-pack accurately and BestEffort pods are evicted first under memory pressure.
automountServiceAccountToken is not disabled
Kubernetes mounts a ServiceAccount JWT into /var/run/secrets/kubernetes.io/serviceaccount by default even if the app never calls the K8s API.
Writable root filesystem on "bill"
Leaving the root filesystem writable lets an attacker drop binaries or tamper with scripts at runtime.
Patch & Redaction Preview
unified diffKubernetes Removed APIs Quick Table (v1.16 to v1.37)
| Removed apiVersion | Kind(s) | Removed In | Replacement |
|---|---|---|---|
extensions/v1beta1 | Deployment, DaemonSet, ReplicaSet | v1.16 | apps/v1 |
extensions/v1beta1 | NetworkPolicy | v1.16 | networking.k8s.io/v1 |
extensions/v1beta1 / networking.k8s.io/v1beta1 | Ingress | v1.22 | networking.k8s.io/v1 (+ pathType) |
rbac.authorization.k8s.io/v1beta1 | Role, ClusterRole, Bindings | v1.22 | rbac.authorization.k8s.io/v1 |
apiextensions.k8s.io/v1beta1 | CustomResourceDefinition | v1.22 | apiextensions.k8s.io/v1 |
batch/v1beta1 | CronJob | v1.25 | batch/v1 |
policy/v1beta1 | PodDisruptionBudget | v1.25 | policy/v1 |
policy/v1beta1 | PodSecurityPolicy | v1.25 | Pod Security Admission labels |
discovery.k8s.io/v1beta1 | EndpointSlice | v1.25 | discovery.k8s.io/v1 |
autoscaling/v2beta2 | HorizontalPodAutoscaler | v1.26 | autoscaling/v2 |
storage.k8s.io/v1beta1 | CSIStorageCapacity | v1.27 | storage.k8s.io/v1 |
flowcontrol.apiserver.k8s.io/v1beta2 | FlowSchema, PriorityLevelConfiguration | v1.29 | flowcontrol.apiserver.k8s.io/v1 |
flowcontrol.apiserver.k8s.io/v1beta3 | FlowSchema, PriorityLevelConfiguration | v1.32 | flowcontrol.apiserver.k8s.io/v1 |
admissionregistration.k8s.io/v1beta1 | ValidatingAdmissionPolicy | v1.34 | admissionregistration.k8s.io/v1 |
resource.k8s.io/v1alpha3 | ResourceClaim | v1.35 | resource.k8s.io/v1 |