Skip to content

fix kube reserved #219

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

daimaxiaxie
Copy link
Contributor

@daimaxiaxie daimaxiaxie commented Apr 14, 2025

What type of PR is this?

/kind bug

What this PR does / why we need it:

Which issue(s) this PR fixes:

pending pod request 3c, ds pod request 500m

# nodeclaim
  - key: node.kubernetes.io/instance-type
    operator: In
    values:
    - ecs.c7.16xlarge
    - ecs.c7.2xlarge
    - ecs.c7.32xlarge
    - ecs.c7.3xlarge
    - ecs.c7.4xlarge
    - ecs.c7.6xlarge
    - ecs.c7.8xlarge
    - ecs.c7.xlarge
    - ecs.c7a.2xlarge
    - ecs.c7a.4xlarge
    - ecs.c7a.xlarge
    - ecs.g7.16xlarge
    - ecs.g7.2xlarge
    - ecs.g7.32xlarge
    - ecs.g7.3xlarge
    - ecs.g7.4xlarge
    - ecs.g7.6xlarge
    - ecs.g7.8xlarge
    - ecs.g7.xlarge
    - ecs.g7a.2xlarge
    - ecs.g7a.4xlarge
    - ecs.g7a.8xlarge
    - ecs.g7a.xlarge
  resources:
    requests:
      cpu: 3500m
      memory: 3572Mi
      pods: "2"
status:
  allocatable:
    cpu: 3920m
    ephemeral-storage: 80G
    memory: 5994Mi
    pods: "110"
  capacity:
    cpu: "4"
    ephemeral-storage: 80G
    memory: 5994Mi
    pods: "110"

but actual:

# node
Capacity:
  cpu:                          4
  ephemeral-storage:            82380724Ki
  hugepages-1Gi:                0
  hugepages-2Mi:                0
  mem-hard-eviction-threshold:  500Mi
  mem-soft-eviction-threshold:  1536Mi
  memory:                       7662516Ki
  pods:                         100
Allocatable:
  cpu:                3
  ephemeral-storage:  75922075113
  hugepages-1Gi:      0
  hugepages-2Mi:      0
  memory:             6101940Ki
  pods:               100

Special notes for your reviewer:

Does this PR introduce a user-facing change?


Copy link
Contributor

gitautomator bot commented Apr 14, 2025

Thanks to your contribution, the maintainers will review it as soon as they can!

Copy link
Contributor

gitautomator bot commented Apr 14, 2025

The release note is either empty or incomplete, please consider: Fixed an issue where the allocatable resources on a node did not match the actual capacity, leading to potential scheduling problems for pods with specific resource requests.

@gitautomator gitautomator bot added the bug Something isn't working label Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant