website icon indicating copy to clipboard operation
website copied to clipboard

Mention `failedJobsHistoryLimit` and `successfulJobsHistoryLimit` in CronJob concept page

Open phiroict opened this issue 3 years ago • 10 comments

Does not describe the fields failedJobsHistoryLimit and successfulJobsHistoryLimit, please add a list of all fields the spec can have, preferable with examples of use and format.

phiroict avatar Jan 05 '23 01:01 phiroict

/triage accepted /kind feature

tengqm avatar Jan 05 '23 03:01 tengqm

/retitle Mention failedJobsHistoryLimit and successfulJobsHistoryLimit in CronJob concept page

https://k8s.io/docs/concepts/workloads/controllers/cron-jobs/ does link to https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/ which includes an explanation of these fields.

/priority backlog /sig apps

sftim avatar Jan 05 '23 17:01 sftim

/language en

sftim avatar Jan 05 '23 17:01 sftim

Hmm, does not make sense to have these fields described by having to follow global doc link at the footer of the document. The exhaustive list of fields should be shown in the main page and for more information clearly linked to a detail page if needed. For starting users this is not clear and I can imagine for somebody not in the known you can only find this through the StackOverflow route. It also now fails to explain the possibilities of the definition as a person not aware of these fields is not informed of them as they would not know to look for them. Not a great Documentation Experience this way.

phiroict avatar Jan 05 '23 20:01 phiroict

This issue is ready for a volunteer to work on it. Would anyone like to help out?

sftim avatar Aug 01 '23 23:08 sftim

Does not describe the fields failedJobsHistoryLimit and successfulJobsHistoryLimit

Let's add that


Please add a list of all fields the spec can have, preferable with examples of use and format.

This issue is now not about listing all the fields; for that, we already have https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/ (and that's why I changed the title of the issue)

sftim avatar Aug 01 '23 23:08 sftim

There is a brief description of those fields in the document: https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#jobs-history-limits

@sftim, are you asking for additional details? There isn't a lot more to say about them other than maybe rephrase it so it is more clear?

mrgiles avatar Apr 11 '24 20:04 mrgiles

Rephrasing the page to be more clear would be a welcome improvement.

The exhaustive list of fields should be shown in the main page and for more information clearly linked to a detail page if needed.

Since this was filed, we've changed the page to link to the API reference from the right hand nav. We also have a long standing issue for fact sheets, so work on this issue does not need to add a fact sheet.

A brief tidy-up of the job history limit explanation would be fine to close this issue. @mrgiles if you're happy with the wording as-is, you are welcome to close the issue already.

sftim avatar Apr 12 '24 08:04 sftim

/assign

mrgiles avatar Apr 12 '24 16:04 mrgiles

Thanks @sftim, see if you like the wording in the PR

mrgiles avatar Apr 12 '24 16:04 mrgiles