Skip to content

Update types.go to fix resizePolicy documentation for ephemeral conta… #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

SumangalChhetri
Copy link
Owner

What type of PR is this?
/kind documentation

What this PR does / why we need it:
This PR fixes the incorrect API documentation for the resizePolicy field in the EphemeralContainer struct. It clarifies that the resizePolicy field does not apply to ephemeral containers because they do not support resource requests or limits. These changes ensure accuracy and reduce confusion for Kubernetes users.

Which issue(s) this PR fixes:
Fixes kubernetes#128384

Special notes for your reviewer:
Changes were made to the staging/src/k8s.io/api/core/v1/types.go file.
Comments were added to clarify the limitations of the resizePolicy field for ephemeral containers.
Does this PR introduce a user-facing change?

NONE
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

NONE

…iners

What type of PR is this?
/kind documentation

What this PR does / why we need it:
This PR fixes the incorrect API documentation for the resizePolicy field in the EphemeralContainer struct. It clarifies that the resizePolicy field does not apply to ephemeral containers because they do not support resource requests or limits. These changes ensure accuracy and reduce confusion for Kubernetes users.

Which issue(s) this PR fixes:
Fixes kubernetes#128384

Special notes for your reviewer:
Changes were made to the staging/src/k8s.io/api/core/v1/types.go file.
Comments were added to clarify the limitations of the resizePolicy field for ephemeral containers.
Does this PR introduce a user-facing change?

NONE
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

NONE
@SumangalChhetri SumangalChhetri merged commit 0b2b20e into master Jan 23, 2025
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.

API documentation incorrectly states that resizePolicy can be set to ephemeral containers
1 participant