Closed Laxman-SM closed 6 years ago
Also remove kubectl create that mentioned twice in below command.
presents
kubectl create -f kubectl create -f https://raw.githubusercontent.com/kubernetes/kubernetes.github.io/master/docs/concepts/workloads/controllers/job.yaml
After kubectl create -f https://raw.githubusercontent.com/kubernetes/kubernetes.github.io/master/docs/concepts/workloads/controllers/job.yaml
HI,
i am using 1.7.5 version.
.spec.backoffLimit
was added only in 1.8
Could you try to fetch that failing manifest, remove this field and try again?
do you still have a problem with it?
Hi,
Sorry for delayed reply i will check and let you if in few days.
From: Sergey Nuzhdin notifications@github.com Sent: Friday, December 29, 2017 5:59:59 PM To: lwolf/kube-cleanup-operator Cc: Laxman Singh; Author Subject: Re: [lwolf/kube-cleanup-operator] validation error (#3)
do you still have a problem with it?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/lwolf/kube-cleanup-operator/issues/3#issuecomment-354440301, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKHFnl7p7PmvrSO_p-3CSOHX9aHam9TIks5tFNtHgaJpZM4QKxa3.
Hi,
That working fine after removal of mentioned field.
From: Laxman Singh Rathore laxmansingh_m@hotmail.com Sent: Monday, January 1, 2018 12:12:35 PM To: lwolf/kube-cleanup-operator Subject: Re: [lwolf/kube-cleanup-operator] validation error (#3)
Hi,
Sorry for delayed reply i will check and let you if in few days.
From: Sergey Nuzhdin notifications@github.com Sent: Friday, December 29, 2017 5:59:59 PM To: lwolf/kube-cleanup-operator Cc: Laxman Singh; Author Subject: Re: [lwolf/kube-cleanup-operator] validation error (#3)
do you still have a problem with it?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/lwolf/kube-cleanup-operator/issues/3#issuecomment-354440301, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKHFnl7p7PmvrSO_p-3CSOHX9aHam9TIks5tFNtHgaJpZM4QKxa3.
great, closing now
MacBook-Pro:kube-cleanup-operator itru$ kubectl create -f https://raw.githubusercontent.com/kubernetes/kubernetes.github.io/master/docs/concepts/workloads/controllers/job.yaml error: error validating "https://raw.githubusercontent.com/kubernetes/kubernetes.github.io/master/docs/concepts/workloads/controllers/job.yaml": error validating data: found invalid field backoffLimit for v1.JobSpec; if you choose to ignore these errors, turn validation off with --validate=false
after turning off this creating job successfully kubectl create -f https://raw.githubusercontent.com/kubernetes/kubernetes.github.io/master/docs/concepts/workloads/controllers/job.yaml --validate=false job "pi" created