Welcome to the Linux Foundation Forum!

Lesson Design Lab 4.3 page 2 contains an error

m.ramah
m.ramah Posts: 9
edited 7:55PM in LFD259 Class Forum

https://trainingportal.linuxfoundation.org/learn/course/kubernetes-for-developers-lfd259/design/lab-exercises?page=3

This example asks the user to add the activeDeadlineSeconds field to the spec of the pod that is created by the job. This is wrong. It should be added to the spec of the job template itself. So right above template:. Trying to run the current example gives the following error:

Error from server (BadRequest): error when creating "cronjob.yaml": CronJob in version "v1" cannot be handled as a CronJob: strict decoding error: unknown field "spec.jobTemplate.spec.template.activeDeadlineSeconds"

Categories

Upcoming Training