Red Hat Bugzilla – Bug 1475371
[DOCS] Measurement units for the keep younger than variable for prune
Last modified: 2017-09-11 10:23:14 EDT
Section Number and Name:
Describe the issue:
All three of the objects that we describe the ability to prune for include the variable --keep-younger-than but none of them mention the valid settings, only stating that the default is 60m
Suggestions for improvement:
Include the valid units of measurement for this variable
I would like to get total confirmation from someone in engineering on this but based on the fact that the code  appears to use the time package  which only accepts Nanoseconds (ns), Microseconds (us), Milliseconds (ms), Seconds (s), Minutes (m), and Hours (h), it would appear very likely that those are the valid units of measurement for this variable.
Work in progress: https://github.com/openshift/openshift-docs/pull/5041
verified the change!
Commit pushed to master at https://github.com/openshift/openshift-docs
Merge pull request #5041 from ahardin-rh/keep-younger-than
Bug 1475371, Added valid units of measurement for --keep-younger-than
Content is published: https://access.redhat.com/documentation/en-us/openshift_container_platform/3.6/html/cluster_administration/admin-guide-pruning-resources