Kubernetes Management Design Patterns: With Docker, CoreOS Linux, and Other Platforms

Deepak Vohra

  • 出版商: Apress
  • 出版日期: 2017-01-29
  • 售價: $2,010
  • 貴賓價: 9.5$1,910
  • 語言: 英文
  • 頁數: 399
  • 裝訂: Paperback
  • ISBN: 148422597X
  • ISBN-13: 9781484225974
  • 相關分類: DockerKubernetesLinuxDesign Pattern
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Take container cluster management to the next level; learn how to administer and configure Kubernetes on CoreOS; and apply suitable management design patterns such as Configmaps, Autoscaling, elastic resource usage, and high availability.  Some of the other features discussed are logging, scheduling, rolling updates, volumes, service types, and multiple cloud provider zones.
 
The atomic unit of modular container service in Kubernetes is a Pod, which is a group of containers with a common filesystem and networking. The Kubernetes Pod abstraction enables design patterns for containerized applications similar to object-oriented design patterns. Containers provide some of the same benefits as software objects such as modularity or packaging, abstraction, and reuse.
 
CoreOS Linux is used in the majority of the chapters and other platforms discussed are CentOS with OpenShift, Debian 8 (jessie) on AWS, and Debian 7 for Google Container Engine.  
 
CoreOS is the main focus becayse Docker is pre-installed on CoreOS out-of-the-box. CoreOS: 
  • Supports most cloud providers (including Amazon AWS EC2 and Google Cloud Platform) and virtualization platforms (such as VMWare and VirtualBox)
  • Provides Cloud-Config for declaratively configuring for OS items such as network configuration (flannel), storage (etcd), and user accounts 
  • Provides a production-level infrastructure for containerized applications including automation, security, and scalability
  • Leads the drive for container industry standards and founded appc 
  • Provides the most advanced container registry, Quay  
 
Docker was made available as open source in March 2013 and has become the most commonly used containerization platform. Kubernetes was open-sourced in June 2014 and has become the most widely used container cluster manager.  The first stable version of CoreOS Linux was made available in July 2014 and since has become one of the most commonly used operating system for containers. 
 
 
What You'll Learn
 
  • Use Kubernetes with Docker
  • Create a Kubernetes cluster on CoreOS on AWS
  • Apply cluster management design patterns
  • Use multiple cloud provider zones
  • Work with Kubernetes and tools like Ansible
  • Discover the Kubernetes-based PaaS platform OpenShift
  • Create a high availability website
  • Build a high availability Kubernetes master cluster
  • Use volumes, configmaps, services, autoscaling, and rolling updates
  • Manage compute resources
  • Configure logging and scheduling
 
 
Who This Book Is For
 
Linux admins, CoreOS admins, application developers, and container as a service (CAAS) developers. Some pre-requisite knowledge of Linux and Docker is required. Introductory knowledge of Kubernetes is required such as creating a cluster, creating a Pod, creating a service, and creating and scaling a replication controller. For introductory Docker and Kubernetes information, refer to Pro Docker (Apress) and Kubernetes Microservices with Docker (Apress). Some pre-requisite knowledge about using Amazon Web Services (AWS) EC2, CloudFormation, and VPC is also required. 
 

商品描述(中文翻譯)

將容器集群管理提升到更高的水平;學習如何在CoreOS上管理和配置Kubernetes;並應用適當的管理設計模式,如Configmaps、自動擴展、彈性資源使用和高可用性。其他討論的功能包括日誌記錄、排程、滾動更新、卷、服務類型和多個雲提供商區域。

Kubernetes中模塊化容器服務的原子單位是Pod,它是一組具有共同文件系統和網絡的容器。Kubernetes Pod抽象使得容器化應用程序的設計模式類似於面向對象的設計模式。容器提供了與軟件對象相同的一些好處,如模塊化或打包、抽象和重用。

大多數章節中使用的是CoreOS Linux,其他討論的平台包括帶有OpenShift的CentOS、在AWS上的Debian 8(jessie)和Google Container Engine的Debian 7。

CoreOS是主要關注的焦點,因為Docker已預先安裝在CoreOS上。CoreOS:
- 支持大多數雲提供商(包括Amazon AWS EC2和Google Cloud Platform)和虛擬化平台(如VMWare和VirtualBox)
- 提供Cloud-Config,用於聲明性地配置操作系統項目,如網絡配置(flannel)、存儲(etcd)和用戶帳戶
- 提供用於容器化應用程序的生產級基礎設施,包括自動化、安全性和可擴展性
- 領導容器行業標準的推動,並創立了appc
- 提供最先進的容器註冊表Quay

Docker於2013年3月開源,成為最常用的容器化平台。Kubernetes於2014年6月開源,成為最廣泛使用的容器集群管理器。CoreOS Linux的第一個穩定版本於2014年7月發布,自那時以來成為最常用的容器操作系統之一。

書中將學到:
- 使用Docker和Kubernetes
- 在AWS上在CoreOS上創建Kubernetes集群
- 應用集群管理設計模式
- 使用多個雲提供商區域
- 與Kubernetes和Ansible等工具一起工作
- 探索基於Kubernetes的PaaS平台OpenShift
- 創建高可用性網站
- 構建高可用性的Kubernetes主節點集群
- 使用卷、Configmaps、服務、自動擴展和滾動更新
- 管理計算資源
- 配置日誌記錄和排程

本書適合Linux管理員、CoreOS管理員、應用程序開發人員和容器即服務(CAAS)開發人員。需要一些Linux和Docker的先備知識。需要有關Kubernetes的入門知識,如創建集群、創建Pod、創建服務和創建和擴展複製控制器。對於有關Docker和Kubernetes的入門信息,請參考《Pro Docker》(Apress)和《Kubernetes Microservices with Docker》(Apress)。還需要一些關於使用Amazon Web Services(AWS)EC2、CloudFormation和VPC的先備知識。