Praise for Cloud Native DevOps with Kubernetes
Cloud Native DevOps is an essential guide to operating todays distributed systems. A super clear and informative read, covering all the details without compromising readability. I learned a lot, and definitely have some action points to take away!
Will Thames, Platform Engineer, Skedulo
The most encompassing, definitive, and practical text about the care and feeding of Kubernetes infrastructure. An absolute must-have.
Jeremy Yates, SRE Team, The Home Depot QuoteCenter
I wish Id had this book when I started! This is a must-read for everyone developing and running applications in Kubernetes.
Paul van der Linden, Lead Developer, vdL Software Consultancy
This book got me really excited. Its a goldmine of information for anyone looking to use Kubernetes, and I feel like Ive levelled up!
Adam McPartlan (@mcparty), Senior Systems Engineer, NYnet
I really enjoyed reading this book. Its very informal in style, but authoritative at the same time. It contains lots of great practical advice. Exactly the sort of information that everybody wants to know, but doesnt know how to get, other than through first-hand experience.
Nigel Brown, cloud native trainer and course author
Cloud Native DevOps with Kubernetes
by John Arundel and Justin Domingus
Copyright 2019 John Arundel and Justin Domingus. All rights reserved.
Printed in the United States of America.
Published by OReilly Media, Inc. , 1005 Gravenstein Highway North, Sebastopol, CA 95472.
OReilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://oreilly.com). For more information, contact our corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com .
Acquisitions Editor: Rachel Roumeliotis | Developmental Editors: Virginia Wilson and Nikki McDonald |
Production Editor: Nan Barber | Copyeditor: Kim Cofer |
Proofreader: Amanda Kersey | Indexer: Judith McConville |
Interior Designer: David Futato | Cover Designer: Karen Montgomery |
Illustrator: Rebecca Demarest |
- February 2019: First Edition
Revision History for the First Edition
- 2019-01-24: First Release
- 2019-03-08: Second Release
See http://oreilly.com/catalog/errata.csp?isbn=9781492040767 for release details.
The OReilly logo is a registered trademark of OReilly Media, Inc. Cloud Native DevOps with Kubernetes, the cover image, and related trade dress are trademarks of OReilly Media, Inc.
The views expressed in this work are those of the authors, and do not represent the publishers views. While the publisher and the authors have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the authors disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights.
This work is part of a collaboration between OReilly and NGINX. See our statement of editorial independence (http://www.oreilly.com/about/editorial_independence.html).
978-1-492-04076-7
[LSI]
Foreword
Welcome to Cloud Native DevOps with Kubernetes.
Kubernetes is a real industry revolution. Just a brief look at the Cloud Native Computing Foundations Landscape, which contains data about more than 600 projects that exist in the cloud native world today, highlights the importance of Kubernetes these days. Not all these tools were developed for Kubernetes, not all of them can even be used with Kubernetes, but all of them are part of the huge ecosystem where Kubernetes is one of the flagship technologies.
Kubernetes changed the way applications are developed and operated. Its a core component in the DevOps world today. Kubernetes brings flexibility to developers and freedom to operations. Today you can use Kubernetes on any major cloud provider, on bare-metal on-premises environments, as well as on a local developers machine. Stability, flexibility, a powerful API, open code, and an open developer community are a few reasons why Kubernetes became an industry standard, just as Linux is a standard in the world of operating systems.
Cloud Native DevOps with Kubernetes is a great handbook for people who are performing their day-to-day activities with Kubernetes or are just starting their Kubernetes journey. John and Justin cover all the major aspects of deploying, configuring, and operating Kubernetes and the best practices for developing and running applications on it. They also give a great overview of the related technologies, including Prometheus, Helm, and continuous deployment. This is a must-read book for everyone in the DevOps world.
Kubernetes is not just yet another exciting tool; it is an industry standard and the foundation for next-generation technologies including serverless (OpenFaaS, Knative) and machine learning (Kubeflow) tools. The entire IT industry is changing because of the cloud native revolution, and its hugely exciting to be living through it.
Ihor Dvoretskyi
Developer Advocate, Cloud Native Computing Foundation
December 2018
Preface
In the world of IT operations, the key principles of DevOps have become well understood and widely adopted, but now the landscape is changing. A new application platform called Kubernetes has become rapidly adopted by companies all over the world and in all kinds of different industries. As more and more applications and businesses move from traditional servers to the Kubernetes environment, people are asking how to do DevOps in this new world.
This book explains what DevOps means in a cloud native world where Kubernetes is the standard platform. It will help you select the best tools and frameworks from the Kubernetes ecosystem. It will also present a coherent way to use those tools and frameworks, offering battle-tested solutions that are running right now, in production, for real.
What Will I Learn?
Youll learn what Kubernetes is, where it comes from, and what it means for the future of software development and operations. Youll learn how containers work, how to build and manage them, and how to design cloud native services and infrastructure.
Youll understand the trade-offs between building and hosting Kubernetes clusters yourself, and using managed services. Youll learn the capabilities, limitations, and pros and cons of popular Kubernetes installation tools such as kops, kubeadm, and Kubespray. Youll get an informed overview of the major managed Kubernetes offerings from the likes of Amazon, Google, and Microsoft.
Youll get hands-on practical experience of writing and deploying Kubernetes applications, configuring and operating Kubernetes clusters, and automating cloud infrastructure and deployments with tools such as Helm. Youll learn about Kubernetes support for security, authentication, and permissions, including Role-Based Access Control (RBAC), and best practices for securing containers and Kubernetes in production.
Youll learn how to set up continuous integration and deployment with Kubernetes, how to back up and restore data, how to test your cluster for conformance and reliability, how to monitor, trace, log, and aggregate metrics, and how to make your Kubernetes infrastructure scalable, resilient, and cost-effective.