更新时间:2021-08-13 15:41:38
封面
Title Page
Copyright
The DevOps 2.3 Toolkit
Dedication
Contributor
About the author
Packt is searching for authors like you
Packt Upsell
Why subscribe?
PacktPub.com
Preface
Overview
Download the example code files
Download the color images
Conventions used
Get in touch
How Did We Get Here?
A glimpse from the past
A short history of infrastructure management
A short history of deployment processes
What is a container scheduler?
What is Kubernetes?
Running Kubernetes Cluster Locally
Installing kubectl
Installing Minikube
Creating a local Kubernetes cluster with Minikube
What now?
Creating Pods
Creating a Cluster
Quick and dirty way to run Pods
Defining Pods through declarative syntax
Running multiple containers in a single Pod
Monitoring health
Pods are (almost) useless (by themselves)
Scaling Pods With ReplicaSets
Creating ReplicaSets
Operating ReplicaSets
Using Services to Enable Communication between Pods
Creating Services by exposing ports
Creating Services through declarative syntax
Splitting the Pod and establishing communication through Services
Defining multiple objects in the same YAML file
Discovering Services
Kubernetes Pods ReplicaSets and Services compared to Docker Swarm stacks
Deploying Releases with Zero-Downtime
Deploying new releases
Updating Deployments
Zero-Downtime Deployments
Rolling back or rolling forward?
Rolling back failed Deployments
Merging everything into the same YAML definition
Updating multiple objects
Scaling Deployments
Kubernetes Deployments compared to Docker Swarm stacks
Using Ingress to Forward Traffic
Creating a cluster
Exploring deficiencies when enabling external access through Kubernetes services
Enabling Ingress controllers
Creating Ingress Resources based on paths
Creating Ingress resources based on domains
Creating an Ingress resource with default backends
Kubernetes Ingress compared to Docker Swarm equivalent
Using Volumes to Access Host's File System
Accessing host's resources through hostPath volumes
Using hostPath volume type to inject configuration files
Using gitRepo to mount a Git repository
Persisting state through the emptyDir volume type
Using ConfigMaps to Inject Configuration Files
Injecting configurations from files
Injecting configurations from key/value literals
Injecting configurations from environment files
Converting ConfigMap output into environment variables
Defining ConfigMaps as YAML
A plea NOT to use ConfigMaps!
Kubernetes ConfigMaps compared to Docker Swarm configs
Using Secrets to Hide Confidential Information
Exploring built-in Secrets
Creating and mounting generic Secrets
Secrets compared to ConfigMaps
Not so secretive Secrets
Kubernetes Secrets compared to Docker Swarm Secrets
Dividing a Cluster into Namespaces
Deploying the first release
Exploring virtual clusters