Skip to main content
  • Book
  • © 2017

Kubernetes Management Design Patterns

With Docker, CoreOS Linux, and Other Platforms

Apress

Authors:

  • The only advanced practical guide on using Kubernetes management patterns on CoreOS

  • Discusses the ease of use provided by Kubernetes in developing and running applications in Pods

  • Covers cloud platforms platforms, such as Amazon AWS EC2 and Google Cloud Platform

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (16 chapters)

  1. Front Matter

    Pages i-xx
  2. Platforms

    1. Front Matter

      Pages 1-1
    2. Kubernetes on AWS

      • Deepak Vohra
      Pages 3-22
    3. Kubernetes on CoreOS on AWS

      • Deepak Vohra
      Pages 23-47
    4. Kubernetes on Google Cloud Platform

      • Deepak Vohra
      Pages 49-87
  3. Administration and Configuration

    1. Front Matter

      Pages 89-89
    2. Using Multiple Zones

      • Deepak Vohra
      Pages 91-116
    3. Using the Tectonic Console

      • Deepak Vohra
      Pages 117-134
    4. Using Volumes

      • Deepak Vohra
      Pages 135-152
    5. Using Services

      • Deepak Vohra
      Pages 153-170
    6. Using Rolling Updates

      • Deepak Vohra
      Pages 171-198
    7. Scheduling Pods on Nodes

      • Deepak Vohra
      Pages 199-236
    8. Configuring Compute Resources

      • Deepak Vohra
      Pages 237-256
    9. Using ConfigMaps

      • Deepak Vohra
      Pages 257-277
    10. Using Resource Quotas

      • Deepak Vohra
      Pages 279-298
    11. Using Autoscaling

      • Deepak Vohra
      Pages 299-308
    12. Configuring Logging

      • Deepak Vohra
      Pages 309-331
  4. High Availability

    1. Front Matter

      Pages 333-333
    2. Using an HA Master with OpenShift

      • Deepak Vohra
      Pages 335-353
    3. Developing a Highly Available Website

      • Deepak Vohra
      Pages 355-392

About this book

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. 


Reviews

“The book does provide a practical guide to installing Kubernetes using Amazon Web Services (AWS) and the Google Cloud Platform to perform essential tasks, all clearly illustrated with many screen shots. … this book could be useful for those readers who appreciate a detailed and practical guide for installing and configuring Kubernetes’ many features.” (Computing Reviews, November, 2017)

Authors and Affiliations

  • White Rock, Canada

    Deepak Vohra

About the author

Deepak Vohra is an Oracle Certified Associate and a Sun Certified Java Programmer. Deepak has published in Oracle Magazine, OTN, IBM developerWorks, ONJava, DevSource,  WebLogic Developer’s Journal, XML Journal, Java Developer’s Journal, FTPOnline, and devx.

Bibliographic Information

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access