Book Image

Mastering CoreOS

By : Sreenivas Makam
Book Image

Mastering CoreOS

By: Sreenivas Makam

Overview of this book

<p>CoreOS makes Google and Amazon-style Cloud infrastructure available for anyone building their own private Cloud. This book covers the CoreOS internals and the technologies used in the deployment of container-based distributed applications. It starts with an overview of CoreOS and distributed application development while sharing knowledge on related technologies. Critical CoreOS services and networking and storage considerations for CoreOS are covered next.</p> <p>In latter half of the book, you will learn about Container runtime systems such as Docker and Rkt and Container Orchestration using Kubernetes. You will also find out about the integration of popular orchestration solutions such as OpenStack, the AWS Container service, and the Google Container Engine with CoreOS and Docker. Lastly, we cover troubleshooting as well as production considerations.</p>
Table of Contents (19 chapters)
Mastering CoreOS
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

CoreOS automatic update


CoreOS relies on the automatic update mechanism to keep the OS up to date. The following are some aspects of the CoreOS update:

  • The CoreOS update mechanism is based on Google's open source Omaha protocol (https://code.google.com/p/omaha/) that is used in the Chrome browser.

  • Either CoreOS public servers or private servers can be used as an image repository.

  • The dual partition scheme is used where an update is done to the secondary partition while the primary partition is not touched. On reboot, there is a binary swap from the primary to the secondary partition. This keeps the update scheme robust. If there are issues with the new image, CoreOS automatically rolls back to the working image in the other partition.

  • Images are signed and verified on each update.

The following screenshot shows you the steps for the automatic update: