Kubernetes 1.36 error IPVS Java pod crash - Meu Universo Nerd

Still using IPVS in your kube-proxy? It was removed in Kubernetes 1.36. And if you have deprecated APIs that were retired in this version, your Java CronJobs may stop working silently. This is exactly the kind of error that only shows up in production, never in staging.

Kubernetes 1.36 ("Haru") was released in April 2026 with 70 enhancements, and patch 1.36.1 dropped today, May 13. There are changes that break Java pipelines if you upgrade without checking. Here is the complete checklist before you hit that upgrade button.

Still using IPVS in your kube-proxy? It was removed in Kubernetes 1.36. And if you have deprecated APIs that were retired in this version, your Java CronJobs may stop working silently. This is exactly the kind of error that only shows up in production, never in staging.

Kubernetes 1.36 ("Haru") was released in April 2026 with 70 enhancements, and patch 1.36.1 dropped today, May 13. There are changes that break Java pipelines if you upgrade without checking. Here is the complete checklist before you hit that upgrade button.

What is Kubernetes 1.36 and why you must check before upgrading

Kubernetes follows a three-month release cycle. Version 1.36 "Haru" (spring in Japanese) was the April 2026 release, and patch 1.36.1 dropped on May 13, 2026, meaning managed clusters (EKS, GKE, AKS) will start offering this version in the coming weeks.

For teams running Java microservices on corporate Kubernetes, major version upgrades always carry breaking change risks. The real problem is not what was added (new features do not break anything), but what was removed. In 1.36, there are two critical removals that directly affect Java production applications.

Think of it this way: upgrading Kubernetes without checking removals is like replacing a car engine without verifying if the new bolt fits the old chassis. The new version runs, but something might not fit right.

Removal 1: IPVS in kube-proxy is gone

The kube-proxy is the Kubernetes component responsible for managing network rules that direct traffic to the right pods. Historically it supported three modes: iptables (default), IPVS (high performance for clusters with many Services), and userspace (legacy).

In Kubernetes 1.36, IPVS mode has been removed. If your kube-proxy is configured with mode: ipvs, the behavior after the upgrade depends on the provider, but the expected result is Service resolution failure.

How to check if you are using IPVS in your cluster:

// Not Java code — this is the kubectl command to check
// Run in terminal before upgrading:
// kubectl get configmap kube-proxy -n kube-system -o yaml | grep mode

// You will see something like:
// mode: "ipvs"     ← PROBLEM: migrate before upgrading to 1.36
// mode: "iptables" ← OK: default and still supported

For Java Spring Boot applications, the practical impact is on Service resolution: your REST calls to other microservices via Kubernetes Service (e.g., http://payment-service/api/payment) may start failing with timeout or connection refused after the upgrade, if IPVS is the active mode.

// Spring Boot client calling another microservice via K8s Service
@Service
public class PaymentClient {

    private final RestClient restClient;

    public PaymentClient(RestClient.Builder builder) {
        // Resolves "payment-service" via K8s DNS (kube-proxy underneath)
        this.restClient = builder
            .baseUrl("http://payment-service")
            .build();
    }

    public PaymentResponse process(PaymentRequest request) {
        // If kube-proxy IPVS was removed and not migrated to iptables,
        // this call will silently timeout in production
        return restClient.post()
            .uri("/api/v1/payment")
            .body(request)
            .retrieve()
            .body(PaymentResponse.class);
    }
}

The fix is to migrate the mode before upgrading. If you use EKS, AWS offers Amazon VPC CNI as a more robust alternative to IPVS for production clusters.

Removal 2: Deprecated APIs affecting your CronJobs and Deployments

This is the most dangerous removal because it is silent. Kubernetes 1.36 removed APIs that were marked as deprecated in earlier versions. If your YAML manifests still use those versions, the apply might keep working in some situations, but behavior can be unpredictable in new clusters.

As a Tech Leader, I have seen an incident where a team migrated clusters and reporting CronJobs stopped silently. The cause? Manifests were using batch/v1beta1 that had been retired. The error only appeared in the controller manager log, not in kubectl get cronjob.

Check your API versions before upgrading (see the official Kubernetes deprecation guide):

// Not Java — these are the commands for API audit before upgrading

// 1. Check which deprecated APIs you currently use:
// kubectl get --raw /apis | jq '.groups[].versions[].groupVersion'

// 2. List all resources with a specific API version:
// kubectl get cronjobs --all-namespaces -o json | jq '.items[].apiVersion'

// 3. Official audit tool: Pluto
// pluto detect-all-in-cluster

// Sample pluto output:
// NAME                    KIND       VERSION        REPLACEMENT
// daily-report            CronJob    batch/v1beta1  batch/v1
// weekly-report           CronJob    batch/v1beta1  batch/v1

The fix is straightforward: update your YAML manifests from batch/v1beta1 to batch/v1 (available since K8s 1.21) before upgrading the cluster.

// Correct CronJob manifest for K8s 1.36
// File: kubernetes/daily-report.yaml

/*
apiVersion: batch/v1           ← CORRECT for K8s 1.36+
kind: CronJob
metadata:
  name: daily-report
  namespace: production
spec:
  schedule: "0 6 * * *"
  jobTemplate:
    spec:
      template:
        spec:
          containers:
          - name: report
            image: my-app/report:1.5.0
            command: ["/app/generate-report.sh"]
            env:
            - name: SPRING_PROFILES_ACTIVE
              value: "production"
          restartPolicy: OnFailure
*/

// WRONG for K8s 1.36 (will be rejected by apiserver):
// apiVersion: batch/v1beta1  ← REMOVED in 1.36

What was added in 1.36 that makes the upgrade worthwhile

Now that we have covered the risks, it is worth understanding why upgrading matters beyond just staying on a supported version. Kubernetes 1.36 brings three features that directly affect Java teams.

User Namespaces stable (security grade for Java containers): This feature allows your Java containers to run as root internally without being root on the host. In practice, you can run the JVM with the permissions it needs inside the container, while real isolation happens at the host kernel level. This eliminates workarounds with securityContext.runAsNonRoot in legacy apps that expect to run as root.

// Pod manifest with User Namespaces enabled (K8s 1.36 stable)
// JVM runs as UID 0 inside the container
// but maps to an unprivileged UID on the host

/*
apiVersion: v1
kind: Pod
spec:
  hostUsers: false   ← enables User Namespaces
  containers:
  - name: java-api
    image: my-api:2.0
    securityContext:
      runAsUser: 0    ← root in container, unprivileged on host
*/

Mutating Admission Policies in GA: Before 1.36, injecting environment variables or modifying manifests automatically required a custom admission webhook. With Mutating Admission Policies, you do this via declarative K8s configuration, without maintaining a webhook server. For Java teams using APM agents (Dynatrace, Datadog), this greatly simplifies operations.

In-place resize of EBS PersistentVolumes (alpha): If your Java microservices use EBS volumes for temporary files, logs, or batch processing data, you can now resize without recreating the pod. Still alpha in 1.36, but the direction is clear.

Complete checklist before upgrading to Kubernetes 1.36

Here is the checklist I use with Java teams before any Kubernetes upgrade in production:

// Upgrade checklist — Kubernetes 1.36
// Run each check before upgrading the production cluster

// 1. CHECK KUBE-PROXY MODE
// kubectl get configmap kube-proxy -n kube-system -o yaml | grep mode
// If "ipvs": migrate to "iptables" before upgrading

// 2. AUDIT DEPRECATED APIs
// pluto detect-all-in-cluster --target-versions k8s=v1.36.0
// Fix all manifests with old API versions before proceeding

// 3. CHECK HELM CHART COMPATIBILITY
// helm list --all-namespaces
// Check if Spring Boot charts use deprecated APIs
// Update charts to 1.36-compatible versions

// 4. TEST IN ISOLATED NAMESPACE
// kubectl create namespace k8s-136-test
// Apply all manifests in the test namespace first
// Validate all Deployments, Services and CronJobs work

// 5. CANARY UPGRADE
// Upgrade 1 node first (if managed: via node group)
// Wait 15 minutes before upgrading the rest
// Monitor error metrics (HTTP 5xx, latency, pod restarts)

Frequently Asked Questions about Kubernetes 1.36 and Java

Does Kubernetes 1.36 break Spring Boot directly?
Not directly. Spring Boot runs inside the container and does not interact with the Kubernetes API in normal production usage. The impact comes from the IPVS removal (Service resolution may fail) and deprecated APIs (manifests rejected by the apiserver). Spring Boot apps not in these situations are not affected.

Do I need to upgrade now or can I wait?
Kubernetes maintains active support for the last three minor versions. If you still run 1.33 or 1.34, you have time. But 1.32 and below will lose support in the coming months. Planning the upgrade now, when there is time for testing, is better than doing it under end-of-support pressure.

How does EKS manage the upgrade to 1.36?
AWS typically releases support for new K8s versions 1-2 months after the upstream release. For 1.36 (released in April 2026), expect availability in EKS between June and July 2026. AWS sends a notification in the console when the version becomes available. The control plane upgrade goes first, then node groups.

Does User Namespaces work with existing Java containers without changes?
Yes, but it requires hostUsers: false in the Pod spec. The JVM does not need any changes. The change is only in the manifest. The behavior of the Java app inside the container does not change.

Do Mutating Admission Policies replace my current admission webhook?
For simple mutation cases (inject environment variable, add label), yes. For complex logic with external calls, the custom webhook is still necessary. 1.36 did not deprecate existing webhooks.

Conclusion: the safe upgrade is the planned upgrade

Kubernetes 1.36 is a solid release with real security and operational improvements. The 70 enhancements include important work for Java teams: stable User Namespaces for real container isolation, Mutating Admission Policies that simplify configuration injection, and the beginning of the path to dynamic EBS volume resizing.

But as with any infrastructure upgrade, the risk is not in what was added. It is in what was removed without anyone on the team checking the manifests or the kube-proxy configuration.

The three takeaways from this article:

  • Check the kube-proxy mode before upgrading. If it is IPVS, migrate to iptables first.
  • Audit deprecated APIs with Pluto before any upgrade. CronJobs on batch/v1beta1 stop silently.
  • Do a canary upgrade: 1 node for 15 minutes before upgrading the entire cluster.

Have you already upgraded to Kubernetes 1.35 or are you planning to go straight to 1.36? Does your cluster use IPVS? Share in the comments how version management is going for your K8s team.

Next week I will go deep on User Namespaces: how to configure correctly for legacy Java apps that need specific permissions inside the container without compromising host security.