Cracking Containers with Docker and Kubernetes
US$ 19.95
The publisher has enabled DRM protection, which means that you need to use the BookFusion iOS, Android or Web app to read this eBook. This eBook cannot be used outside of the BookFusion platform.
Description
Contents
Reviews
Language
English
ISBN
9789391030797
Cover Page
Title Page
Copyright Page
Dedication Page
About the Authors
About the Reviewers
Acknowledgements
Preface
Errata
Table of Contents
1. Prologue to the Containers
Introduction
Structure
Objective
The web applications
Agile and DevOps
Microservices
Conclusion
2. Hello Containers!
Introduction
Structure
Objective
Virtualization
Virtual Machines and Hypervisors
Types of Hypervisors
Containers
Road to Containers
DIY: running a Container on Linux
Step 1: Prepare the system
Step 2: Obtaining the Container
Step 3: Setup the cgroup
Step 4: Run the Container
Basic definition of Containers
Docker: A Container Runtime Environment
Virtual Machines or Containers?
Conclusion
Multiple choice questions
Questions
3. Introduction to Docker
Introduction
Structure
Objective
Docker: A deeper look
Docker architecture
Docker Client
Docker Host
The Registries
Installing Docker on Linux
Step 1: Setting up repository
Step 2: Installing components
Step 3: Are we good to go?
Step 4: Improvement of quality of life
Installing Docker Desktop on Windows
Step 1: Downloading the setup
Step 2: A few clicks
Step 3: Testing the installation
Installing Docker Desktop on Mac
Conclusion
Multiple choice questions
Questions
4. Writing Dockerfiles
Introduction
Structure
Objective
Let us explore Docker Hub!
Introduction to Dockerfiles and its instructions
FROM
ARG
COPY
ADD
RUN
CMD
ENTRYPOINT
WORKDIR
STOPSIGNAL
USER
LABEL
ENV
EXPOSE
Writing your first Dockerfile
Building Dockerfile with HEALTHCHECK and Context
Setting triggers with ONBUILD
Your Docker Image on Docker Hub
Conclusion
Multiple choice questions
Questions
5. Gearing-up the Toolbox!
Introduction
Structure
Objective
Introduction to Docker Command Line
docker version
Working with docker image commands
docker build
docker images/ docker image ls
docker history
docker search
docker pull
docker tag
docker push
docker inspect
Sharing the Docker Image
Docker Image clean-up commands
The container life-cycle
Working with Docker Container commands
docker rename
docker exec
docker attach
docker commit
docker stats
docker wait
docker diff
docker inspect container
Sharing files with containers using docker cp
Miscellaneous Docker commands
Conclusion
Multiple choice questions
6. Connectivity and Storage
Introduction
Structure
Objective
Container Networking Model
Docker Networks and their types
Bridge network
Host network
Macvlan networks
Overlay network
Storage options with Docker
Volumes
Bind mounts
Tmpfs
Conclusion
Multiple choice questions
Questions
7. Multi-Container Applications with Docker Compose
Introduction
Structure
Objective
Prominence of multiple containers
Hello, Docker Compose!
First Compose file
Multi-container Compose Service (Finally!)
Conclusion
Multiple choice questions
8. Container Orchestration with Docker Swarm
Introduction
Structure
Objective
Facing the inevitable - the orchestration
Understanding Docker Swarm
Getting started with Docker Swarm
Working with Docker Swarm
Understanding networking in Docker Swarm
Container orchestration
Updating services
Node management
Reinitializing the cluster
Back-up and recovery of the cluster
Locking the Swarm cluster
Working with Docker Stack
Cleaning up Docker Swarm
Conclusion
Multiple choice questions
Questions
9. Introduction to Kubernetes
Introduction
Structure
Objective
The MVP of your skillset
Choosing between K8s and Docker Swarm
Kubernetes architecture
Setting up the K8s cluster
K8s operations: the concept of pods
Namespaces
Conclusion
Multiple choice questions
Questions
10. Workload Orchestration with Kubernetes
Introduction
Structure
Objective
Playing with namespaces
Labels and selectors
K8s wheel of objects
Replicasets
Deployments
Jobs and Cron Jobs
Daemonset
Back to pods (liveness and readiness probes, resource limits)
Init Containers
Conclusion
Multiple choice questions
Questions
11. Networking and Storage with Kubernetes
Introduction
Structure
Objective
Understanding networking in a K8s cluster
Types of Kubernetes services
Writing your first service
Exposing the service externally
Understanding storage in Kubernetes
Types of storage objects in K8s
Working with Kubernetes storage
Persisting data after container crash using emptyDir
Supplying sensitive information using secrets
Working with ConfigMaps
Conclusion
Multiple choice questions
Questions
12. Advanced Orchestration with Kubernetes
Introduction
Structure
Objective
Advanced container orchestration
Kubernetes authorization
Working with Kubernetes authorization
Establishing Kubernetes cluster security
Pod priority classes
Controlling pod scheduling
Conclusion
Multiple choice questions
Questions
13. Managed Kubernetes on Cloud
Introduction
Structure
Objective
Managed Kubernetes on Cloud
GKE: architecture and setup
Deploying Kubernetes workloads on GKE
Understanding and working with StatefulSet
Working with the Load Balancer service
Working with the Ingress
Persistent Volume
Conclusion
Multiple choice questions
Questions
14. Containers in Production with GKE
Introduction
Structure
Objective
Kubernetes in production environments
High availability cluster in GKE
Logging with GKE
Logs dashboard
Logs Router
Monitoring in GKE
Dashboards
Services
Metrics explorer
Alerting policy
Uptime check
Groups
Prometheus
Installing and configuring Prometheus on GKE
Understanding and working with Service Mesh
Bookinfo Application and Istio
Helm
Continuous Delivery using Spinnaker on GKE
Sample application on Spinnaker
The bling–bling of billing
Conclusion
Multiple choice questions
Questions
15. Serverless Containers
Introduction
Structure
Objective
Introducing Serverless Kubernetes
Getting started with Cloud Run
Hosting your first Serverless Container
Conclusion
Multiple choice questions
16. The Checkpoint
The journey…
So, what next?
Index
The book hasn't received reviews yet.