Back to news
security Priority 5/5 4/28/2026, 11:05:13 AM

Kubernetes v1.36 Introduces Beta Support for Mutable Pod Resources in Suspended Jobs

Kubernetes v1.36 Introduces Beta Support for Mutable Pod Resources in Suspended Jobs

Kubernetes v1.36 officially promotes the capability to modify container resource requests and limits for suspended Jobs to beta status. This feature was originally introduced as alpha in version 1.35 and addresses a significant limitation where Job specifications were largely immutable once created. By allowing these changes while a Job is suspended, queue controllers and cluster administrators can dynamically optimize resource allocation based on current cluster availability without needing to recreate the Job object. The primary operational benefit lies in the flexibility it provides to batch processing systems and custom controllers. Instead of deleting and recreating Jobs when resource requirements change or cluster constraints shift, users can simply suspend the Job, update the pod template resources, and then resume execution. This reduces API overhead and simplifies the logic required for sophisticated scheduling workflows and queue management systems. Administrators should evaluate how this change impacts existing admission controllers or monitoring tools that assume Job templates remain static throughout their lifecycle. While the feature is now in beta and enabled by default, it is recommended to test the update in a staging environment. This ensures that custom resource management policies correctly handle the transition from suspended to active states when parameters have been modified.

Related tools

Recommended tools for this topic

These picks prioritize high-intent tools relevant to this topic. Some links may include partner or affiliate tracking.

#kubernetes#devops#cloud#official

Comparison

AspectBefore / AlternativeAfter / This
Job Template MutabilityResources were immutable once the Job was createdResources can be modified while the Job is suspended
Resource AdjustmentRequires deleting and recreating the Job objectDirect update to requests and limits in the template
Scheduling OverheadHigher due to object deletion and recreation cyclesLower via simple patch updates on existing objects
Controller LogicMust handle state loss during Job recreationMaintains Job identity while tuning resources

Action Checklist

  1. Confirm Kubernetes cluster version is upgraded to v1.36 Beta features are typically enabled by default in this version
  2. Identify batch workloads requiring dynamic resource tuning Focus on long-running jobs or those managed by queue controllers
  3. Suspend the Job target before attempting resource updates Mutations are only permitted when the .spec.suspend field is true
  4. Update container requests and limits in the pod template Validate that new values align with namespace quotas
  5. Resume the Job to apply the updated configuration Set .spec.suspend back to false to trigger pod creation

Source: Kubernetes Blog

This page summarizes the original source. Check the source for full details.

Related