Closed sluetze closed 1 month ago
I think it is hard to check this, as we need to look into the .status field of each pod. Moreover, the result will be highly dependent on the time, when it is checked (e.g. shortly after a regular cluster reboot it will pass, but a day later it will fail).
I also do not think it is a good way to check this on a pod basis. We could check
LifecycleAndUtilization
profile is active (which defaults to restart pods after 24h)Agreed, checking on pod basis doesn't make sense.
I cannot find any rule for the descheduler or the specific policy, which means we have to create one.
https://github.com/ComplianceAsCode/content/pull/11997 was merged, closing
Possible ways to check: