更新时间:2021-06-24 13:47:56
coverpage
Title Page
Copyright and Credits
Hands-On Microservices with Kubernetes
About Packt
Why subscribe?
Contributors
About the author
About the reviewers
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Introduction to Kubernetes for Developers
Technical requirements
Installing Docker
Installing kubectl
Installing Minikube
The code
Kubernetes in a nutshell
Kubernetes – the container orchestration platform
The history of Kubernetes
The state of Kubernetes
Understanding the Kubernetes architecture
The control plane
The API server
The etcd store
The scheduler
The controller manager
The data plane
The kubelet
The kube proxy
The container runtime
Kubectl
Kubernetes and microservices – a perfect match
Packaging and deploying microservices
Exposing and discovering microservices
Securing microservices
Namespaces
Service accounts
Secrets
Secure communication
Network policies
Authenticating and authorizing microservices
Role-based access control
Upgrading microservices
Scaling microservices
Monitoring microservices
Logging
Metrics
Creating a local cluster
Troubleshooting Minikube
Verifying your cluster
Playing with your cluster
Installing Helm
Summary
Further reading
Getting Started with Microservices
Installing Go with Homebrew on macOS
Installing Go on other platforms
Programming in the small – less is more
Making your microservice autonomous
Employing interfaces and contracts
Exposing your service via APIs
Using client libraries
Managing dependencies
Coordinating microservices
The uniformity versus flexibility trade-off
Taking advantage of ownership
Understanding Conway's law
Vertical
Horizontal
Matrix
Troubleshooting across multiple services
Utilizing shared service libraries
Choosing a source control strategy
Monorepo
Multiple repos
Hybrid
Creating a data strategy
One data store per microservice
Running distributed queries
Employing Command Query Responsibility Segregation
Employing API composition
Using sagas to manage transactions across multiple services
Understanding ACID
Understanding the CAP theorem
Applying the saga pattern to microservices
Delinkcious - the Sample Application