Bug 1891460
Summary: | set invalid value for evictionHard and evictionSoft parameters in kubeletconfig should prompt error | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | MinLi <minmli> |
Component: | Node | Assignee: | Harshal Patil <harpatil> |
Node sub component: | Kubelet | QA Contact: | MinLi <minmli> |
Status: | CLOSED WONTFIX | Docs Contact: | |
Severity: | medium | ||
Priority: | unspecified | CC: | aos-bugs, harpatil, jokerman, tsweeney |
Version: | 4.7 | Keywords: | UpcomingSprint |
Target Milestone: | --- | ||
Target Release: | 4.8.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-01-28 03:48:39 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
MinLi
2020-10-26 10:55:58 UTC
I also tried other invalid values including negative, non-digital, and value greater than memory capacity, and lead to the same problem. reproduce on version: 4.7.0-0.nightly-2020-11-09-235738 Hi, Harshal Patil non-digital value means string, such as "&#jk789", "89hu*7.8", I think they are also invalid value. not fixed in version 4.7.0-0.nightly-2021-01-10-070949, I found a few errors as below: 1) kubelet think "imagefs.inodesFree" is unknown resource defined in evictionHard spec: kubeletConfig: evictionHard: imagefs.available: 20Gi imagefs.inodesFree: 5% memory.available: 0Mi nodefs.available: 5% nodefs.inodesFree: 4% evictionPressureTransitionPeriod: 5s imageGCHighThresholdPercent: 80 imageGCLowThresholdPercent: 75 imageMinimumGCAge: 5m maxPods: 240 podsPerCore: 80 machineConfigPoolSelector: matchLabels: custom-kubelet: small-pods status: conditions: - lastTransitionTime: "2021-01-12T07:05:34Z" message: 'Error: KubeletConfiguration: unknown resource imagefs.inodesFree defined in evictionHard' status: "False" type: Failure 2) it should prompt "imagefs.available" invalid , not "nodefs.available" spec: kubeletConfig: evictionHard: imagefs.available: '*asd9Gi' memory.available: 300Mi nodefs.available: 5% nodefs.inodesFree: 4% evictionPressureTransitionPeriod: 5s imageGCHighThresholdPercent: 80 imageGCLowThresholdPercent: 75 imageMinimumGCAge: 5m maxPods: 240 podsPerCore: 80 machineConfigPoolSelector: matchLabels: custom-kubelet: small-pods status: conditions: - lastTransitionTime: "2021-01-12T07:18:44Z" message: 'Error: KubeletConfiguration: invalid value specified for nodefs.available reservation in evictionHard, 5%' status: "False" type: Failure 3)it should prompt "nodefs.inodesFree: 0%" invalid , not "nodefs.available: 5%" spec: kubeletConfig: evictionHard: imagefs.available: 9Gi memory.available: 300Mi nodefs.available: 5% nodefs.inodesFree: 0% evictionPressureTransitionPeriod: 5s imageGCHighThresholdPercent: 80 imageGCLowThresholdPercent: 75 imageMinimumGCAge: 5m maxPods: 240 podsPerCore: 80 machineConfigPoolSelector: matchLabels: custom-kubelet: small-pods status: conditions: - lastTransitionTime: "2021-01-12T07:21:54Z" message: 'Error: KubeletConfiguration: invalid value specified for nodefs.available reservation in evictionHard, 5%' status: "False" type: Failure Also the evictionSoft has the similar issue. |