Skip to content
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

Add cpu management policy config #5961

Merged
merged 4 commits into from
Mar 29, 2019
Merged

Conversation

lynchc
Copy link
Contributor

@lynchc lynchc commented Oct 18, 2018

This adds the --cpu-manager-policy to the kubelet config

@k8s-ci-robot
Copy link
Contributor

Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA.

It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.


Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. label Oct 18, 2018
@k8s-ci-robot
Copy link
Contributor

Hi @lynchc. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 18, 2018
@lynchc
Copy link
Contributor Author

lynchc commented Oct 18, 2018

CLA Signed

@chrisz100
Copy link
Contributor

/check-cla

Please ensure you signed the cla with the email address used for your commits.

@lynchc
Copy link
Contributor Author

lynchc commented Oct 22, 2018

confirmed. same email as gh primary. verified login to linux foundation. Also just added gh as a social network link on that account.

@chrisz100
Copy link
Contributor

The engine matches against the email in the actual commit - so what you configured your git client to.

/check-cla

@lynchc
Copy link
Contributor Author

lynchc commented Oct 22, 2018

same email in my .gitconfig. I can paste screenshots of everything matching if you want

@blakebarnett
Copy link

Is it because the domain doesn't match the company CLA domain?

@chrisz100
Copy link
Contributor

As it's public domain - the CLA needs to be signed with the gmail address from imissmymind259 - I don't know if you already did that or what email you used. Just that the verifier doesn't find you for that email and before that's done we can't proceed in the process here I'm afraid.

@lynchc
Copy link
Contributor Author

lynchc commented Oct 22, 2018

cla

@chrisz100
Copy link
Contributor

@justinsb any other idea?

@lynchc
Copy link
Contributor Author

lynchc commented Nov 12, 2018

bumping on this. Anything I can do to get this moving / further verify the CLA?

@mikesplain
Copy link
Contributor

@lynchc can you submit a ticket with the CNCF? helpdesk@rt.linuxfoundation.org from the message above.

@justinsb
Copy link
Member

justinsb commented Nov 18, 2018

/ok-to-test

Checked the individual commits and they all have the same email, which is often the case. Hoping it is related to ok-to-test.

Also reopened the tracking issue kubernetes/kubernetes#27796

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 18, 2018
@justinsb justinsb added this to the 1.11 milestone Nov 18, 2018
@justinsb
Copy link
Member

Really sorry about the CLA bot here - we can try asking the helpdesk, but it sounds like we are replacing the CLA bot entirely with something open source, so hopefully then we'll be able to see and fix these problems.

I'm afraid I'm going to have to move this to 1.12, but if the CLA bot wakes up then we can likely put it into 1.11, as mapping a field is very low risk (and given the circumstances)

@justinsb justinsb modified the milestones: 1.11, 1.12 Nov 24, 2018
@hipyhop
Copy link

hipyhop commented Dec 10, 2018

EDIT: Nevermind. I've just realised this change needs to be built into nodeup too.

I've just tested this and the --cpu-manager-policy=static flag is not being set in the kubelet args.
I don't see it included in /etc/sysconfig/kubelet

Is there anything else that needs adding other than the below snippet?

spec:
  kubelet:
    cpuManagerPolicy: static

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 28, 2019
@justinsb justinsb modified the milestones: 1.12, backlog Mar 18, 2019
@k8s-ci-robot k8s-ci-robot removed the cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. label Mar 29, 2019
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 29, 2019
@lynchc
Copy link
Contributor Author

lynchc commented Mar 29, 2019

I signed it

@chrisz100
Copy link
Contributor

Wow, cla stuff is resolved! Can you please rebase this? Thanks!

@lynchc
Copy link
Contributor Author

lynchc commented Mar 29, 2019

ya finally made it back to this. Filed a ticket and they got me squared away. rebase coming

This adds the --cpu-manager-policy to the kubelet config
apparently I can spell management correctly everywhere except here
changed from management to manager as it more closely ties to the
kubelet flag
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 29, 2019
Copy link
Contributor

@chrisz100 chrisz100 left a comment

Choose a reason for hiding this comment

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

It’s just something additional, would not regard this as a breaking change.

/lgtm
/approve

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chrisz100, lynchc

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:

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 added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 29, 2019
@lynchc
Copy link
Contributor Author

lynchc commented Mar 29, 2019

oh it looks like I left the old option and added the new name instead of replacing. let me remove that

@chrisz100
Copy link
Contributor

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 29, 2019
it looks like I had the right idea renaming it but I added another
option rather than replacing. this commit removes the old one
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Mar 29, 2019
@chrisz100
Copy link
Contributor

/hold cancel
/lgtm

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. and removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Mar 29, 2019
@lynchc
Copy link
Contributor Author

lynchc commented Mar 29, 2019

apologies for the mess. should be squared away now

@k8s-ci-robot k8s-ci-robot merged commit c9a966a into kubernetes:master Mar 29, 2019
k8s-ci-robot added a commit that referenced this pull request May 10, 2019
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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants