English
« Back to projectatomic.io
Ask Your Question
1

Container lifecycle management on a single node

asked 2015-06-19 22:24:46 +0000

supahd gravatar image

Any recommendations for container lifecycle management on a single node ? I have a multi-container application that I'd like to run on an atomic host (no cluster). I want the containers to always be started on bootup and if automatically restarted if one ever goes down. From the docs it appears that kubernetes pods should be used for multi-container apps but I don't have a cluster so not sure if kubernetes is applicable or not. Without using kubernetes it looks like my options are..

  1. Use docker run with an appropriate restart policy
  2. Create a systemd unit file ExecStart=/usr/bin/docker run etc..

I'm thinking the systemd approach might be best. As an aside if kubernetes was used does it autostart pods on bootup ?

edit retag flag offensive close merge delete

13 answers

Sort by ยป oldest newest most voted
1

answered 2015-06-23 17:04:56 +0000

razyr gravatar image

updated 2015-06-23 17:13:19 +0000

Heya Supahd.

I'm not sure what your use case is for running a single host docker env, but Kubernetes can manage a pod on a single machine, ensure failed containers are restarted, etc... Presuming that Kubernetes is configured to start on boot, the replication controller should auto-start your pod.

Many of the tutorials you'll find around the net begin with setting up a simple single host model, or at least a master with single minion. Again, not knowing your use case, but you should probably look at virtualization with at least two VMs for your Atomic hosts.

You might want to check out https://github.com/GoogleCloudPlatfor... , specifically the vagrant and local setup docs if it's a dev system you're setting up. Kubernetes has a better than average selection of getting started guides for various environments.

As you noted from the docs, "Clusters of Atomic hosts under control of a Kubernetes master server is the expected operating arrangement of an Atomic environment." I would start with Kubernetes with the assumption that your app/environment may need to scale going forward.

edit flag offensive delete link more

Comments

The use-case is migrating a typical linux-based product where multiple services are involved (e.g. webserver+database+messaging router+etc..) but there's no cluster, pretty average setup... systemd would take care of service dependencies and restarts.. migrate to atomic who takes care of that ?

supahd ( 2015-06-26 20:24:32 +0000 )edit
0

answered 2017-11-01 09:14:47 +0000

I thank you for the information! I was looking for and could not find. You helped me! mcdvoice

edit flag offensive delete link more
0

answered 2017-10-17 22:40:48 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I am a major extremist of you and your sites and posts in addition in light of the fact that it has an uncommon answer the ones investigation which I used to seek few days, Its remarkably valuable for me and as legally others as well. to a great degree great work and hold it up bless your heart. EssayHelp

edit flag offensive delete link more
0

answered 2017-10-13 10:34:17 +0000

i am a big fan of you and your blogs and posts additionally because it has a extraordinary answer the ones questions which i used to be searching few days, Its very useful for me and as properly others too. extremely good work and hold it up thank you. Baby Driver Varsity Jacket Instylejackets

edit flag offensive delete link more
0

answered 2017-10-05 10:41:17 +0000

This is the first occasion when I have run over this site and came to think about this holder life cycle administration on a solitary hub. Here, the article tells in insight in regards to this. I might want to Assignment Help know more on that. It would be ideal if you refresh it as right on time as could be expected under the circumstances image description

edit flag offensive delete link more
0

answered 2017-10-04 12:05:20 +0000

milanjoy gravatar image

updated 2017-10-04 12:05:51 +0000

This is the first time I have come across this site and came to know about this container lifecycle management on a single node. Here, the article tells in detail regarding this. I would like to know more on that. Please update it as early as possible..SnoreDoc Anti Snoring Chin Strap

edit flag offensive delete link more
0

answered 2017-11-10 06:01:52 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I am a noteworthy radical of you and your locales and posts also in light of the way that it has an exceptional answer the one's examination which I used to look for few days, It's surprisingly significant for me and as lawful others too. to an incredible degree extraordinary work and hold it up to favor your heart Write My Essay cheap.

edit flag offensive delete link more
0

answered 2017-10-04 04:22:37 +0000

halloween2017 gravatar image

Spirit Halloween costumes 2017 unique ideas for plus size and extra size men, women, him her. Spirit and best gift Halloween costumes latest.

edit flag offensive delete link more
0

answered 2017-09-29 21:16:47 +0000

Angel Jessica gravatar image

updated 2017-09-29 21:21:20 +0000

Well I was finding similar answer of this question not for me. This worked was done for my senior who currently researching on mobile application development services in London for his client. But during working he stuck and suddenly ordered me to find out the solution it.

edit flag offensive delete link more
0

answered 2017-09-27 01:29:54 +0000

ramsingh1499 gravatar image

updated 2017-09-27 01:30:48 +0000

Thepiratebay Torrents of corporate number one position in the list of top 10 torrents for the year 2016. Thepiratebay Torrents is very good in providing latest content as well as the content with high quality.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2015-06-19 22:24:46 +0000

Seen: 745 times

Last updated: Nov 10