Kubernetes: Up and Running. Dive into the Future of Infrastructure

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Author(s): Kelsey Hightower; Brendan Burns; Joe Beda
Edition: 1 (2nd release)
Publisher: O'Reilly Media, Inc.
Year: 2018

Language: English
City: Sebastopol, California

Copyright
Table of Contents
Preface
Kubernetes: A Dedication
Who Should Read This Book
Why We Wrote This Book
A Word on Cloud-Native Applications Today
Navigating This Book
Online Resources
Conventions Used in This Book
Using Code Examples
O'Reilly Safari
How to Contact Us
Chapter 1. Introduction
Velocity
The Value of Immutability
Declarative Configuration
Self-Healing Systems
Scaling Your Service and Your Teams
Decoupling
Easy Scaling for Applications and Clusters
Scaling Development Teams with Microservices
Separation of Concerns for Consistency and Scaling. Abstracting Your InfrastructureEfficiency
Summary
Chapter 2. Creating and Running Containers
Container Images
The Docker Image Format
Building Application Images with Docker
Dockerfiles
Image Security
Optimizing Image Sizes
Storing Images in a Remote Registry
The Docker Container Runtime
Running Containers with Docker
Exploring the kuard Application
Limiting Resource Usage
Cleanup
Summary
Chapter 3. Deploying a Kubernetes Cluster
Installing Kubernetes on a Public Cloud Provider
Google Container Service
Installing Kubernetes with Azure Container Service. Installing Kubernetes on Amazon Web ServicesInstalling Kubernetes Locally Using minikube
Running Kubernetes on Raspberry Pi
The Kubernetes Client
Checking Cluster Status
Listing Kubernetes Worker Nodes
Cluster Components
Kubernetes Proxy
Kubernetes DNS
Kubernetes UI
Summary
Chapter 4. Common kubectl Commands
Namespaces
Contexts
Viewing Kubernetes API Objects
Creating, Updating, and Destroying Kubernetes Objects
Labeling and Annotating Objects
Debugging Commands
Summary
Chapter 5. Pods
Pods in Kubernetes
Thinking with Pods
The Pod Manifest
Creating a Pod. Creating a Pod ManifestRunning Pods
Listing Pods
Pod Details
Deleting a Pod
Accessing Your Pod
Using Port Forwarding
Getting More Info with Logs
Running Commands in Your Container with exec
Copying Files to and from Containers
Health Checks
Liveness Probe
Readiness Probe
Types of Health Checks
Resource Management
Resource Requests: Minimum Required Resources
Capping Resource Usage with Limits
Persisting Data with Volumes
Using Volumes with Pods
Different Ways of Using Volumes with Pods
Persisting Data Using Remote Disks
Putting It All Together
Summary. Chapter 6. Labels and AnnotationsLabels
Applying Labels
Modifying Labels
Label Selectors
Label Selectors in API Objects
Annotations
Defining Annotations
Cleanup
Summary
Chapter 7. Service Discovery
What Is Service Discovery?
The Service Object
Service DNS
Readiness Checks
Looking Beyond the Cluster
Cloud Integration
Advanced Details
Endpoints
Manual Service Discovery
kube-proxy and Cluster IPs
Cluster IP Environment Variables
Cleanup
Summary
Chapter 8. ReplicaSets
Reconciliation Loops
Relating Pods and ReplicaSets
Adopting Existing Containers
Quarantining Containers.