封面
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)
What now?
Scaling Pods With ReplicaSets
Creating a Cluster
Creating ReplicaSets
Operating ReplicaSets
What now?
Using Services to Enable Communication between Pods
Creating a Cluster
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
What now?
Kubernetes Pods ReplicaSets and Services compared to Docker Swarm stacks
Deploying Releases with Zero-Downtime
Creating a Cluster
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
What now?
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
What now?
Kubernetes Ingress compared to Docker Swarm equivalent
Using Volumes to Access Host's File System
Creating a cluster
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
What now?
Using ConfigMaps to Inject Configuration Files
Creating a cluster
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!
What now?
Kubernetes ConfigMaps compared to Docker Swarm configs
Using Secrets to Hide Confidential Information
Creating a Cluster
Exploring built-in Secrets
Creating and mounting generic Secrets
Secrets compared to ConfigMaps
Not so secretive Secrets
What now?
Kubernetes Secrets compared to Docker Swarm Secrets
Dividing a Cluster into Namespaces
Creating a Cluster
Deploying the first release
Exploring virtual clusters
Exploring the existing Namespaces
Deploying to a new Namespace
Communicating between Namespaces
Deleting a Namespace and all its Objects
What now?
Kubernetes Namespaces compared to Docker Swarm equivalent (if there is any)
Securing Kubernetes Clusters
Accessing Kubernetes API
Authorizing requests
Creating a Cluster
Creating users
Exploring RBAC authorization
Peeking into pre-defined Cluster roles
Creating Role bindings and Cluster Role bindings
Replacing Users with Groups
What now?
Kubernetes RBAC compared to Docker Swarm RBAC
Managing Resources
Creating a cluster
Defining container memory and CPU resources
Measuring actual memory and CPU consumption
Exploring the effects of discrepancies between resource specifications and resource usage
Adjusting resources based on actual usage
Exploring quality of service (QoS) contracts
Defining resource defaults and limitations within a namespace
Defining resource quotas for a namespace
What now?
Kubernetes resource management compared to docker swarm equivalent
Creating a Production-Ready Kubernetes Cluster
What is kubernetes operations (kops) project?
Preparing for the cluster setup
Creating a kubernetes cluster in AWS
Exploring the components that constitute the cluster
Updating the cluster
Upgrading the cluster manually
Upgrading the cluster automatically
Accessing the cluster
Deploying applications
Exploring high-availability and fault-tolerance
Giving others access to the cluster
Destroying the cluster
What now?
Kubernetes operations (kops) compared to Docker for AWS
Persisting State
Creating a Kubernetes cluster
Deploying stateful applications without persisting state
Creating AWS volumes
Creating Kubernetes persistent volumes
Claiming persistent volumes
Attaching claimed volumes to Pods
Using storage classes to dynamically provision persistent volumes
Using default storage classes
Creating storage classes
What now?
The End
Contributions
Other Books You May Enjoy
更新时间:2021-08-13 15:41:38