Document URL: https://docs.openshift.com/container-platform/4.4/applications/pruning-objects.html#pruning-images_pruning-objects Section Number and Name: Describe the issue: Due to this bug https://bugzilla.redhat.com/show_bug.cgi?id=1835004, "keepYoungerThan" is deprecated, "keepYoungerThanDuration" is the new one. When they are both defined, keepYoungerThanDuration will take effect. Suggestions for improvement: Additional information:
It's better to completely remove keepYoungerThan from documentation,we can just mention that this field "keepYoungerThan" exists but shouldn't be used, it should be replaced by option "keepYoungerThanDuration".
Note, in 4.4 we have only keepYoungerThan in integer nanoseconds (the documentation needs to be updated, it cannot be 60m, it should be 3600000000000). In 4.5 we have both keepYoungerThan (nanoseconds) and keepYoungerThanDuration (string, for example: 60m or 1h). keepYoungerThanDuration, when it's set, takes precedence over keepYoungerThan. keepYoungerThan shouldn't be used by new clusters.
The following bug is already released: https://bugzilla.redhat.com/show_bug.cgi?id=1835004 Please update the documentation, otherwise customers are creating new cases due to incorrect parameter in official docs.
https://github.com/openshift/openshift-docs/pull/23824
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days