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

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

Command prompt result in label. Python 2.7 -