Skip to content

Conversation

@andyxning
Copy link
Member

@andyxning andyxning commented Dec 25, 2018

Fix #240

The requests and limits are only references. They have no requirements. End users can adjust this themselves.

/cc @Random-Liu @wangzhen127

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 25, 2018
Copy link
Member

@wangzhen127 wangzhen127 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: can you fix the PR title: s/ad/add

memory: 100Mi
requests:
cpu: 300m
memory: 100Mi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested v0.6.0 that the resource consumption is:

  • CPU: 2m
  • MEM: 30Mi

Maybe we should lower the numbers to something smaller, like cpu 10m and memory 50Mi to better reflect the resource consumption of NPD? WDYT?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to your test, it should be ok to run NPD with cpu 10m. I suggest we add more memory to avoid OOM. @wangzhen127

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finanlly, cpu requests/limits is 10m, memory requests/limits is 80Mi.

@andyxning andyxning changed the title ad resource add resource Dec 26, 2018
@wangzhen127
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 26, 2018
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 27, 2018
@andyxning
Copy link
Member Author

@wangzhen127 Rebased. PTAL.

@wangzhen127
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 27, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andyxning, wangzhen127

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

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [andyxning,wangzhen127]

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

@k8s-ci-robot k8s-ci-robot merged commit 53ee78d into kubernetes:master Dec 27, 2018
@andyxning andyxning deleted the add_resource branch December 27, 2018 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. 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.

3 participants