-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
None
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
This is very confusing:
tus: Conditions: Last Transition Time: 2026-01-16T09:26:47Z Message: Success Status: True Type: Success Last Transition Time: 2026-01-16T09:31:57Z Message: Error: KubeletConfiguration: swapBehavior is not allowed to be set, but contains: LimitedSwap Status: False Type: Failure Observed Generation: 4 Events: <none>
There is both Success and Failure reported in this case. Based on the time stamp, the user can find which is the latest, but its still confusing
Steps to reproduce:
- Create and apply a valid kubeletconfig
- Create an invalid kubeletconfig and apply
apiVersion: machineconfiguration.openshift.io/v1
kind: KubeletConfig
metadata:
name: 80-custom
spec:
machineConfigPoolSelector:
matchLabels:
pools.operator.machineconfiguration.openshift.io/worker: "" kubeletConfig:
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
memorySwap:
swapBehavior: LimitedSwap
Identified while working on https://github.com/openshift/machine-config-operator/pull/5542