Proper Job fields via the REST API
Closed this issue · 1 comments
namliz commented
So for historical reference, in your JSON:
"spec": { "autoSelector": true, .. }
And also you at the top you must:
"apiVersion": "extensions/v1beta1"
namliz commented
Your YAML would look like:
apiVersion: extensions/v1beta1
kind: Job
metadata:
name: mng
spec:
autoSelector: true
Write in YAML and generate the json.