Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blog: Installing etcd as a System Container #479

Closed
wants to merge 2 commits into from

Conversation

ashcrow
Copy link
Contributor

@ashcrow ashcrow commented Oct 25, 2017

@ashcrow
Copy link
Contributor Author

ashcrow commented Oct 25, 2017

/cc @giuseppe


The first thing one must have is Fedora 27 Atomic Host installed. As a reminder, Atomic Host allows people to:

> Use immutable infrastructure to deploy and scale your containerized applications. Project Atomic builds OSes, tools, and containers for cloud native platforms.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey, since this blog post is going onto the website that quote is from, we probably don't need it. Appreciate the messaging, though.


What did we do? Let's break it down:

* ``sudo atomic``: We are executing the atomic command with root privledges
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s|privledges|privileges|

* ``--system``: And the type of the container we want to install is a system container
* ``--storage ostree``: We'd like the image to be stored in ostree
* ``--name etcd``: The name of the container should be etcd
* ``registry.fedoraproject.org/f26/etcd:latest``: This is the image to use when creating the container
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add some notes about --set and how some images, etcd in this case, allow a configuration this way?

It is also possible to see what variables can be customized: atomic info --storage ostree $IMG shows all the supported variables.
With the etcd system container these settings can be overriden anyway by the etcd.conf file, that we now bind mount from the host.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


System Containers exist as a way to provide containerized services to a host before traditional container runtimes are ready. System
Containers do this by utilizing a runc and systemd units and do not deviate from the OCI standards. Let's look at how someone can
use a system containers to install the ever popular etcd today one Fedora 27 Atomic Host!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one --> on

@ashcrow
Copy link
Contributor Author

ashcrow commented Oct 26, 2017

Thanks guys. Will update!

RUN_DIRECTORY: {SET_BY_OS}
STATE_DIRECTORY: {SET_BY_OS}
UUID: {SET_BY_OS}
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a lot of terminal text for a blog post. Can we truncate/compress it down to the relevant elements, with ... to indicate the parts we've left out?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@jberkus
Copy link
Contributor

jberkus commented Oct 27, 2017

Looks good. Will edit and deploy on Monday, since it's already late on Friday.

@ashcrow ashcrow changed the title WIP: blog: Installing etcd as a System Container blog: Installing etcd as a System Container Oct 28, 2017
@ashcrow
Copy link
Contributor Author

ashcrow commented Oct 28, 2017

@jberkus sounds good.

@dustymabe
Copy link
Contributor

Looks good. Will edit and deploy on Monday, since it's already late on Friday.

would it be better to wait and blast a series of posts around f27 release time?

@jberkus
Copy link
Contributor

jberkus commented Oct 30, 2017

Isn't release scheduled for the first week of November?

@dustymabe
Copy link
Contributor

Isn't release scheduled for the first week of November?

It got pushed a week. Originally would have been released tomorrow.

@jberkus
Copy link
Contributor

jberkus commented Oct 31, 2017

Holding this for next week, then, for the release of F27.

@ashcrow
Copy link
Contributor Author

ashcrow commented Nov 13, 2017

Updated per meeting.

@jberkus
Copy link
Contributor

jberkus commented Nov 16, 2017

Replaced by PR #492

@jberkus jberkus closed this Nov 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants