Kubernetes Management Design Patterns: With Docker, CoreOS Linux, and Other Platforms 1st Edition by Deepak Vohra – Ebook PDF Instant Download/DeliveryISBN: 1484225981, 9781484225981
Full download Kubernetes Management Design Patterns: With Docker, CoreOS Linux, and Other Platforms 1st Edition after payment.
Product details:
ISBN-10 : 1484225981
ISBN-13 : 9781484225981
Author: Deepak Vohra
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.
Kubernetes Management Design Patterns: With Docker, CoreOS Linux, and Other Platforms 1st table of contents:
Part I: Platforms
Chapter 1: Kubernetes on AWS
Problem
Solution
Overview
Setting the Environment
Configuring AWS
Starting the Kubernetes Cluster
Testing the Cluster
Configuring the Cluster
Stopping the Cluster
Summary
Chapter 2: Kubernetes on CoreOS on AWS
Problem
Solution
Overview
Setting the Environment
Configuring AWS Credentials
Installing Kube-aws
Setting Up Cluster Parameters
Creating a KMS Key
Setting Up an External DNS Name
Creating the Cluster
Creating an Asset Directory
Initializing the Cluster CloudFormation
Rendering Contents of the Asset Directory
Customizing the Cluster
Validating the CloudFormation Stack
Launching the Cluster CloudFormation
Configuring DNS
Accessing the Cluster
Testing the Cluster
Summary
Chapter 3: Kubernetes on Google Cloud Platform
Problem
Solution
Overview
Setting the Environment
Creating a Project on Google Cloud Platform
Enabling Permissions
Enabling the Compute Engine API
Creating a VM Instance
Connecting to the VM Instance
Reserving a Static External IP Address
Creating a Kubernetes Cluster
Creating a Kubernetes Application and Service
Stopping the Cluster
Using Kubernetes with Google Container Engine
Creating a Google Container Cluster
Connecting to the Google Cloud Shell
Configuring kubectl
Testing the Kubernetes Cluster
Summary
Part II: Administration and Configuration
Chapter 4: Using Multiple Zones
Problem
Solution
Overview
Setting the Environment
Initializing a CloudFormation
Configuring cluster.yaml for Multiple Zones
Launching the CloudFormation
Configuring External DNS
Running a Kubernetes Application
Using Multiple Zones on AWS
Summary
Chapter 5: Using the Tectonic Console
Problem
Solution
Overview
Setting the Environment
Downloading the Pull Secret and the Tectonic Console Manifest
Installing the Pull Secret and the Tectonic Console Manifest
Accessing the Tectonic Console
Using the Tectonic Console
Removing the Tectonic Console
Summary
Chapter 6: Using Volumes
Problem
Solution
Overview
Setting the Environment
Creating an AWS Volume
Using an awsElasticBlockStore Volume
Creating a Git Repo
Using a gitRepo Volume
Summary
Chapter 7: Using Services
Problem
Solution
Overview
Setting the Environment
Creating a ClusterIP Service
Creating a NodePort Service
Creating a LoadBalancer Service
Summary
Chapter 8: Using Rolling Updates
Problem
Solution
Overview
Setting the Environment
Rolling Update with an RC Definition File
Rolling Update by Updating the Container Image
Rolling Back an Update
Using Only Either File or Image
Multiple-Container Pods
Rolling Update to a Deployment
Summary
Chapter 9: Scheduling Pods on Nodes
Problem
Solution
Overview
Defining a Scheduling Policy
Setting the Environment
Using the Default Scheduler
Scheduling Pods without a Node Selector
Setting Node Labels
Scheduling Pods with a Node Selector
Setting Node Affinity
Setting requiredDuringSchedulingIgnoredDuringExecution
Setting preferredDuringSchedulingIgnoredDuringExecution
Summary
Chapter 10: Configuring Compute Resources
Problem
Solution
Overview
Types of Compute Resources
Resource Requests and Limits
Quality of Service
Setting the Environment
Finding Node Capacity
Creating a Pod with Resources Specified
Limit on Number of Pods
Overcommitting Resource Limits
Reserving Node Resources
Summary
Chapter 11: Using ConfigMaps
Problem
Solution
Overview
Kubectl create configmap Command
Setting the Environment
Creating ConfigMaps from Directories
Creating ConfigMaps from Files
Creating ConfigMaps from Literal Values
Consuming a ConfigMap in a Volume
Summary
Chapter 12: Using Resource Quotas
Problem
Solution
Overview
Setting the Environment
Defining Compute Resource Quotas
Exceeding Compute Resource Quotas
Defining Object Quotas
Exceeding Object Quotas
Defining Best-Effort Scope Quotas
Summary
Chapter 13: Using Autoscaling
Problem
Solution
Overview
Setting the Environment
Running a PHP Apache Server Deployment
Creating a Service
Creating a Horizontal Pod Autoscaler
Increasing Load
Summary
Chapter 14: Configuring Logging
Problem
Solution
Overview
Setting the Environment
Getting the Logs Generated by Default Logger
Docker Log Files
Cluster-Level Logging with Elasticsearch and Kibana
Starting a Replication Controller
Starting Elastic Search
Starting Fluentd to Collect Logs
Starting Kibana
Summary
Part III: High Availability
Chapter 15: Using an HA Master with OpenShift
Problem
Solution
Overview
Setting the Environment
Installing the Credentials
Installing the Network Manager
Installing OpenShift via Ansible on the Client Machine
Configuring Ansible
Running the Ansible Playbook
Testing the Cluster
Testing the High Availability
Summary
Chapter 16: Developing a Highly Available Website
Problem
Solution
Overview
Setting the Environment
Creating CloudFormations
Configuring External DNS
Creating a Kubernetes Service
Creating an AWS Route 53 Service
Creating a Hosted Zone
Configuring Name Servers on a Domain Name
Creating Record Sets
Testing High Availability
People also search for Kubernetes Management Design Patterns: With Docker, CoreOS Linux, and Other Platforms 1st:
kubernetes design pattern
kubernetes deployment patterns
kubernetes patterns
kubernetes patterns 2nd edition
design kubernetes cluster
Tags: Kubernetes Management, Design Patterns, With Docker, CoreOS Linux, Other Platforms, Deepak Vohra