[Master] Add SYSTEM_RESERVED_ES value to node sizing env#618
[Master] Add SYSTEM_RESERVED_ES value to node sizing env#618praveenkumar merged 1 commit intocrc-org:masterfrom
SYSTEM_RESERVED_ES value to node sizing env#618Conversation
|
openshift/machine-config-operator#3381 this change is now part of 4.11 also. |
Have you experienced the failure no 4.11? Or only noticed that this was cherry-picked? Can you add this comment to the commit log? |
Looks like in case of 4.12 setting `SYSTEM_RESERVED_ES` is mandatory, otherwise kubelet start with `--system-reserved=cpu=200m,memory=350Mi,ephemeral-storage=` and failed with error. ``` command failed" err="failed to run Kubelet: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP][-+]?[0-9])$'" ``` This will fix https://issues.redhat.com/browse/OCPBUGS-3758 from crc side. MCO change: openshift/machine-config-operator@28f062b For release-4.11: openshift/machine-config-operator#3381
c76e790 to
b81bb71
Compare
|
New changes are detected. LGTM label has been removed. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
@cfergeau Yes, I have experienced a failure for 4.11 and then cherry picked. |
|
I wonder if we should look into using https://github.com/openshift/machine-config-operator/blob/cbd7d9514d6a03c84192058edae7a6ff4f9d6941/pkg/controller/kubelet-config/helpers.go#L435-L480 The end result seems similar to what we want, but there is a fallback when SYSTEM_RESERVED_ES is not specified. Probably more future-proof than the approach we are taking right now. |
Looks like in case of 4.12 setting
SYSTEM_RESERVED_ESis mandatory, otherwise kubelet start with--system-reserved=cpu=200m,memory=350Mi,ephemeral-storage=and failed with error.This will fix https://issues.redhat.com/browse/OCPBUGS-3758 from crc side.
MCO change: openshift/machine-config-operator@28f062b