amazon ecs - AWS ECS essential container equivalent in kubernetes -


we scheduling atlassian bamboo jobs ecs , looking doing same on kubernetes. have bamboo agent container 1-n side service containers based on job needs (database, docker daemon, selenium,...). in ecs marked main agent container 'essential' , when agent finished work , exited, entire ecs task collapsed, exiting other side containers.

how same thing in kubernetes? seems option have regularly poke cluster , check pods bamboo-agent container terminated , terminate pods outside. there way make pod auto-collapse/terminate when 1 of containers dies?

you want use kubernetes job objects: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -