Document URL: https://docs.openshift.com/container-platform/3.4/admin_guide/pruning_resources.html Section Number and Name: Cluster Administration Pruning Objects 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 [0][1][2] appears to use the time package [3] 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. [0] https://github.com/openshift/origin/blob/a5f7000a7f3ce3f0832d9dcf8eb58073d6eb84c7/pkg/cmd/admin/prune/images.go [1] https://github.com/openshift/origin/blob/a5f7000a7f3ce3f0832d9dcf8eb58073d6eb84c7/pkg/cmd/admin/prune/deployments.go [2] https://github.com/openshift/origin/blob/a5f7000a7f3ce3f0832d9dcf8eb58073d6eb84c7/pkg/cmd/admin/prune/builds.go [3] https://golang.org/pkg/time/#Duration
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 https://github.com/openshift/openshift-docs/commit/df177f919d2e770f7ccb404eaab0c85c76784f84 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
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days