CRD with 8 thousand lines? #2450
-
Hey folks, just a dumb question Why the CRD generated by CronJob tutorial has almost 8 thousand lines(here)? Shouldn't it just contain cronjob-related stuff? thx in advance |
Beta Was this translation helpful? Give feedback.
Answered by
mogsie
Feb 3, 2022
Replies: 2 comments 1 reply
-
It's this big because it embeds a PodSpec — the job to run. PodSpecs are the bread'n'butter of Kubernetes, and it is common to include a "pod template" in resource types that define workloads. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rodrigoscferraz
-
Closing since it is answered. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's this big because it embeds a PodSpec — the job to run. PodSpecs are the bread'n'butter of Kubernetes, and it is common to include a "pod template" in resource types that define workloads.