McKube 0 requests sent

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.

Kind-aware API removals (v1.16-v1.37)Ingress v1beta1 → v1 auto-migrationDrop files or a whole folder
Baseline ✓Restricted ✗ 44 criticalSee report

Manifest

4 objects · 54 lines
Drop .yaml files or a whole folder. Read via File.text() in this tab. 0 bytes leave your device.

Inspection report

Privileged✓ AllowedUnrestricted baseline
Baseline✓ AllowedNo host escalation
Restricted✗ 4 violationsAdds 4 Restricted checks

Strictest namespace label this workload survives today: pod-security.kubernetes.io/enforce: baseline · Score F (0/100)

$ kubectl apply --dry-run=server -f manifest.yaml # simulated PSA v1.37Warning: would violate PodSecurity "restricted:v1.37": unrestricted capabilities (container "bill" must set securityContext.capabilities.drop=["ALL"]), seccompProfile (pod or container "bill" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost"), allowPrivilegeEscalation != false (container "bill" must set securityContext.allowPrivilegeEscalation=false), runAsNonRoot != true (pod or container "bill" must set securityContext.runAsNonRoot=true)
Fails Restricted (Pod Security) (4)
▲ HIGH

Container "bill" does not drop ALL capabilities

PSS Restricted requires `capabilities.drop: ["ALL"]` on every Linux container.

Set `capabilities: { drop: ["ALL"] }`.
KUBE-SEC-007 · CronJob/nightly-billing · PSS Restricted: Capabilities
▲ HIGH

Container "bill" missing seccompProfile: RuntimeDefault

PSS Restricted requires RuntimeDefault or Localhost seccompProfile on Pod or Container.

Set `seccompProfile: { type: RuntimeDefault }` on Pod securityContext.
KUBE-SEC-008 · CronJob/nightly-billing · PSS Restricted: Seccomp
▲ HIGH

Container "bill" allows privilege escalation

Without `allowPrivilegeEscalation: false`, setuid binaries inside the container can gain extra privileges.

Set `securityContext.allowPrivilegeEscalation: false`.
KUBE-SEC-006 · CronJob/nightly-billing · PSS Restricted: Privilege Escalation
▲ HIGH

Container "bill" does not enforce runAsNonRoot: true

PSS Restricted requires `runAsNonRoot: true` at Pod or Container level.

Set `securityContext.runAsNonRoot: true`.
KUBE-SEC-004 · CronJob/nightly-billing · PSS Restricted: Running as Non-root
Removed / Deprecated APIs (4)
◆ CRITICAL

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.

Migrate apiVersion to networking.k8s.io/v1. Require pathType and migrate backend.serviceName/servicePort to backend.service.name/port.
KUBE-API-001 · Ingress/shop-ingress · API Removal v1.22
◆ CRITICAL

batch/v1beta1 CronJob removed in Kubernetes v1.25

Applying batch/v1beta1 CronJob fails on Kubernetes v1.37. Replacement: batch/v1. Switch to batch/v1.

Migrate apiVersion to batch/v1. Switch to batch/v1.
KUBE-API-001 · CronJob/nightly-billing · API Removal v1.25
◆ CRITICAL

policy/v1beta1 PodDisruptionBudget removed in Kubernetes v1.25

Applying policy/v1beta1 PodDisruptionBudget fails on Kubernetes v1.37. Replacement: policy/v1. Switch to policy/v1.

Migrate apiVersion to policy/v1. Switch to policy/v1.
KUBE-API-001 · PodDisruptionBudget/shop-pdb · API Removal v1.25
◆ CRITICAL

autoscaling/v2beta2 HorizontalPodAutoscaler removed in Kubernetes v1.26

Applying autoscaling/v2beta2 HorizontalPodAutoscaler fails on Kubernetes v1.37. Replacement: autoscaling/v2. Switch to autoscaling/v2.

Migrate apiVersion to autoscaling/v2. Switch to autoscaling/v2.
KUBE-API-001 · HorizontalPodAutoscaler/shop-hpa · API Removal v1.26
Reliability & Hardening Advice (not admission) (3)
▲ HIGH

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.

Set resources.requests.cpu, resources.requests.memory, and resources.limits.memory.
KUBE-REL-001 · CronJob/nightly-billing (bill) · QoS & Scheduling
● MEDIUM

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.

Set `automountServiceAccountToken: false` in Pod spec unless this workload talks to the K8s API.
KUBE-SEC-010 · CronJob/nightly-billing · Defense in Depth
● MEDIUM

Writable root filesystem on "bill"

Leaving the root filesystem writable lets an attacker drop binaries or tamper with scripts at runtime.

Set `readOnlyRootFilesystem: true` and mount an emptyDir volume at `/tmp`.
KUBE-SEC-005 · CronJob/nightly-billing (bill) · Hardening Advice

Kubernetes Removed APIs Quick Table (v1.16 to v1.37)

Removed apiVersionKind(s)Removed InReplacement
extensions/v1beta1Deployment, DaemonSet, ReplicaSetv1.16apps/v1
extensions/v1beta1NetworkPolicyv1.16networking.k8s.io/v1
extensions/v1beta1 / networking.k8s.io/v1beta1Ingressv1.22networking.k8s.io/v1 (+ pathType)
rbac.authorization.k8s.io/v1beta1Role, ClusterRole, Bindingsv1.22rbac.authorization.k8s.io/v1
apiextensions.k8s.io/v1beta1CustomResourceDefinitionv1.22apiextensions.k8s.io/v1
batch/v1beta1CronJobv1.25batch/v1
policy/v1beta1PodDisruptionBudgetv1.25policy/v1
policy/v1beta1PodSecurityPolicyv1.25Pod Security Admission labels
discovery.k8s.io/v1beta1EndpointSlicev1.25discovery.k8s.io/v1
autoscaling/v2beta2HorizontalPodAutoscalerv1.26autoscaling/v2
storage.k8s.io/v1beta1CSIStorageCapacityv1.27storage.k8s.io/v1
flowcontrol.apiserver.k8s.io/v1beta2FlowSchema, PriorityLevelConfigurationv1.29flowcontrol.apiserver.k8s.io/v1
flowcontrol.apiserver.k8s.io/v1beta3FlowSchema, PriorityLevelConfigurationv1.32flowcontrol.apiserver.k8s.io/v1
admissionregistration.k8s.io/v1beta1ValidatingAdmissionPolicyv1.34admissionregistration.k8s.io/v1
resource.k8s.io/v1alpha3ResourceClaimv1.35resource.k8s.io/v1