Skip to content

Fix #6508: Add resource request/limit support for init and sidecar containers#6721

Open
641-git641 wants to merge 1 commit into
apache:mainfrom
641-git641:feature/6508-init-container-resources
Open

Fix #6508: Add resource request/limit support for init and sidecar containers#6721
641-git641 wants to merge 1 commit into
apache:mainfrom
641-git641:feature/6508-init-container-resources

Conversation

@641-git641

Copy link
Copy Markdown

The existing positional format (name;image;command) continues to work unchanged.

Changes

containerTask struct: added 4 new fields
parseSingleTask(): parses key=value resource keys with resource.ParseQuantity validation
configureContainers(): sets corev1.ResourceRequirements when resource fields are present
6 new unit tests covering full resources, partial resources, invalid values, end-to-end apply, and backward compatibility

Fixes #6508

AI Generated with Claude Code on behalf of 641-git641

…car containers

Co-Authored-By: Claude Code on behalf of 641-git641
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow specifying CPU/Memory resources for Init and Sidecar Containers

1 participant