How to run a Kubernetes job exactly once -


i have job restartpolicy: never , completions , parallelism = 1. spec says: note if specify .spec.parallelism = 1 , .spec.completions = 1 , .spec.template.spec.restartpolicy = "never", same program may started twice.

can explain why this? , maybe offer solution k8s guys did not think about? :d

i think reason why

the same program may started twice.

is because of provided consistency guarantees. in distributed environments, guaranteeing various levels of strictness comes performance trade-off. might wrong, that’s guess.


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -