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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -