mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 04:54:54 +00:00
- Add feature gate to control mutable pod resources for suspended jobs - Implement validatePodResourceUpdatesOnly function to allow only container resource updates - Allow resource updates for suspended jobs regardless of whether they have started - Add comprehensive unit and integration tests for all scenarios including started-then-suspended - Ensure backward compatibility when feature gate is disabled This enables users to update container resources on suspended jobs, including jobs that have previously started and been suspended, while maintaining immutability for all other pod template fields.