Skip to content

Clarify what maxSkew does with whenUnsatisfiable: ScheduleAnyway#56532

Open
emmayusufu wants to merge 1 commit into
kubernetes:mainfrom
emmayusufu:docs/clarify-maxskew-scheduleanyway
Open

Clarify what maxSkew does with whenUnsatisfiable: ScheduleAnyway#56532
emmayusufu wants to merge 1 commit into
kubernetes:mainfrom
emmayusufu:docs/clarify-maxskew-scheduleanyway

Conversation

@emmayusufu

Copy link
Copy Markdown
Contributor

The maxSkew section says its semantics differ by whenUnsatisfiable, but only explains the DoNotSchedule case. This adds what happens with ScheduleAnyway: maxSkew is not enforced there, it only tunes how strongly the scheduler prefers lower skew when scoring nodes (see scoreForCount in pkg/scheduler/framework/plugins/podtopologyspread/scoring.go, where the maxSkew-1 term waters down score differences between domains).

Fixes #56452

@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign tengqm for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubernetes-prow
kubernetes-prow Bot requested review from katcosgrove and tengqm July 18, 2026 09:56
@kubernetes-prow kubernetes-prow Bot added language/en Issues or PRs related to English language cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 18, 2026
@netlify

netlify Bot commented Jul 18, 2026

Copy link
Copy Markdown

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 8f2e87a
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-io-main-staging/deploys/6a5b4de4fa146f0008eea19d
😎 Deploy Preview https://deploy-preview-56532--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation Clarification for maxSkew + ScheduleAnyway on k8s.io/docs/concepts/scheduling-eviction/topology-spread-constraints/

1 participant