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
Conversation
/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. |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one --> on
Thanks guys. Will update! |
5f2f9e8
to
e41cc50
Compare
RUN_DIRECTORY: {SET_BY_OS} | ||
STATE_DIRECTORY: {SET_BY_OS} | ||
UUID: {SET_BY_OS} | ||
``` |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
e41cc50
to
49d5168
Compare
Looks good. Will edit and deploy on Monday, since it's already late on Friday. |
@jberkus sounds good. |
would it be better to wait and blast a series of posts around f27 release time? |
Isn't release scheduled for the first week of November? |
It got pushed a week. Originally would have been released tomorrow. |
Holding this for next week, then, for the release of F27. |
Updated per meeting. |
Replaced by PR #492 |
Fixes: https://pagure.io/atomic-wg/issue/359