Tens of thousands of developers have learned how to develop and run a Kubernetes environment from Kubernetes in Action. This new second edition updates the definitive guide with new, in-depth coverage of the Kubernetes architecture, including the Kubernetes API, and then ins-and-outs of application deployment.
As more and more applications are created using cloud-native and container-based architectures, Kubernetes has become an essential tool for modern developers to master. This book lays out a complete introduction to container technologies and containerized applications along with practical tips for efficient deployment and operation. From building your first cluster, you'll steadily expand your initial application, adding features and deepening your knowledge of Kubernetes architecture.
In it, you'll find:
• Up and running with Kubernetes
• Deploying containers across a cluster
• Securing clusters
• Updating applications with zero downtime
About the technology
Kubernetes is the de facto standard for deploying containerized distributed applications. This powerful platform acts as an operating system for containers and clusters, reducing the need to micro-manage network and server infrastructure. Used daily by millions of developers, administrators, and architects, Kubernetes is must-know enterprise software.
About the book
Kubernetes in Action, Second Edition is the definitive guide to developing and deploying software with Kubernetes. Built on the bestselling first edition, this end-to-end revision provides up-to-date coverage on structuring Kubernetes-based applications and taking advantage of the Kubernetes API. You'll also discover other key topics like configuration, attaching storage, scaling, and zero-downtime maintenance.
What's inside
• Up and running with Kubernetes
• Deploying containers across a cluster
• Updating applications safely
About the reader
Written for intermediate software developers. No prior experience with Kubernetes or containers is required.
About the author
Marko Lukša is an independent software engineer specializing in cloud-native technologies. Kevin Conner is a Senior Principal Software Engineer at Red Hat, focussed on cloud technologies and software supply chain security.
Table of Contents
Part 1
1 Introducing Kubernetes
2 Understanding containers and containerized applications
3 Deploying your first application on Kubernetes
4 Navigating the Kubernetes API and object model
Part 2
5 Running applications with pods
6 Managing the pod life cycle and container health
7 Organizing pods and other resources using namespaces and labels
Part 3
8 Configuring applications with ConfigMaps and Secrets
9 Adding volumes for storage, configuration, and metadata
10 Persisting data with PersistentVolumes
Part 4
11 Exposing pods with services
12 Using Ingress to route traffic to services
13 Routing traffic using the Gateway API
Part 5
14 Scaling and maintaining pods with ReplicaSets
15 Automating application updates with Deployments
16 Handling stateful applications with StatefulSets
17 Deploying per-node workloads with DaemonSets
Autorentext
Marko Luksa
Klappentext
Summary
Kubernetes in Action is a comprehensive guide to effectively developing and running applications in a Kubernetes environment. Before diving into Kubernetes, the book gives an overview of container technologies like Docker, including how to build containers, so that even readers who haven't used these technologies before can get up and running.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Kubernetes is Greek for "helmsman," your guide through unknown waters. The Kubernetes container orchestration system safely manages the structure and flow of a distributed application, organizing containers and services for maximum efficiency. Kubernetes serves as an operating system for your clusters, eliminating the need to factor the underlying network and server infrastructure into your designs.
About the Book
Kubernetes in Action teaches you to use Kubernetes to deploy container-based distributed applications. You'll start with an overview of Docker and Kubernetes before building your first Kubernetes cluster. You'll gradually expand your initial application, adding features and deepening your knowledge of Kubernetes architecture and operation. As you navigate this comprehensive guide, you'll explore high-value topics like monitoring, tuning, and scaling.
What's Inside
- Kubernetes' internals
- Deploying containers across a cluster
- Securing clusters
- Updating applications with zero downtime
About the Reader
Written for intermediate software developers with little or no familiarity with Docker or container orchestration systems.
About the Author
Marko Luksa is an engineer at Red Hat working on Kubernetes and OpenShift.
Table of Contents
- Introducing Kubernetes
- First steps with Docker and Kubernetes
- Pods: running containers in Kubernetes
- Replication and other controllers: deploying managed pods
- Services: enabling clients to discover and talk to pods
- Volumes: attaching disk storage to containers
- ConfigMaps and Secrets: configuring applications
- Accessing pod metadata and other resources from applications
- Deployments: updating applications declaratively
- StatefulSets: deploying replicated stateful applications
- Understanding Kubernetes internals
- Securing the Kubernetes API server
- Securing cluster nodes and the network
- Managing pods' computational resources
- Automatic scaling of pods and cluster nodes
- Advanced scheduling
- Best practices for developing apps
- Extending Kubernetes