-
Notifications
You must be signed in to change notification settings - Fork 465
OCPBUGS-2079: Add ephemeral storage to kubelet system reserved args #3375
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
Conversation
Signed-off-by: Harshal Patil <harpatil@redhat.com>
|
@harche: This pull request references Jira Issue OCPBUGS-2079, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
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. |
|
/cc @rphillips @QiWang19 |
|
/jira refresh |
|
@harche: This pull request references Jira Issue OCPBUGS-2079, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (schoudha@redhat.com), skipping review request. DetailsIn response to this:
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. |
QiWang19
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
/retest-required |
|
@harche: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
/lgtm |
|
/assign @yuqi-zhang |
yuqi-zhang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. I believe the function is used for both bootstrap and in-cluster, so we should be covered there, but out of curiosity, did you test bootstrapping with this kubeletconfig?
I launched a cluster using cluster-bot with this PR, and the functionality worked out of box in that case. |
Right, I meant launch a PR with a user-provided kubeletconfig as part of the bootstrap manifests that sets ephemeral storage, which I didn't know you could do via cluster-bot, but I could just be completely out of date |
Oh ok, got you now. Let me test it that way. Thanks. |
|
Strange, I approved the PR but the approved label never applied. Let me know how that goes, and I'll try again tomorrow |
@yuqi-zhang I tested in the bootstrap mode but it seems all values of system reserved (i.e. cpu, memory, ephemeral storage) are dropped. We will have to re-test the changes from #2547 I used following KubeletConfig to drop in manifest folder, apiVersion: machineconfiguration.openshift.io/v1
kind: KubeletConfig
metadata:
name: system-reserved-config2
spec:
machineConfigPoolSelector:
matchLabels:
pools.operator.machineconfiguration.openshift.io/worker: ""
kubeletConfig:
systemReserved:
cpu: 500m
memory: 500Mi
ephemeral-storage: 15GiThe kubelet came up with all default values for memory,cpu, ephemeral storage, The expected values were (without the change in this PR the value for ephemeral storage won't change anyway), I have created a separate bug to track this issue with bootstrap mode and system reserved, https://issues.redhat.com/browse/OCPBUGS-2634 |
|
Hold on, I might have made some silly mistake while testing. I will retest and report back here. |
|
By mistake I used the wrong cluster for testing. I re-ran the tests using the proper cluster and it seems to be working fine. Sorry for the noise. The value of the ephemeral storage in system reserved was correctly applied in kubelet args (in bootstrap mode), cc @yuqi-zhang |
|
ack, thanks for the additional testing! /approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: harche, rphillips, yuqi-zhang The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@harche: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-2079 has been moved to the MODIFIED state. DetailsIn response to this:
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. |
|
/cherry-pick release-4.11 |
|
@harche: new pull request created: #3381 DetailsIn response to this:
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. |
Signed-off-by: Harshal Patil harpatil@redhat.com
Fixes: https://issues.redhat.com/browse/OCPBUGS-2079
- What I did
Add missing ephemeral storage value to system reserved arg of the kubelet
- How to verify it
Log into the node, and verify that kubelet process has started with the system reserved arg that has ephemeral storage
- Description for the changelog