ebook img

Learning CoreOS PDF

289 Pages·3.7 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Learning CoreOS

Learning CoreOS Table of Contents Learning CoreOS Credits About the Authors About the Reviewer www.PacktPub.com eBooks, discount offers, and more Why subscribe? Preface What this book covers What you need for this book Who this book is for Conventions Reader feedback Customer support Downloading the color images of this book Errata Piracy Questions 1. CoreOS, Yet Another Linux Distro? Introduction to CoreOS CoreOS versus other Linux distributions CoreOS high-level architecture Service discovery etcd Container management Linux Container cgroups Namespace Chroot Docker Docker versus LXC Rocket CoreOS cluster management: systemd fleet CoreOS and OpenStack Summary 2. Setting Up Your CoreOS Environment Installing GIT Installing VirtualBox Introduction to Vagrant Installing Vagrant Vagrant configuration files Cloud-config The config.rb configuration file Starting a CoreOS VM using Vagrant Setting up CoreOS on VMware vSphere Installing VMware vSphere Client Introduction to Docker Image Container Volumes Links Installing Docker Creating a sample Docker image using Docker File Docker File Pulling the Docker image from Docker Hub Running Docker Image Summary 3. Creating Your CoreOS Cluster and Managing the Cluster Introduction to clustering The why and the benefits of clustering CoreOS clustering Cluster discovery Static discovery etcd discovery DNS discovery systemd Service unit files Starting and stopping a service fleet Architectural overview Engine Agent fleetctl Standard (local) and global units Unit file options for fleet Instantiating the service unit in the cluster Recovering from node failure Summary 4. Managing Services with User-Defined Constraints Introduction to service constraints Predefined constraints using metadata Service level affinity/anti-affinity Node-level affinity High availability Summary 5. Discovering Services Running in a Cluster Introduction and necessity of service discovery Mechanism for service discovery Operations of etcd Operations using etcdctl etcd write using etcdctl etcd read using etcdctl etcd watch using etcdctl Example of etcd using etcdctl Operations using cURL etcd read using curl etcd write using curl etcd watch using curl Example using curl HAProxy and service discovery Summary 6. Service Chaining and Networking Across Services Introduction to and necessity of service chaining Introduction to Docker networking Container–Container communication Docker0 bridge and veth pair Using Link Using common network stack Container to CoreOS host communication Host networking docker0 bridge Container to CoreOS outside world communication Host networking Port mapping Container – Container communication in different CoreOS nodes Introduction to Weave Introduction to Flannel/Rudder Installation Setting up Weave Container startup Integrating Flannel with CoreOS Summary 7. Creating a Virtual Tenant Network and Service Chaining Using OVS Introduction to OVS OVS architectural overview Advantages of using OVS in CoreOS Introduction to overlay and underlay networks Introduction to network virtualization OpenFlow support in OVS OpenFlow switch OpenFlow controller OpenFlow channel Running OVS in CoreOS Attaching docker0 bridge to OVS Configuration in CoreOS Instance 1 Configurations during the instantiation of a CoreOS node 1 in a cluster Configurations during the creation of a container for CoreOS Instance 1 Configuration in CoreOS Instance 2 Configurations during the instantiation of CoreOS node 2 in a cluster Configurations during the creation of a container for CoreOS Instance 2 Attaching container’s veth interface to OVS Configuration in CoreOS Instance 1 Configurations during the instantiation of a CoreOS node in a cluster Configurations during the creation of the first container for a tenant Configurations during the creation of subsequent containers for a tenant Configuration in CoreOS Instance 2 Configurations during the instantiation of a CoreOS node in a cluster Configurations during the creation of the first container for a tenant Configurations during the creation of subsequent containers for a tenant Looping issue Summary 8. What Next? Container security Update and patches – CoreUpdate Dex sysdig Competitive container orchestration mechanism Kubernetes Kubernetes master Kubernetes nodes Kubernetes pods Kubernetes service CoreOS and Kubernetes Apache-Mesos Mesos master Mesos agent ZooKeeper Mesos frameworks Swarm Docker data volume management Introduction to Flocker Flocker control services Flocker agents Flocker plugin for Docker Open Container Project Summary Index

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.