Open BBBmau opened 9 months ago
/sig docs
/language en
Hi @BBBmau
Thanks for highlighting this issue regarding the PodFailurePolicy
on CronJob
. I
t's indeed crucial for the documentation to accurately reflect the immutable nature of PodFailurePolicyRule
to avoid confusion.
I suggest bringing this to the attention of SIG Docs for the documentation update and possibly SIG Apps for any related API considerations. This will ensure clarity and accuracy in the Kubernetes documentation for all users.
/sig apps
/assign
hey @arujjval are you still willing to work on this issue?
as noted in this comment, https://github.com/kubernetes/website/pull/44977/files#r1474125105, This page is auto-generated from the upstream source code, any fixes would need to be addressed there. Please refer to the upstream contribution guidelines outlined at: https://kubernetes.io/docs/contribute/generate-ref-docs/contribute-upstream/, https://kubernetes.io/docs/contribute/generate-ref-docs/kubernetes-api/
/triage accepted /priority longterm-important
@a-mccarthy: The label(s) priority/longterm-important
cannot be applied, because the repository doesn't have them.
/priority-longterm-important
/priority important-longterm
To be more specific, this issue should be fixed here: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/api/batch/v1/types.go#L331-L342. Please consider close the issue here and raise a PR in the upstream project?
This is a Bug Report
Problem:
When applying a
PodFailurePolicy
on an already madeCronJob
, it returns a invalid value stating that thePodFailurePolicy
is an immutable field. This isn't brought up anywhere when checking the docs.Proposed Solution: Update docs so that
PodFailurePolicyRule
is an immutable field in CronJobsPage to Update: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.29/#podfailurepolicyrule-v1-batch